Learn how Microsoft is simplifying the traditional n-tier application pattern by bringing together ASP.NET and Silverlight. Learn about patterns for working with data, implementing reusable and independently testable application logic, and application services that readily scale with growing requirements.
NET RIA Services - Building Data-Driven Applications with Microsoft Silverlight and Microsoft ASP.NET
1.
2.
3.
4.
5.
6.
7.
8. Rich Internet Application Application
Browser Web
Services
App Data Access
Presentation
HTML Network
Logic Layer
Logic
DB
Services
Services Other Applications
9.
10. DomainContext: Bindable Data DomainService: CRUD + App Logic
class Catalog class Catalog
EntityList<Product> Products { get } IQueryable<Product> GetProducts()
Data Model +
void LoadProducts(IQueryable<Product>) void UpdateProduct(Product, Product)
Metadata +
void ToggleSale(Product) void ToggleSale(Product)
Shared Code
Validation and authorization rules,
class Product Application workflows, …
Data members + Validation
void ToggleSale() Data Model
class Product
Application Services
App Data Access
Presentation Network
Logic Layer
Logic
DB
11. Databases
.NET Clients
ADO.NET,
Silverlight, WPF
ORMs (LTS, EF, …)
Standards Clients
JavaScript
CLR Lists/Objects
App
Server Rendering Repository
Logic
HTML, SEO, (nHibernate, …)
Printing, …
XML, JS Services
Services ON, Bina REST/SOAP
WCF ry (Azure, …)
Unit Test
Code