+ All Categories
Home > Documents > Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data...

Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data...

Date post: 14-Jan-2016
Category:
Upload: solomon-bailey
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
18
Transcript
Page 1: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.
Page 2: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

T41F - Building Data-driven Applications in ASP.NET and Silverlight

Nikhil KothariSoftware ArchitectMicrosoft Corporation

Page 3: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Agenda

Intro demoVision and value propositionsDemos to make them concrete

Page 4: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Hello .NET RIA ServicesFrom 0 to 60 – A Basic Application

demo

Page 5: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Vision and Goals

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

Bring ASP.NET/RAD-style productivity to RIA development

Focus on end-to-end scenarios and solutions

Page 6: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Value Propositions

Focus on data in an end-to-end mannerA unified story for client and server developmentA prescriptive framework that targets key scenarios, and leads the common developer to a pit of success

Page 7: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

End-to-End Data

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

Page 8: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Web ApplicationBrowser Rich Internet Application

DB

Services

Other Applications

App Model that Spans Tiers

A single logical applicationClient is an extension of the server

Data Access Layer

AppLogic

Services

HTMLPresentati

onLogic

Network

Services

Page 9: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

End-to-End Data Across TiersLINQ, Editing, Validation, App-specific operations and Batching

demo

Page 10: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

A Prescriptive Pattern

Application

DB

Services

Data Access Layer

AppLogic

Presentation

Logic

Network

DomainService: CRUD + App Logicclass 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

Page 11: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

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 12: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Exploring the Pattern

demo

Page 13: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Key Take-aways

Focus on data in an end-to-end mannerA unified story for client and server developmentA prescriptive framework that targets key scenarios, and leads the common developer to a pit of success

Page 14: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Roadmap

First public CTP today at MIXWorks 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 ASP.NET, Ajax, and WPF applications also forthcoming

Page 15: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Resources

Silverlight Community Sitehttp://silverlight.netAdditional information, forums, docs, etc.

Blogshttp://www.nikhilk.nethttp://blogs.msdn.com/brada

Page 16: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Please Complete an Evaluation FormYour feedback is important!

Please see the back of your attendee notebook for evaluation formsTemp Staff at the back of the room have additional evaluation form copies

Page 17: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

© 2009 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.

Page 18: Web Application BrowserBrowser Rich Internet Application DB ServicesServices Other Applications Data Access Layer AppLogic Services HTMLPresentationLogic.

Abstract

Learn how Microsoft is simplifying the traditional n-tier application pattern by bringing together ASP.NET and Silverlight, and hear about an application framework that allows you to tap into the synergy of .NET on the server and on the client. Learn about patterns for working with data, implementing reusable and independently testable application logic, and application services that readily scale with growing requirements.


Recommended