dev301 vs2008 sp1 ado.net data servicefocus.it168.com/200809/msteched2008/ppt/ppt/dev301.pdf ·...
TRANSCRIPT
没有数据服务的世界
HTML + JavaScript
Data (XML, etc)
DLL + XAML
Data (XML, etc) Data (XML, etc)
Mashup UI
Data Feeds
AJAX 应用 Silverlight 应用
在线服务 Mashups
今天的服务是什么样?
Web Service (ASMX, WCF)
1) GetCustomer(int id)
2) GetCustomers()
3) GetCustomers(string orderBy)
4) GetCustomers(string orderBy, string sortDirection)
5) GetCustomers(string orderBy, string sortDirection,int offset, int count)
6) GetCustomers(string orderBy, string sortDirection,int offset, int count,string filter, string filterValue)
数据服务是什么?
CLR Model
(IQueryable)
Entity DataModel
Custom Model
WCFService
LINQ To SQLModel
DataService<T>
归根结底:ADO.NET DataService是一个WCF Service
构建
CRUD
Interceptors
Query Option
过滤排序
属性值
分页Silverlight Client
Ajax Client
批量处理
自定义对象模型
Eager-Loading
JSON
WPF Client
© 2008 Microsoft Corporation. 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.