ASP.NET Dynamic Data Fundamentals
This tutorial introduces you to Dynamic Data and Entity Framework 4.0 by building a simple application using Visual Studio 2010 and C#
What you'll learn
In this tutorial, we build a simple campaign management application using Dynamic Data and EF 4. We start by modeling our business domain using the Model-First approach, and see how to access data using familiar ASP.NET pages. Then we move on to exploring the Dynamic Data infrastructure and learn to customize it to our specific needs. Next we drill down into Dynamic Data controls and learn how to use them in custom web pages. We also learn how to add validation and business rules to our application. Finally we set out to improve our architecture by achieving better separation of concerns.
Table of contents
- Intro, outline 2m
- Annotating a data model type 5m
- Examining the inner workings of a field template 2m
- Customizing a read-only field template 6m
- Customizing an edit field template 8m
- Customizing presentation with model attributes 3m
- Using validation attributes 4m
- Using the DisplayAttribute 2m
- Specifying field data types 2m
- Intro, outline 2m
- Defining the business rules 4m
- Extending the SavingChanges handler 4m
- Implementing status change validation rules 9m
- Overriding the SaveChanges method 5m
- Defining a custom SavedChanges event 4m
- Implementing company status calculation rules 10m
- Implementing status change logging rules 2m
- Intro, outline 3m
- Configuring a Dynamic Data Domain Service application 6m
- Setting up the web form client 5m
- Adding custom operations in the Domain Service 3m
- Adding and configuring DomainDataSource controls 2m
- Connecting Dynamic Data with the DomainDataSource 5m
- Retrieving and displaying related entities 3m
- Moving the business logic to the service layer 9m
- Reimplementing post-save logic in the service layer 6m