Telerik blogs
  • Release

    Service Pack for JustCode Q2 released

      This week we release a service pack for JustCode Q2 2010. You can get the full details about the release here, but I wanted to point out a few highlights that might be of interest. New auto-updating functionality This service pack improves the current auto-updating functionality with the addition of one new option. By now you could get notifications only when a new official release or service pack was available. With this new option you will get notified for available internal builds as well. By default it is on, but if prefer to stick only to the official released versions you can switch...
    August 26, 2010
  • Productivity

    JustMock. The tale continues... (Part 4)

    Last time we saw how to inject code in properties and static methods (including ones defined in static types). So far we are able to inject code in most common scenarios. In rare cases there is a need to isolate methods from mscorlib. In this post I will show you how do to this. Let's start with a demo program that I will explain in...
    August 03, 2010
  • Productivity

    Mocking LINQ to SQL [Continued…] using RLINQ

    After making the post on mocking LINQ to SQL, this morning i was having a chat with Stephen forte and come to know that telerik a has product named RLINQ. RLINQ is built on top of OpenAccess and it supports variety of databases. Being curious, i thought of giving a spin with it and may be try to mock its LINQ to SQL implementation using JustMock.   Now, before i start, i also found that OpenAccess has a free / express version that works on top express database [Ex.sqlexpress] but supports all the features that full version offers. I will be using the...
    July 29, 2010
  • Productivity

    JustMock. The tale continues... (Part 3)

    Last time we saw how we can inject code at the beginning of generic methods. Today I will show you how to inject code in properties. I will cover the syntax for static classes as well. So, let's start with a demo program that I will explain line-by-line. using System; using Telerik.CodeWeaver.Hook;   namespace ConsoleApplication4 {     public sealed class TargetClass1     {         public TargetClass1(string text)         {             Text = InitText = text;         }           public string InitText { get; private set;...