Telerik blogs

Latest

  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part II: Query Methods

    In my last blog post, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. In that post I built a Domain Model from the Northwind database as well as a RIA Services Domain Service. I then showed the drag and drop features of RIA Services and created a simple Silverlight application with no code. Today we are going to take that example one step further by creating some custom server side Query Methods. A query method is just a facility to query a data source. In RIA Services, you define a query method explicitly so it can be used on the client. This is pretty straight forward...
    June 18, 2010 9 min read
  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services: Part I

    With the Q1 release of Telerik OpenAccess ORM, Telerik released a brand new LINQ Implementation and supporting Visual Entity Designer. With the upcoming Q2 release next month, we will introduce full WCF RIA Services support. If you want to get started now you can wire up the services yourself pretty easily. Let’s take a look at how to get your feet wet with RIA Services and Telerik’s LINQ implementation. Before you get started, you will need a few things installed: Visual Studio 2010 Silverlight 4 WCF RIA Services for Visual Studio 2010 Northwind sample database Telerik OpenAccess ORM Q1 Service Pack 1 or higher Getting Started: The Easy Stuff Let’s create a new Silverlight...
    June 17, 2010 5 min read
  • Productivity

    Telerik Assembly Minifier

    What is it? Telerik Assembly Minifier is a tool that lets you extract only the controls’ classes and resources you need to use in your application development, thus significantly reducing the size of the assemblies. Using the Assembly Minifier you will achieve significantly better loading time when the XAP files containing the minified (optimized) assemblies are to be loaded on the client side. Reducing (minifying) the size of Telerik Silverlight assemblies In order to minify the assemblies, you should: Open the application at: http://minifier.telerik.com. Browse and upload Telerik Silverlight Assemblies, the ones that you want to optimize. See the tips at the bottom, for more information on uploading. After you select...
    June 10, 2010 3 min read
  • Productivity

    Mocking the File System to Improve Testability (with JustMock)

    Many applications require access to the file system to create, modify or delete files and folders. But how do you make sure that such application behaves correctly? You do it with tests of course but there is a catch: In general it is not a good idea to have tests that are performing Input/Output operations like accessing files and databases. When you need to test I/O operations mock objects are your friend. And before I go into more details let me point out some of the benefits of mocking. Usually faster than performing I/O operations You do not have have to deal...
    June 10, 2010 5 min read
  • Productivity

    Adding custom interfaces to your mock instance.

    Previously, i made a post  showing how you can leverage the dependent interfaces that is implemented by JustMock during the creation of mock instance. It could be a informative post that let you understand how JustMock behaves internally for classes or interfaces implement other interfaces into it. But the question remains, how you can add your own custom interface to your target mock. In this post, i am going to show you just that. Today, i will not start with a dummy class as usual rather i will use two most common interfaces in the .NET framework  and create a mock...
    June 09, 2010 2 min read