Top Banner
RAD for Business Application with the new Silverlight 3 and .NET RIA Services Ronnie Saurenmann Microsoft Switzerland [email protected] http://blogs.msdn.com/swiss_dp e_team
24

Ronnie Saurenmann Microsoft Switzerland [email protected] .

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

RAD for Business Application with the new Silverlight 3 and .NET RIA Services Ronnie SaurenmannMicrosoft [email protected]://blogs.msdn.com/swiss_dpe_team

Page 2: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Silverlight 3: new for Line of Business

Validation FrameworkNavigation Framework

Page, ChildWindowDataSource & Pager controlsDataGrid enhancements

GroupingNew super DataForm controlObject to Object DataBindingOut of BrowserSaveAs Dialog

Page 3: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

.NET RIA ServicesVision and Goals

Simplify RIA developmentn-tier is hard, and un-natural

Beyond accessing and editing rowsApp-specific custom operationsData shaping (sorting, paging, filtering)Rules (validation, authorization, conflict handing)Batching and offline

Supports Silverlight, ASP.NET, AJAXIn future WPF too

Page 4: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

App Model that Spans Tiers

A single logical applicationClient is an extension of the server

Web ApplicationBrowser Rich Internet Application

DB

Services

Other Applications

Data Access Layer

AppLogic

Services

HTMLPresentati

onLogic

Network

Page 5: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

.NET RIADataSource, Pager, Grouping, Activity, Save

demo

Page 6: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

A Prescriptive PatternDomainService: CRUD + App Logic

class CatalogIQueryable<Product> GetProducts()void UpdateProduct(Product, Product)void ToggleSale(Product)Validation and authorization rules,

Application workflows, …

Data Model class Product

DomainContext: Bindable Dataclass CatalogEntityList<Product> Products { get }void LoadProducts(IQueryable<Product>)void ToggleSale(Product)

class ProductData members + Validationvoid ToggleSale()

Data Model +Metadata +

Shared Code

Application

DB

Services

Data Access Layer

AppLogic

Presentation

Logic

Network

Page 7: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Navigation, Permalink & Browser History

New in SL3Navigation 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

Page 8: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Navigation Framework

demo

Page 9: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Silverlight 3 DataForm control

Similar to a vertical DataGridSupports Inserts, Updates and Deletes

Fully stylable, templetableMetadata drivenCan act as a data navigation or simple detail viewIntegrated with the Validation Framework

Page 10: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

DataForm

demo

Page 11: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Sharing Metadata & Validation code

Page 12: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Validations & Metadata

demo

Page 13: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Projections & Relationships

Create views on the flyParent ChildLookups

Page 14: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Projections & Relationships

demo

Page 15: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

ChildWindow

Modal Animated WindowDraggableFully stylable & templetable

Page 16: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

ChildWindow

demo

Page 17: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

A Pattern that Scales and Grows

Support for multiple presentation tiers and data access technologies

AppLogic

DatabasesADO.NET,ORMs (LTS, EF, …)

CLR Lists/ObjectsRepository(nHibernate, …)

ServicesREST/SOAP(Azure, …)

XML, JSON, Binary

.NET ClientsSilverlight, WPF

Standards ClientsJavaScript

Server RenderingHTML, SEO,Printing, …

ServicesWCF

Unit Test Code

Page 18: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Excel export, jQuery/JSONOOBE

demo

Page 19: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Roadmap .NET RIA Services

First public CTP nowWorks with Silverlight 3 and .NET 3.5 SP1

On-going CTPs through RTMPlease provide feedback!Go-live later in the yearRTM soon after

Full support for Silverlight 3, ASP.NET, AJAX

WPF applications forthcoming

Page 20: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

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

Page 21: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

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.ch NT Anwendergruppe Schweiz: www.nt-ag.ch PASS (Professional Association for SQL Server): www.sqlpass.ch

Page 22: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Save the date for tech·days next year!

7. – 8. April 2010Congress Center Basel

Page 23: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .

Classic Sponsoring Partners

Media Partner

Premium Sponsoring Partners

Page 24: Ronnie Saurenmann Microsoft Switzerland ronnies@microsoft.com .