« ADO Data Services - Testing Feeds with Internet Explorer | Main | Vista UAC / Drive Access Denied »

Dynamic Data - Choosing the right template

If you plan to kick the tires on ASP.NET Dynamic Data  you need to make sure you pick the right project template for the if your using LINQ to SQL or Entity Framework.  As you can see in the following New Project Dialog, there are two templates but you can easily pick the wrong one if you do it in a hurry.

image

One telling sign that you picked the wrong template would be you get errors doing some of the basic things like trying to list the data.  The following is an example of what happens when you pick the Dynamic Data Web Application project which is intended to work with LINQ to SQL and instead hook it up to a Entity Framework data model.

"The method 'Skip' is only supported for sorted input in LINQ to Entities"

The correct template would have been the Dynamic Data Entities Web application.

If you haven't taken a look at Dynamic Data yet, take a couple minutes and watch one of the intro videos here.

Posted on Tuesday, May 20, 2008 at 11:00PM by Registered CommenterDavid Yack | CommentsPost a Comment

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>