silverlight & ado.net data services
DESCRIPTION
Silverlight is one of Microsoft's fastest advancing and most exciting development platforms. Since version 2, Silverlight has been a great platform for building rich internet applications (RIAs) using .NET languages. Now, with Silverlight 3 and ADO.NET Data services, the picture is even more complete and Silverlight is an even better choice for building business applications. This presentation will cover how to use Expression Blend and Visual Studio to create business applications using Silverlight 3 and ADO.NET Data Services.TRANSCRIPT
Silverlight 3 & RIA Services ADO.NET Data Services
Brad Tutterow
History of Silverlight
Silverlight crossing the Delaware
Version 1 – Sep 2007UI Media Data Programming
Bitmaps & Vectors MP3 XML JavaScript
Text WMA JSON
Animations WMV
Version 2 – Oct 2008UI Media Data Programming
Bitmaps & Vectors MP3 XML JavaScript
Text WMA JSON
Animations WMV
DataBinding Streaming Media RSS C# & VB.NET
ListBoxes & DataGrids Deep Zoom REST & SOAP IronRuby
Standard UI Controls DRM WCF IronPython
Version 3 – Aug 2009UI Media Data Programming
Bitmaps & Vectors MP3 XML JavaScript
Text WMA JSON
Animations WMV
DataBinding Streaming Media RSS C# & VB.NET
ListBoxes & DataGrids Deep Zoom REST & SOAP IronRuby
Standard UI Controls DRM WCF IronPython
Navigation & Deep linking AAC
Out of Browser H.264
Browser History 1080p Streaming
Silverlight & Data : Less is More
System.Data
ADO.NET
DataSets
NHibernateLINQ to SQL
LINQ to Entities
Web Services
Isolated StorageREST
Silverlight & Data : No Waiting
CodeData
Asynchronous Request
Client Server
ADO.NET Data Services Overview
Some dataSome
context
ADO.NET Data
ServicesClientCode
ASYNC
RIA Services Overview
Some dataSome
context
ADO.NET Data
Services
ClientCode ASYNC
Shared domain and validation
Shared domain and validation
code generation
Comparison & ContrastFeature ADO.NET Data
ServicesRIA Services
Easy CRUD ✔ ✔
Execute custom service methods ✔ ✔
Free entities ✔ ✔
Works great with Silverlight ✔ ✔
Extensible entities ✔
Shared code ✔
Validation framework ✔
Silverlight-focused ✔
Variety of supported data providers ✔
Mature and stable ✔
More about ADO.NET Data Services
Some dataSome
context
ADO.NET Data
Services
ClientCode
ASYNCEntity
Frame-work SQL Server
No Code**Well, not much anyway
ServerClient
ClientContext
Generated
Using an ADO.NET Entity Service
http://www.petesdiner.com/data.svc/specials
Returns XML or JSON
http://.../data.svc/specials(name=‘meatloaf’)
http://.../data.svc/employees?$orderby=LastName
http://.../data.svc/employees[Pete]/shift
HTTP VERBS
Verb ActionGET Query entitiesPOST Update entitiesPUT Create a new entityDELETE Delete an entity
DEMO
All wired up
Client code
Client context
ADO.NET Data
Services
LINQ to Entities
Database
LINQ
HTTP
LINQ
SQL