accesing sql server from asp.net 4.0

Post on 07-Nov-2014

1.111 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Esta es la presentación utilizada en el webcast sobre acceso a datos en SQL Server desde ASP.NEt 4.0, vemos mejoras tales como Dynamic Data y Domain Data Source. Saludos, Eduardo Castro Martinez http://comunidadwindows.org http://ecastrom.blogspot.com

TRANSCRIPT

Ing. Eduardo Castro, PhDGrupo Asesor en Informáticaecastro@grupoasesor.net

Session Objective(s):

Understand ASP.NET 4.0 data advancementsRAD data continues to be advanced

Model driven development across multiple presentation layers

Business logic layer is the future

Understand Dynamic Data advancements

ASP.NET supports several very different types of web applications

With ASP.NET 4.0, you are in control:

Control Rendering

Control IDs

View State

Website URLs

XHTML and Accessibility

Instead of:

http://YourSite.com/Search.aspx?query=cats

You can use:

http://YourSite.com/Search/cats

1.0: No data sources

2.0: ObjectDataSource

3.5: LinqDataSource

3.5 SP1: EntityDataSource

Future: DomainDataSource

Data Controls Data Sources

Control Arsenal

GridView DetailsView

FormView ListView

DataPager Repeater

Object LINQ

Entity SQL

Access XML

Data Model

Metadata Validation

Model-Aware Data Controls #2

#1

Model-Aware Data Control

Bound to

Uses

Field Templates(Integer, String, Date,

etc)

* Easy extensibility

point

Data Model

Metadata Validation

Model-Aware Data Controls

Dynamic Controls

Field Templates

Page Template

URL RoutingModule

Request

ASPX Page

(Http Handler)

Respons

e

Route Table

DynamicRoute

Ensures:

1) Table

2) Action

Dynamic RouteHandler

Checks for:

1) Custom Page

2) Scaffold Page

Data Model

Data Source

Data Control

Data Model

Business Layer

Data Source

Data Control

Works with EntityDataSource and LinqDataSource

Enables you to filter database results

Accepts different types of expressions:

Search

Range

Property

Custom

Powerful way to build data-driven sites

Get started quickly using scaffolding

Much more than scaffolding!

Fully customizable

Validation and business rules on model

Powerful filtering

Flexible URL routing

Use Dynamic Data with DomainDataSource

Best of both world

All the power of Dynamic Data

All the control of DomainService

http://comunidadwindows.orghttp://ecastrom.blogspot.comhttp://www.asp.net/dynamicdata/http://forums.asp.net/1145.aspx

Ing. Eduardo Castro, PhDGrupo Asesor en Informáticaecastro@grupoasesor.net

top related