30 seconds from File|New to a new CRUD Silverlight application with Teleriks new LINQ Implementation

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Tue, 13 Apr 2010 00:00:00 GMT Indexed on 2010/04/13 16:53 UTC
Read the original article Hit count: 671

Filed under:

Last month Telerik released its new LINQ implementation and last week we released the new Data Services Wizard for Telerik OpenAccess, which supports both traditional OpenAccess entities and the new LINQ implementation. I will a walk you through the process where you can connect to a database, add a new domain model, wrap it in a new WCF Data Services (Astoria) service, and add a CRUD enabled Silverlight application. All in 30 seconds!

Step 1: Build your Domain Model (20 seconds)

Open Visual Studio 2010 RTM (or 2008) and add a new ASP.NET project. Right click on the project and select Add|New Item and choose Telerk OpenAccess Domain Model from the item template list.

image

The Visual Entity Designer wizard comes up. Select the database server you are using in the first screen (SQL Server, Oracle, SQL Azure, MySQL, etc) and then also build your database connection string.

image

Next select the tables, views, and stored procedures you want ...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner