Welcome!

Silverlight Authors: Michael Sheehan, Hovhannes Avoyan, Yeshim Deniz, Maureen O'Gara, Mark O'Neill

Related Topics: .NET, Silverlight

.NET: Blog Feed Post

ASP.NET Dynamic Data

Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 19

Still have good fun updating my simple Mix 09 Business Application demo.  In this part, I wanted to consider how we might build the admin site of our site.. Because it is just for a very small number of trusted users, I’d like to get something up and running quickly.  I’d also like to share all by business logic and validation code between the Silverlight client and the WebAdmin site.

You can see the full series here.

The demo requires (all 100% free and always free):

  1. VS2008 SP1
  2. Silverlight 3 RTM
  3. .NET RIA Services July '09 Preview
  4. ASP.NET Dynamic Data Preview 4 Refresh

Also, download the full demo files

For this part we are going to focus on building out a WebAdmin page using ASP.NET Dynamic Data.  Dynamic Data makes it very easy… dare I say trival to build out a data-driven web application.  The great thing is that it is super easy to extend and custom the application incrementally.  Today’s Dynamic Data builds on top of Entity Framework and LinqToSql directly… With .NET RIA Services support, you can now work with any data source (as I have shown POCO, DataSet, WCF, Astoria, DTOs) as well as model your business\validation logic in a common way. 

image

To start with, grab the DomainServiceProject from the ProjectTemplates direction in the ASP.NET Dynamic Data Preview 4 Refresh download.  You can add this solution to your project or, as I did, merge it into an existing solution.  If you do the merge option, be sure the get the code in web.config, global.asax, and the DynamicData directory.

Read the original blog entry...

More Stories By Brad Abrams

Brad Abrams is currently the Group Program Manager for the UI Framework and Services team at Microsoft which is responsible for delivering the developer platform that spans both client and web based applications, as well as the common services that are available to all applications. Specific technologies owned by this team include ASP.NET, Atlas and Windows Forms. He was a founding member of both the Common Language Runtime, and .NET Framework teams.

Brad has been designing parts of the .NET Framework since 1998 when he started his framework design career building the BCL (Base Class Library) that ships as a core part of the .NET Framework. He was also the lead editor on the Common Language Specification (CLS), the .NET Framework Design Guidelines, the libraries in the ECMA\ISO CLI Standard, and has been deeply involved with the WinFX and Windows Vista efforts from their beginning.

He co-authored Programming in the .NET Environment, and was editor on .NET Framework Standard Library Annotated Reference Vol 1 and Vol 2 and the Framework Design Guidelines.