Sunday, September 21, 2014

ASP.NET Dynamic Data Fundamentals

Pluralsight – ASP.NET Dynamic Data Fundamentals
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 content

  • Creating the data model
    • Intro, the business domain
    • The Model-First approach
    • Modeling associations
    • Adding a complex property
    • Many-to-many associations
    • Entity Inheritance
    • Viewing the CSDL schema
    • Generating the storage model
    • Customizing the mappings
    • Viewing the logical schema
  • Interacting with the EF from a web page using LINQ to Entities
    • Intro, offline changes
    • Understanding the object layer
    • Displaying data in a web page
    • Adding filtering capability
    • Populating foreign key lists
    • Creating a new entity instance
    • Handling associations
  • Configuring and customizing a Dynamic Data website
    • Intro, outline
    • Configuring the Dynamic Data website
    • Customizing page templates
    • Mapping field templates
    • Displaying complex properties
    • Customizing entity templates
    • Customizing entity templates – cont.
  • Customizing the scaffold web application in the data model
    • Intro, outline
    • Annotating a data model type
    • Examining the inner workings of a field template
    • Customizing a read-only field template
    • Customizing an edit field template
    • Customizing presentation with model attributes
    • Using validation attributes
    • Using the DisplayAttribute
    • Specifying field data types
  • Using the Entity Data Source control
    • Intro, outline
    • Displaying data with the EDS
    • Setting the Where property
    • Using the Include property
    • Displaying fields in related tables
    • Implementing mutliple deletes (EF)
    • Working with related tables
    • Updating data with EDS and FormView
  • Filtering Data using Dynamic Data controls
    • Intro, outline
    • Using the Dynamic Filter control
    • Customizing a filter template
    • Using the QueryableFilterRepeater control
    • Auto filtering vs advanced filtering scenarios
    • Creating and populating an advanced search form
    • Using SearchExpression and RangeExpression declaratively
  • Implementing Advanced Filtering Scenarios
    • Intro, outline
    • Custom filtering with the CustomExpression control
    • Filtering based on an inheritance relationship
    • Filtering on the fields of a derived entity type
    • Programmatically creating a QueryExtender expression
  • Inserting, updating and implementing custom validation
    • Intro, outline
    • Validating input in the presentation layer
    • Single field custom validation in the data layer
    • Multiple field custom validation in the data layer
  • Implementing business rules
    • Intro, outline
    • Defining the business rules
    • Extending the SavingChanges handler
    • Implementing status change validation rules
    • Overriding the SaveChanges method
    • Defining a custom SavedChanges event
    • Implementing company status calculation rules
    • Implementing status change logging rules
  • From 2-tier to 3-tier with WCF RIA Services
    • Intro, outline
    • Configuring a Dynamic Data Domain Service application
    • Setting up the web form client
    • Adding custom operations in the Domain Service
    • Adding and configuring DomainDataSource controls
    • Connecting Dynamic Data with the DomainDataSource
    • Retrieving and displaying related entities
    • Moving the business logic to the service layer
    • Reimplementing post-save logic in the service layer     


Contact Form


Email *

Message *

Copyright © 2013
Designed By Blogger Templates