This document discusses .NET RIA Services and SQL Data Services. It begins with an introduction to Class-A, a Microsoft development training company, and the presenter Dennis van der Stelt. The agenda is then outlined, covering SQL Data Services, .NET RIA Services, and a demo. SQL Data Services are explained in more detail and code examples are provided. .NET RIA Services are then discussed, covering the vision and goals of simplifying RIA development and bringing ASP.NET productivity to the client. The multi-tier application model and an example demo are presented before closing with questions.
2. Introducing
• Class-A
– Kennisprovider
– Microsoft development
– Training & Coaching
– http://www.class-a.nl
• Dennis van der Stelt
– Trainer/ coach
– Blog: http://bloggingabout.net/blogs/dennis/
– Twitter: dvdstelt
10. Vision and goals
• Simplify RIA development
– n-tier is hard, and un-natural
• Bring ASP.NET/RAD-style productivity to
RIA development
– Focus on end-to-end scenarios and solutions
11. End-to-End Data
• Beyond accessing and editing rows
– App-specific custom operations
– Data shaping (sorting, paging, filtering)
– Rules (validation, authorization, conflict
handing)
– Batching and offline
12. Multi tier application model
Services
Browser
HTML
Rich Internet Application Application
Web
Presentation
Network
Logic
App
Logic
Services
Data Access
Layer
Services
Other Applications
DB
14. A Prescriptive Pattern
DomainContext: Bindable Data
DomainService: CRUD + App Logic
class Catalog
EntityList<Product> Products { get }
void LoadProducts(IQueryable<Product>)
void ToggleSale(Product)
Data Model +
Metadata +
Shared Code
class Product
Data members + Validation
void ToggleSale()
class Catalog
IQueryable<Product> GetProducts()
void UpdateProduct(Product, Product)
void ToggleSale(Product)
Validation and authorization rules,
Application workflows, …
Data Model
class Product
Application
Presentation
Logic
Network
Services
App
Logic
Data Access
Layer
DB
15. A Pattern that Scales and Grows
Databases
ADO.NET,
ORMs (LTS, EF, …)
App
Logic
CLR Lists/Objects
Repository
(nHibernate, …)
XML,
JSON,
Binary
Unit Test
Code
Services
REST/SOAP
(Azure, …)
16. What didn’t we cover?
• Authentication
– Both Windows & Forms based
• Enhanced SEO capabilities
– Not yet fully functional in current bits
• Business application template
• Linq2Sql & Azure capabilities
• OOB & Offline synchronization
17. Roadmap
• SQL Data Services
– Unknown, only that it supports TDS
• .NET RIA Services
– May CTP available, new one in July
– PDC09 bits will run on Astoria
– First part of 2010 : RTW
18. Summary
• .NET RIA Services offer
– Better n-tier support
– Rapid Application Development
– A pattern that scales and grows
– Services for additional features
And remember, this will run on SDS