Telerik blogs

Latest

  • Productivity

    4 Steps to Profile Your Apps

    JustTrace makes profiling your application easy. Just follow these four steps and you will soon be on your way to identifying and removing memory leaks and performance issues. Keep in mind, profiling is best done regularly so you can detect unusual behavior early and avoid problems before they manifest. Follow these four steps to profile your applications with JustTrace: Assess, Acquire, Analyze, and Act.  Step 1: Assess Determine what kind of issue you have. Is your application’s memory continuously growing while running? You have a memory leak. Do some parts of your application take too long to run? You have a performance...
    May 27, 2021 4 min read
  • Productivity

    Why Mocking Matters

    How does mocking benefit me?  That’s a question I hear a lot as I travel around the world giving talks.  So before we dive into how to use a mocking tool like JustMock, let’s discuss why this is important and the benefit that mocking provides over other techniques like Fakes. In my post on Why SOLID Matters, we refactored a small piece of code to be more SOLID.  Granted, it was a simplistic example, but good for illustrating several key points on SOLID.  We will continue using the same code to discuss the benefits of Mocking.  As a refresher, we ended...
    May 27, 2021 10 min read
  • Productivity

    Telerik OpenAccess ORM Meets ASP.NET Web API

    Microsoft has recently released their latest technology helping the N-Tier development – the ASP.NET Web API framework. If you haven’t had the opportunity to experience this new platform built around the HTTP protocol, here we try to address some of the key points about Web API services as answers to the most common questions you might be already asking:  What is Web API? ASP.NET Web API is the latest platform provided by Microsoft for creating HTTP-based services.  When can I use Web API? The Web API framework is not limited to any kind of architecture. You can build REST services on top of it or...
    May 27, 2021 3 min read
  • Productivity Testing

    Getting Started with NUnit, NUnit.Should, and JustMock

    Technorati Tags: TDD,Test Driven Development,JustMock,JustCode,NUnit,NUnit.Should,Mocking Before diving into mocking with JustMock, it’s important to note that JustMock is a mocking framework, and not a testing framework.  Test frameworks allow for creating Test Fixtures, which are .NET classes decorated with the appropriate attributes so they are picked up by a Test Runner.  Test are created within a Test Fixture by writing methods (with the appropriate attributes) that exercise your code (also referred to as the System Under Test) and report the results.  Test Runners are programs that will run your tests.  There are many free testing frameworks available for .NET developers, including MSTest (included...
    February 01, 2022 12 min read
  • Productivity

    Telerik OpenAccess ORM - Database Naming Settings

    We, the OpenAccess ORM team, believe that an ORM solution should not only be easy to use and time-saving, but also flexible enough to reflect your needs. For instance, it is important that the names we generate comply exactly with your conventions, rather than being enforced. For that purpose we have provided the Naming Settings dialog a while ago, offering various naming options for the model on Class, Property and Field level. Now we are proud to present the new flexibility we have exposed for generating the names of the tables and columns in your database - the Database Names...
    May 27, 2021 2 min read