Telerik blogs
  • Release

    Q2’10 Pre-Release Series: Greater Productivity with OpenAccess ORM and Round-trip Mapping

    With Q2 2010 Telerik OpenAccess ORM will raise the standard for data access productivity with the introduction of Round-trip Mapping for the Visual Designer for OpenAccess ORM. This feature will free developers from the constraints of having to choose between “forward” and “reverse” mapping approaches when creating a project and not being able to change this afterwards. Currently there is no strong integration between the two approaches in OpenAccess ORM. With Round-trip Mapping developers will be able to seamlessly employ either approach by reverse-mapping an existing schema then updating it by simply modifying the model classes or adding new ones. Simply...
    July 12, 2010
  • Desktop WPF

    Evaluated (Calculated) Column for WPF/Silverlight RadGridView with IronPython

    The Dynamic Language Runtime (more info here) is a great way to spice up those boring old CLR applications. Not only has the DLR helped bring the dynamic keyword to C# 4, but it helps Python and Ruby live on top of .NET. Using the DLR and IronPython, it's relatively easy to craft a calculated column, giving you the power to execute IronPython expressions over your data objects. What's more, you can import Python modules such as math, datetime, etc. You can download the source code for this example here. The exact same code can be used for both Silverlight and WPF....
  • Release

    Domain Validation with Q2 2010 RadGrid and RadListView for ASP.NET AJAX

    As we all know, user input validation is one of the key concerns when developing various types of applications. Best practices and common sense suggest that validation rules should be kept as close to the business logic/domain model as possible. Fortunately, with the addition of Model Validation support with the Q2 2010 release of RadGrid and RadListView for ASP.NET AJAX, this is even easier than before. Please find attached a quick sample which illustrates this improvement in combination with RIA Services DomainValidator and DomainDataSource controls.     Have fun!...
    July 12, 2010
  • Productivity

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

    Last time we talked about how to inject code at the beginning of a method. Today I will post how to inject code at the end of a method and I will cover some more complex scenarios as well. So lets start with sample program and then I will explain it in details. using System; using Telerik.CodeWeaver.Hook;   namespace ConsoleApplication2 {     sealed class MyClass     {         public void SayHello() { Console.WriteLine("Hello!"); }           public int SayHello(string name)         {             Console.WriteLine("Hello {0}!", LastName = name);             return (name ?? string.Empty).Length;         }           public string LastName { get; set; }           public int Increment10(ref int...
  • Productivity

    Team Transparency and TeamPulse

    In June, Stephen Forte wrote a great blog post on Transparency and Software Teams. As Stephen mentioned, Telerik has embraced transparency as a key practice of an effective Application Lifecycle Management (ALM) strategy. Quality is a result of feedback cycles – the tighter the feedback cycles on your team, the more ability your team has to recognize issues and resolve them early. In fact, at Telerik we went so far as to try to have almost real-time transparency with the release of our free Project Dashboard tool that sits on top of Microsoft Team Foundation Server. Our goal was ...
    July 12, 2010
  • Release

    Q2’10 Pre-Release Series: Greater Productivity with OpenAccess ORM and Round-trip Mapping

    With Q2 2010 Telerik OpenAccess ORM will raise the standard for data access productivity with the introduction of Round-trip Mapping for the Visual Designer for OpenAccess ORM. This feature will free developers from the constraints of having to choose between “forward” and “reverse” mapping approaches when creating a project and not being able to change this afterwards. Currently there is no strong integration between the two approaches in OpenAccess ORM. With Round-trip Mapping developers will be able to seamlessly employ either approach by reverse-mapping an existing schema then updating it by simply modifying the model classes or adding new ones. Simply...
    July 12, 2010
  • Desktop WPF

    Evaluated (Calculated) Column for WPF/Silverlight RadGridView with IronPython

    The Dynamic Language Runtime (more info here) is a great way to spice up those boring old CLR applications. Not only has the DLR helped bring the dynamic keyword to C# 4, but it helps Python and Ruby live on top of .NET. Using the DLR and IronPython, it's relatively easy to craft a calculated column, giving you the power to execute IronPython expressions over your data objects. What's more, you can import Python modules such as math, datetime, etc. You can download the source code for this example here. The exact same code can be used for both Silverlight and WPF....
  • Release

    Domain Validation with Q2 2010 RadGrid and RadListView for ASP.NET AJAX

    As we all know, user input validation is one of the key concerns when developing various types of applications. Best practices and common sense suggest that validation rules should be kept as close to the business logic/domain model as possible. Fortunately, with the addition of Model Validation support with the Q2 2010 release of RadGrid and RadListView for ASP.NET AJAX, this is even easier than before. Please find attached a quick sample which illustrates this improvement in combination with RIA Services DomainValidator and DomainDataSource controls.     Have fun!...
    July 12, 2010
  • Productivity

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

    Last time we talked about how to inject code at the beginning of a method. Today I will post how to inject code at the end of a method and I will cover some more complex scenarios as well. So lets start with sample program and then I will explain it in details. using System; using Telerik.CodeWeaver.Hook;   namespace ConsoleApplication2 {     sealed class MyClass     {         public void SayHello() { Console.WriteLine("Hello!"); }           public int SayHello(string name)         {             Console.WriteLine("Hello {0}!", LastName = name);             return (name ?? string.Empty).Length;         }           public string LastName { get; set; }           public int Increment10(ref int...
  • Productivity

    Team Transparency and TeamPulse

    In June, Stephen Forte wrote a great blog post on Transparency and Software Teams. As Stephen mentioned, Telerik has embraced transparency as a key practice of an effective Application Lifecycle Management (ALM) strategy. Quality is a result of feedback cycles – the tighter the feedback cycles on your team, the more ability your team has to recognize issues and resolve them early. In fact, at Telerik we went so far as to try to have almost real-time transparency with the release of our free Project Dashboard tool that sits on top of Microsoft Team Foundation Server. Our goal was ...
    July 12, 2010