June 17, 2008

ASP.NET Dynamic Data Support

This is added in ASP.NET 3.5 version as part of asp.net extensions.
That means when you install VS2008 you get all in built templates.
In order to work with dynamic data support you need to install a separate plug in to get dynamic data website template.
In order to get this template download and install
ASP.Net future extensions. This will install
ADO.NET entity framework 1.0 And ASP.NET 3.5 extensions CTP.

This enables us to build data driven web-sites that work against a LINQ to SQL object model or Entity Framework data model that allows us to this without having to build any pages manually.

The DetailsView and GridView controls have been improved to display fields by using templates instead of by using hard-coded rules that are programmed using traditional approach. These templates are part of the project, and we can customize them to change their appearance or to specify controls they use for rendering. This saves a lot of time and maintenance is also very easy. Dynamic Data will then automatically build the UI for these controls based on the templates that we specify.

Validation is also improved in the controls too. The controls read metadata for a LINQ to SQL or Entity Framework data model and provide automatic validation based on the model. For example, if a column in the database is limited to 50 characters, and if a column is marked as not nullable, a RequiredFieldValidator control is automatically enabled for the column.

2 comments:

rksistu said...

hi ..
Do you still use free service like blogspot.com or wordpress.com but
they have less control and less features.
shift to next generation blog service which provide free websites for
your blog at free of cost.
get fully controllable (yourname.com)and more features like
forums,wiki,CMS and email services for your blog and many more free
services.
hundreds reported 300% increase in the blog traffic and revenue
join next generation blogging services at www.hyperwebenable.com
regards
www.hyperwebenable.com

Anonymous said...

your site is very nice ...
this is very helpful and attractive.
visit for asp.net help asp.net help