190 likes | 1.28k Views
TOOL-800T. Building data-driven HTML5 apps with WCF RIA Services. Dinesh Kulkarni , Asad Khan Microsoft Corporation. Building rich, n-tier apps is complex. Targeting multiple clients is hard. RIA Services simplifies the task. N-tier Application Concerns. WCF RIA Services. Data Store.
E N D
TOOL-800T Building data-driven HTML5 apps with WCF RIA Services Dinesh Kulkarni, Asad Khan Microsoft Corporation
Building rich, n-tier apps is complex Targeting multiple clients is hard RIA Services simplifies the task
N-tier Application Concerns WCF RIA Services Data Store App Logic App Logic DAL Client Mid-tier Controls • Data lifecycle (CRUD+) • Operation logic, query, databinding, change tracking, unit of work • Validation • User: authn/authz/profile
Scalable Client Browsers Mobile Devices DomainService RIA/JS Client OData Service Metro Style App Local Store
demo N-tier app: BigShelf
N-tier App Demo • Rich databinding: Data Source, Sorting/Paging/Filtering • Rich editing: validation/cancellation • Immediate update and unit of work • Authentication
demo RIA in OData EcosystemLocal Storage
RIA in OData ecosystem demo • DomainService provides OData • HTML5 client consumes OData
Local storage demo • In-browser store use • Disconnected operation
demo Multi-client support
Scalable Services Pattern Standards Client HTML5/ECMAScript Databases ADO.NET, ORMs (LTS, EF, nhibernate) Mobile DevicesJSON,OData, PLIST WCF DomainService(Unit of work, validation) Lists/Objects Repository (NHibernate, …) Metro Style App WebAPI (REST, hypermedia) WCF Services REST/SOAP/OData .NET Clients Silverlight, Phone HTTP Services SOAP, XML, JSON, OData Server Rendering HTML, SEO, printing
Scalable HTML5 Client Storage SQL Browsers Table MVC Cache Mobile Devices Compute DomainServiceWebAPI DomainService RIA/JS Client Web Worker OData Service Metro Style App Local Store Value Add Other Services Pub/Sub MktplaceData
Key Takeaways • WCF RIA Services addresses end-to-end app concerns • RIA/JS targets multiple clients • JS components can be used independently
announcing RIA/JS PreviewWCF RIA Services V1 SP2 RCWCF RIA Services Sept 2011 Toolkit
Related Sessions • [SAC-798T] Building Web APIs in Windows Azure with WCF to reach any device • [SAC-807T] Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
Call to Action Learn, download, build and give us feedback! • http://win8.ms/riajs
thank you Feedback and questions http://forums.dev.windows.com Session feedbackhttp://bldw.in/SessionFeedback
© 2011 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.