17
What’s Coming in 2008 for ADO.NET Data Access Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.mtaulty.com

What’s Coming in 2008 for ADO.NET Data Access

  • Upload
    lethia

  • View
    24

  • Download
    0

Embed Size (px)

DESCRIPTION

What’s Coming in 2008 for ADO.NET Data Access. Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.mtaulty.com. Agenda. ADO.NET Entity Framework Currently at Beta 3 Graphical tooling for VS 2008 at 2 nd preview ADO.NET Data Services - PowerPoint PPT Presentation

Citation preview

Page 1: What’s Coming in 2008 for ADO.NET Data Access

What’s Coming in 2008 for ADO.NET Data AccessMike TaultyDeveloper & Platform GroupMicrosoft [email protected]://www.mtaulty.com

Page 2: What’s Coming in 2008 for ADO.NET Data Access

Agenda

ADO.NET Entity FrameworkCurrently at Beta 3Graphical tooling for VS 2008 at 2nd preview

ADO.NET Data ServicesCurrently at December CTP

Both in the ASP.NET 3.5 Extensions PreviewEF releases 1st half of 2008

Page 3: What’s Coming in 2008 for ADO.NET Data Access

Entity Framework

Page 4: What’s Coming in 2008 for ADO.NET Data Access

ADO.NET Entity Framework

Extends existing ADO.NET modelAdds additional capabilities

Abstraction from the underlying store schemaAbstraction from the underlying SQL dialect

Store

.NET Provider

ADO .NET V2.0

Page 5: What’s Coming in 2008 for ADO.NET Data Access

.NET Entity Provider (Entity SQL)

Command

ConnectionReader

V3.0

ADO.NET Entity Framework

Store

.NET Data Provider

V2.0

Command

ConnectionReader

Adapter

V3.0

Conceptual Model

Entity Entityrelationship

Mapping (MSL)

V3.0Programming Model

Object Relational Mapping

LINQ

Page 6: What’s Coming in 2008 for ADO.NET Data Access

ADO.NET Entity Framework

“Schema independence”“Store independence”Higher level constructs

RelationshipsInheritanceComposite Entities

Store

.NET Provider

V2.0

Conceptual Model

.NET Provider(EntitySQL)

ORM & LINQ

V3.0

Map

ping

Page 7: What’s Coming in 2008 for ADO.NET Data Access

ADO.NET Entity Framework

Page 8: What’s Coming in 2008 for ADO.NET Data Access

Data Services

Page 9: What’s Coming in 2008 for ADO.NET Data Access

Data Services

Exposes data over a RESTful web service interface

Entity Framework dataLINQ to SQL dataAny IQueryable data

Server-side is built with Windows Communication Foundation

Returns Atom Publishing Protocol (APP) or JSONClient-side libraries for .NET and AJAX

Page 10: What’s Coming in 2008 for ADO.NET Data Access

RESTful?

REpresentational State TransferIn a nutshell;

Server-side resources identified by a URIAccess is over HTTP, verb tied to action

– GET to read the value of a resource– POST to create a new resource*– PUT to update an existing resource*– DELETE to delete a resource

Returned data is “plain” – XML or JSON

Page 11: What’s Coming in 2008 for ADO.NET Data Access

Data Services - Querying

General Pattern

EntitySet

Key

Navigation Property

http://.../<EntitySet>[(<Key>)[/<NavigationProperty>[(<Key>)/...]]]

http://.../Customers

http://.../Customers(‘ALFKI’)

http://.../Customers(‘ALFKI’)/Orders

Page 12: What’s Coming in 2008 for ADO.NET Data Access

Data Services - Querying

Query string parameters;expand

orderby

skip

top

filter

http://.../Customers(‘ALFKI’)?$expand=Orders

http://.../Customers?$orderby=Country

http://.../Customers?$orderby=Country&$skip=10

http://.../Customers?$orderby=Country&$top=10

http://.../Customers?$filter=City eq ‘London’

Page 13: What’s Coming in 2008 for ADO.NET Data Access

Data Services – Other Features

Service OperationsExpose more advanced functionality

Query InterceptorsHook into requests for resources and run custom logic

Update InterceptorsHook into modifications for resources and run custom logic

Page 14: What’s Coming in 2008 for ADO.NET Data Access

ADO.NET Data Services

Page 15: What’s Coming in 2008 for ADO.NET Data Access

Resources

http://www.asp.net(3.5 Extensions)

Page 16: What’s Coming in 2008 for ADO.NET Data Access

MSDN in the UK

Visit http://msdn.co.uk NewsletterEventsScreencastsBlogs

Page 17: What’s Coming in 2008 for ADO.NET Data Access

© 2007 Microsoft Ltd. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the

date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.