Ronnie Saurenmann Microsoft Switzerland [email protected] .

24
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
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    226
  • download

    1

Transcript of Ronnie Saurenmann Microsoft Switzerland [email protected] .

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

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

.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

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

.NET RIADataSource, Pager, Grouping, Activity, Save

demo

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

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

Navigation Framework

demo

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

DataForm

demo

Sharing Metadata & Validation code

Validations & Metadata

demo

Projections & Relationships

Create views on the flyParent ChildLookups

Projections & Relationships

demo

ChildWindow

Modal Animated WindowDraggableFully stylable & templetable

ChildWindow

demo

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

Excel export, jQuery/JSONOOBE

demo

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

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

Save the date for tech·days next year!

7. – 8. April 2010Congress Center Basel

Classic Sponsoring Partners

Media Partner

Premium Sponsoring Partners