Telerik blogs

Latest

  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part IV: Making an OData feed from your Domain Service

    Read the other posts in this series: Part I Part II Part III In the previous blog posts listed above, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. I showed how to build your own Domain Service, build custom query methods, and make a metadata class. In this post I will show how to expose your Domain Service as an OData feed. The Open Data Protocol (OData) is a Web protocol for querying and updating data in a RESTful fashion. You create OData feeds when you want to set up feeds for 3rd parties to consume, typically without your knowledge. For example...
    May 27, 2021 3 min read
  • Productivity

    Using Telerik’s new LINQ implementation with WCF RIA Services Part III: Adding a Metadata Class

    Read the other posts in this series: Part I Part II In the previous blog posts listed above, I showed how Telerik’s new LINQ implementation works with WCF RIA Services. I showed how to build your own Domain Service as well as build custom query methods. In this post I will show how to build a metadata class. (Note: future versions of the OpenAccess LINQ Implementation will produce the metadata class for you automatically.) The WCF RIA Services metadata class is a separate class from the DomainService that contains information about the entities. In this class you can write custom validation logic, set attributes of the...
    May 27, 2021 4 min read
  • 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 3 min read