Foundation RIA Ready for Business Brian Noyes Chief Architect IDesign Inc wwwidesignnet MID311 Chief Architect IDesign Inc wwwidesignnet Microsoft Regional Director wwwtheregioncom ID: 583462
Download Presentation The PPT/PDF document "Windows Communication" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Windows Communication Foundation RIA: Ready for Business
Brian NoyesChief ArchitectIDesign Inc (www.idesign.net)
MID311Slide3
Chief Architect
IDesign Inc. (www.idesign.net)
Microsoft Regional Director
(www.theregion.com)
Microsoft MVP
Silverlight
About Brian
Publishing
Developers Guide to Microsoft Prism 4, O’Reilly & Assoc., March 2011Developing Applications with Windows Workflow Foundation, LiveLessons training DVD, June 2007Smart Client Deployment with ClickOnce, Addison Wesley, January 2007Data Binding in Windows Forms 2.0, Addison Wesley, January 2006MSDN Magazine, MSDN Online, CoDe Magazine, The Server Side .NET, asp.netPRO, Visual Studio MagazineSpeakingMicrosoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts
E-mail:
brian.noyes@idesign.net
Twitter: @
briannoyes
Blog:
http://briannoyes.netSlide4
AgendaWCF RIA Services OverviewQuerying and Updating Data with RIA ServicesData ValidationSecurity & Integration
Customer View: Cactus SoftwareSlide5
WCF RIA Services OverviewSimplifies building N-tier Line of Business (LOB) applicationsHighly dependent on push pull of dataCan use for non-CRUD operations as well
Architecture and tools for building the glue code between the client and the back endStreamlined pipeline for data and operations between client and serverClients: Silverlight & ASP.NETFuture releases: ASP.NET client side JavaScript (WCF
JQuery
)
Business Logic
EntitiesValidationService AccessServicesEntitiesValidation
WCF RIA ServicesDBData Access
PresentationSlide6
The Benefits
Shared Validation
Change
Tracking
Client Query / Updates
Built on / Simplifies WCF
Flexible Data Sources
SecuritySlide7
What do you need?Silverlight Tools for Visual Studio 2010RTW Core bits (v1)RIA Services ToolkitOther endpoint types (SOAP, JSON)
ASP.NET support for consuming domain service in processWCF RIA Services SP1 (shipped with VS 2010 SP1)Complex types support for child objectsSharing entities across domain servicesBetter data binding to client collection types
Various other improvementsSlide8
Coming Soon in SP2
Support for SL5
DateTimeOffset
MVVM Support
EF Code
FirstSlide9
AgendaWCF RIA Services OverviewQuerying and Updating Data with RIA ServicesData ValidationSecurity & Integration
Customer View: Cactus SoftwareSlide10
Application ArchitectureWeb project Silverlight hostDomain ServicesClient project Generated codeDomainContext classes
One per domain service
Client App
View/
ViewModelDomainContext + Entities
Server HostDomainService
Data Access + EntitiesDBSlide11
demoQuerying and Updating Data With RIA ServicesBrian NoyesChief Architect, IDesignSlide12
EntitiesThe data you pass between client and serviceEntity FrameworkLINQ to SQLPOCOSlide13
Query OperationsReturn collections or individual objectsSupport deferred execution through IQueryable<T>Load through DomainDataSource Load programmatically with DomainContextSlide14
Update OperationsEntity changes are cached in the client DomainContextContains an EntityContainer
that tracks changesSent as a batch to the serviceIncluding original version for optimistic concurrencyService executes batch, calling Insert, Update, and Delete methods with one entity per method call
Returns server updated entities (i.e. PK Ids)
and refreshes the client cacheSlide15
AgendaWCF RIA Services OverviewQuerying and Updating Data with RIA ServicesData ValidationSecurity & Integration
Customer View: Cactus SoftwareSlide16
RIA Services ValidationSeamless client and server validation optionsData Annotation AttributesServer Update method logicAsync [Invoke] method executionSlide17
demoValidating DataBrian NoyesChief Architect, IDesignSlide18
AgendaWCF RIA Services OverviewQuerying and Updating Data with RIA ServicesData ValidationSecurity & Integration
Customer View: Cactus SoftwareSlide19
RIA Services SecurityAuthentication and AuthorizationSilverlight application login or web application host loginDeclarative security model in servicesClient security context
Populated by service callLeverages Membership, Role, and Profile providersCan use whether you use RIA Services for other service needsSlide20
demoRIA Services – SecurityBrian NoyesChief Architect, IDesignSlide21
Exposing OData, SOAP, JSONYou can expose your domain services via:ODataREST – ATOM standardRead onlySOAPBasicHttpBinding
JSONREST – JSON serializationSlide22
AgendaWCF RIA Services OverviewQuerying and Updating Data with RIA ServicesData ValidationSecurity
Customer View: Cactus SoftwareSlide23
RIA in the Real WorldCACTUS SoftwareJeremy Marsch,Director, Software Development Matt Goodwin
Director, Software ArchitecturecustomerSlide24
SummaryRich client side functionality for entity-based CRUD and service operationsAsync service callsValidationSecurity
Error handlingNo WCF knowledge neededRAD focused without compromising your architecture10 Part Series on WCF RIA Services: http://tinyurl.com/wcfriaseries
E-mail:
brian.noyes@idesign.net
Blog: http://briannoyes.net Twitter: @briannoyesSlide25
Track Resources
Required Slide Track PMs
will supply the content for this slide, which will be inserted during the final scrub.
Windows Azure Platform Training Kit
Windows Server AppFabric Training Kit
BizTalk 2010 Developer Training Kit
Windows Azure AppFabric on MSDN
Windows Server AppFabric on MSDN
AppFabric Team BlogSlide26
Resources
www.microsoft.com/teched
Sessions On-Demand & Community
Microsoft Certification & Training Resources
Resources for IT Professionals
Resources for Developers
www.microsoft.com/learning
http://microsoft.com/technet http://microsoft.com/msdn
Learning
http://northamerica.msteched.com
Connect. Share. Discuss.Slide27
Complete an evaluation on
CommNet
and
enter to win!Slide28Slide29