(20.05.2009) Cumuy Presenta - Más tecnologías interesantes para conocer - PPT 2

Preview:

DESCRIPTION

(20.05.2009) Cumuy Presenta - Más tecnologías interesantes para conocer - PPT 2

Citation preview

ASP.net Dynamic Data

1

• Qué es ASP.net Dynamic Data?• Cuales son sus beneficios?• Demos DD• Qué es DD Preview 4?• Qué hay de nuevo en DD Preview 4?• Demos DD Preview 4• Como iniciar un proyecto con DD Preview 4?• Más demos • Q&A – al final

Agenda

• Framework that lets you create data-driven ASP.NET Web applications very easily

• Automatically discovering the data model at runtime and deriving UI behavior from it

• First released with .Net Framework 3.5 SP1

• Instalar fix para EF.

3

Qué es ASP.net Dynamic Data?

• Increased RAD development• Scaffolding

Minimal or no code Quick development time Pages completely functional Built-in data validation based on the database schema. Automatic filters that are created for each foreign key or Boolean

fields.

• Customize page templates• Customize specific tables• Customize field templates• Create custom field templates• Annotate your model

4

Cuales son sus beneficios?

PRODUCTIVIDAD

5

En una palabra…

6

Demos

Nueva DD Entities Web App

Agregar Entity Data Model

Registrar el modelo

Probar el modelo

Customizar template y vistas

Qué es Dynamic Data Preview 4?

• New release of Dynamic Data based on some of the early bits Microsoft is working on for the next release of the framework.

• This preview release runs on .NET 3.5 SP1 / VS 2008 SP1.

• The final version will ship with .NET 4.0 and VS 2010.

• Contains the Dynamic Data Futures project which contains some things we the team is considering for future releases of Dynamic Data.

• Released: May 6, 2009 , updated: May 14, 2009

• .ZIP containing: PROJECT TEMPLATES + SAMPLES

8

Qué hay de nuevo en el DD Preview 4?

• A new QueryExtender control, Declarative data filtering, searching operations.

• A new Dynamic Data filter model

• Support for inheritance in Entity Framework and Linq to SQL.

• Support for many to many relationships in Entity Framework.

• New Entity Templates which allow fine control over how an object is displayed and edited.

• Attributes for controlling the filters appearance and order.

• A DomainDataSource control that uses a data provider model which enables the developers to build their own custom business logic.

• A datasource control for ADO.NET Data Services

•Starter templates for building new applications with the bits for DomainService, Entity Framework and Linq to SQL.

9

Demos DD4

Filter controls

Many to many

Inheritance

Domain Data source

Query Extenders

1. Start with one of the projects in the ProjectTemplatesdirectory to get an empty Dynamic Data site

2. Add a database

3. Create the appopriate data model for the project

4. Register the data model in Global.asax

5. Run

10

Como iniciar un proyecto con DD Preview 4?...

11

Demos DD4

Iniciando proyecto con LinqToSqlProjecttemplate

Q & A

12

• Microsoft ASP.net Dynamic Datahttp://www.asp.net/dynamicdata/

• CodePlexhttp://aspnet.codeplex.com/Wiki/View.aspx?title=Dynamic

%20Data

• ASP.NET Dynamic Data 4.0 Preview 4http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27026

13

Más información en…

GRACIAS!!

14