240 likes | 516 Vues
RAD for Business Application with the new Silverlight 3 and .NET RIA Services . Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com http://blogs.msdn.com/swiss_dpe_team. Silverlight 3: new for Line of Business. Validation Framework Navigation Framework Page, ChildWindow
E N D
RAD for Business Application with the new Silverlight 3 and .NET RIA Services Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com http://blogs.msdn.com/swiss_dpe_team
Silverlight 3: new for Line of Business • Validation Framework • Navigation Framework • Page, ChildWindow • DataSource & Pager controls • DataGrid enhancements • Grouping • New super DataForm control • Object to Object DataBinding • Out of Browser • SaveAs Dialog
.NET RIA ServicesVision and Goals • Simplify RIA development • n-tier is hard, and un-natural • Beyond accessing and editing rows • App-specific custom operations • Data shaping (sorting, paging, filtering) • Rules (validation, authorization, conflict handing) • Batching and offline • Supports Silverlight, ASP.NET, AJAX • In future WPF too
App Model that Spans Tiers • A single logical application • Client is an extension of the server Services Rich Internet Application Browser Web Application Presentation Logic App Logic Data Access Layer HTML Network DB Services Other Applications
A Prescriptive Pattern • DomainContext: Bindable Data • class Catalog • EntityList<Product> Products { get } • void LoadProducts(IQueryable<Product>) • void ToggleSale(Product) • class Product • Data members + Validation • void ToggleSale() • DomainService: CRUD + App Logic • class Catalog • IQueryable<Product> GetProducts() • void UpdateProduct(Product, Product) • void ToggleSale(Product) • Validation and authorization rules, • Application workflows, … • Data Model • class Product Data Model + Metadata + Shared Code Services Application Presentation Logic App Logic Data Access Layer Network DB
Navigation, Permalink & Browser History • New in SL3 • Navigation Framework is integrated with the browser history • Can go Back and Forth with the browser button • Can create permalinks • Can also be used for Search Engines Optimization
Navigation Framework demo
Silverlight 3 DataForm control • Similar to a vertical DataGrid • Supports Inserts, Updates and Deletes • Fully stylable, templetable • Metadata driven • Can act as a data navigation or simple detail view • Integrated with the Validation Framework
DataForm demo
Projections & Relationships • Create views on the fly • Parent Child • Lookups
ChildWindow • Modal Animated Window • Draggable • Fully stylable & templetable
ChildWindow demo
A Pattern that Scales and Grows • Support for multiple presentation tiers and data access technologies Databases ADO.NET, ORMs (LTS, EF, …) .NET Clients Silverlight, WPF Standards Clients JavaScript App Logic CLR Lists/Objects Repository (nHibernate, …) Server Rendering HTML, SEO, Printing, … XML,JSON, Binary Services REST/SOAP (Azure, …) Services WCF Unit Test Code
Roadmap .NET RIA Services • First public CTP now • Works with Silverlight 3 and .NET 3.5 SP1 • On-going CTPs through RTM • Please provide feedback! • Go-live later in the year • RTM soon after • Full support for Silverlight 3, ASP.NET, AJAX • WPF applications forthcoming
Your MSDN resourcescheck out these websites, blogs & more! PresentationsTechDays: www.techdays.chMSDN Events: http://www.microsoft.com/switzerland/msdn/de/presentationfinder.mspxMSDN Webcasts: http://www.microsoft.com/switzerland/msdn/de/finder/default.mspx MSDN EventsMSDN Events: http://www.microsoft.com/switzerland/msdn/de/events/default.mspxSave the date: Tech•Ed 2009 Europe, 9-13 November 2009, Berlin MSDN Flash (our by weekly newsletter)Subscribe: http://www.microsoft.com/switzerland/msdn/de/flash.mspx MSDN Team BlogRSS: http://blogs.msdn.com/swiss_dpe_team/Default.aspx Developer User Groups & CommunitiesMobile Devices: http://www.pocketpc.ch/Microsoft Solutions User Group Switzerland: www.msugs.ch.NET Managed User Group of Switzerland: www.dotmugs.chFoxPro User Group Switzerland: www.fugs.ch
Your TechNet resourcescheck out these websites, blogs & more! PresentationsTechDays: www.techdays.ch TechNet EventsTechNet Events: http://technet.microsoft.com/de-ch/bb291010.aspx Save the date: Tech•Ed 2009 Europe, 9-13 November 2009, Berlin TechNet Flash (our by weekly newsletter)Subscribe: http://technet.microsoft.com/de-ch/bb898852.aspx Schweizer IT Professional und TechNet BlogRSS: http://blogs.technet.com/chitpro-de/ IT Professional User Groups & CommunitiesSwissITPro User Group: www.swissitpro.chNT Anwendergruppe Schweiz: www.nt-ag.chPASS (Professional Association for SQL Server): www.sqlpass.ch
Save the date for tech·days nextyear! 7. – 8. April 2010Congress Center Basel
Premium Sponsoring Partners Classic Sponsoring Partners Media Partner