Telerik blogs

Latest

  • Web

    Getting Started with LightSwitch and OpenAccess – Part 3

    In my last blog we learned how to create an OpenAccess Domain Service that can be consumed by LightSwitch.  In this post we will continue down this path, and get the service loaded as a data source in a LightSwitch application. Adding the Service Our first task today is to add a LightSwitch Project to our solution. Do this through the standard “Add New Project” dialog.  You should see “LightSwitch” as one of the installed templates in the tree view on the left.  Select C#/VB, give the project a name, and click Ok.   Our solution explorer should now look like this:   Right click on “Data...
    September 23, 2010
  • Web

    Building a Data Warehouse Part II: Building a new schema

    [repost from Stephen Forte's Blog] In Part I: When to build your data warehouse we looked at when you should build your data warehouse and concluded that you should build it sooner rather than later to take advantage of reporting and view optimization. Today we will look at your options to build your data warehouse schema. When architecting a data warehouse, you have two basic options: build a flat “reporting” table for each operation you are performing, or build with BI/cubes in mind and implement a “star” or “snowflake” schema. Let’s take a quick look at the first option and then we will take a look at...
    September 22, 2010
  • 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