Telerik blogs

Latest

  • Web

    Getting Started With LightSwitch and OpenAccess – Part 2

    In the last blog we looked at creating an OpenAccess domain model to expose to LightSwitch.  In this blog we continue down the path of integrating OpenAccess and LightSwitch.  Today we will set up an OpenAccess Domain Service that can be consumed by LightSwitch. Creating the Service The first thing we need to do is add a new “WCF RIA Service Class Library” to our solution:   This will add a new folder to our solution containing 2 projects, one is the RIA Service library(Demo.OALightSwitch.Web), and the other is a Silverlight client project(which we can ignore for these blogs).    After we add the new projects, we...
    September 21, 2010
  • Web

    Getting Started With LightSwitch and OpenAccess

    Over the next few blogs we will look at working with LightSwitch and OpenAccess, but first i would like to lay a little ground work. :) What is LightSwitch? LightSwitch is a new Microsoft tool enabling developers, and power users, to create multi-tier applications, quickly and easily.  Those of you familiar with Microsoft Access will find it gives you even more power to create application that are easy to maintain, and easy to distribute. Since the applications made with LightSwitch are Silverlight based, they are easily deployed in browser (3-tier), out of browser(3-tier), or directly to the desktop(2-tier).  What Do I Need? To get...
    September 21, 2010
  • Web ASP.NET MVC

    Output Caching and Telerik Extensions for MVC

    When we pushed out Telerik TV, we ran into an interesting style issue.  We were using output caching on our index page to save the server a little work.  However, sometimes when a user navigated to tv.telerik.com/home it would look like this: This problem would only manifest itself on the production server, and shockingly there were no errors! By looking at the source of the page we quickly realized that neither the StyleSheetRegistrar, nor the ScriptRegistrar were outputting anything at all.  This made it clear that the Render method on the StyleSheetRegistrar / ScriptRegistrar was not firing, or something was causing them...
    September 16, 2010
  • Web

    5+ Ways to Reduce your .Xap Size

    Being Silverlight developer means that we are also kind of web developers. From this point of view, we also have to think about the web traffic that our applications generate. We need to reduce it as much as possible. So basically we need to reduce the size of the application's output - the .xap file. In this post I'll try to summarize the five ways to reduce the size of a xap that I've shared today with Sofia's Silverlight User Group. Understanding the Xap In order to reduce the size of a xap file, we should first be aware of its structure. Basically it can contain only 4 things: AppManifest.xaml -...
    September 15, 2010
  • Web

    Nesting Prism Regions using RadRibbonBar

    This post is update to my first post about "Decouple RadRibbonBar with Composite Silverlight (Prism)" (Read More). Nesting Regions in Prism could sound weird to someone, but the demand for this is growing. Check this forum post for more info. As a result to this post I've decided to update my previous example project. I've started by marking the one of the RibbonTabs as a Region as well, giving it a name...
    September 02, 2010