xiaoying guo program manager -...
TRANSCRIPT
![Page 1: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/1.jpg)
![Page 2: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/2.jpg)
Xiaoying GuoProgram ManagerMicrosoft Server and Tools ChinaSession Code: DEV377
![Page 3: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/3.jpg)
Agenda
Why building Business Application in Silverlight
How to build Business Applications with:Silverlight
Silverlight + ASP.NET based .NET RIA Services
How to use tools to improve productivity
![Page 4: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/4.jpg)
Trends In Today’s Business Application
RIA
Data
![Page 5: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/5.jpg)
Why RIA?
Rich UI experienceInteractive UI model to operate data
Internet applicationWide Internet deployment
Cross boundaries between platforms and browsers
Application logicProductive development experience
Easy to build, reuse, customize
and extend
![Page 6: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/6.jpg)
Silverlight for RIA
Rich Internet application controlsMore than 60 built-in controls
More data visual controls at http://www.codeplex.com/Silverlight
Easy Internet deployment
Various platforms and browsers support
Productive development experience.NET runtime and Base Class Library support
Interactive UI model support
Powerful tooling support
![Page 7: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/7.jpg)
Data! Data!! Data!!!
Business applications are all about data
Web based business applications have challenges:
Moving data between layers and boundaries
Define resources and operation
Validate data in presentation and mid-layer
Share services between different applications
![Page 8: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/8.jpg)
Build Business Application in Silverlight
Plumbing Code
ServerBusinessObjects
ClientBusinessObjects
Create and Connect database
Write validation
logic at server
Add service reference
into the client
Bind data to the UI
Build update mechanism
Add data paging, sorting, filtering,
etc.
Create data source anddata access layer (DAL)
Create a service to
marshal data
Create UIAdd client side business logic
Server Client
![Page 9: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/9.jpg)
Build Business Application in Silverlight
![Page 10: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/10.jpg)
Better Silverlight for Business Application
Basic Platform
CLR
Core UI Engine
Business Logic Framework
Data Loading
Data Validation
Business Logic
Application Services
Business Controls
Basic Framework
ControlsData• XML• LINQ
Networking / Services
Data BindingControl
Model
Navigation
![Page 11: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/11.jpg)
Simplify N-tier Business Application
Plumbing Code
ServerBusinessObjects
ClientBusinessObjects
Create and Connect database
Write validation
logic at server
Add service reference
into the client
Bind data to the UI
Build update mechanism
Add data paging, sorting, filtering,
etc.
Create data source anddata access layer (DAL)
Create a service to
marshal data
Create UIAdd client side business logic
Server Client
![Page 12: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/12.jpg)
Simplify N-tier Business Applicaton
Create and Connect database
Create data source anddata access layer (DAL)
SharedBusinessObjects
Connect data source and UI with a set of
business objects
Support basic data analysis, sorting, paging, testing, etc.
Server Client
![Page 13: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/13.jpg)
.NET RIA Services
Work on existing Client / Server technology
Silverlight Client
ASP.NET Server
Unified Client / Server modelThe same set of business objects
In the same application project
Simplify data movingExpose data by business objects
Provide plumbing for data
Various data sourcesEntity Framework, ADO.NET Data Services, Web Services, etc.
Data Access Layer
Business objects
Business Objects
View
Server
Client
![Page 14: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/14.jpg)
Building Business Application In .NET RIA Services
![Page 15: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/15.jpg)
Key Concept in .NET RIA ServicesDomainServiceMain class at Server for data operation
DomainContextClient class to invoke methods defined in DomainService
EntityListA collection for data binding
MetadataProvides data validation on data entities in a flexible way
Shared CodeShare business logic between layers and boundaries
Data Access Layer
DomainContext
View
Server
Client
Shared Code EntityList
Shared Code
DomainService
Metadata
Code Gen
![Page 16: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/16.jpg)
Data Validation In .NET RIA Services
![Page 17: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/17.jpg)
Meet More Needs In Business Apps
Custom operation
Authentication
Validation
Paging
Data filtering at Server
Etc.
![Page 18: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/18.jpg)
Custom Method and Authentication In .NET RIA Services
![Page 19: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/19.jpg)
Better Tool, Better Life
Based on Microsoft Visual StudioEasy to update with add-on package
Familiar development experience in IDE
Basic tooling support in code generation
More tooling support in Visual Studio 2010Data Source Window support
Live IntelliSense
![Page 20: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/20.jpg)
Summary
Trends in today’s business applicationRIA: Rich interactive Internet Application
Data: complex data operation
Silverlight enables RIA in business application
.NET RIA Services provides complete business application solution
Silverlight and ASP.NET based
The same set of business objects to simplify data operation
Built-in data validation mechanism against metadata
Tooling support improves productivity
![Page 21: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/21.jpg)
Resources
Silverlight communityhttp://silverlight.net
MSDN Silverlight forumhttp://social.msdn.microsoft.com/Forums/en-US/silverlightdeveloper
Scott Guthrie bloghttp://weblogs.asp.net/scottgu
Brad Abrams bloghttp://blogs.msdn.com/brada
Business application tooling team bloghttp://blogs.msdn.com/vsdata
XAML Power Toyshttp://karlshifflett.wordpress.com/2009/10/25/xaml-power-toys-for-visual-studio-2010-beta2-cider-designer/
![Page 23: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/23.jpg)
http://microsoft.com/technet
Resources for IT Professionals
http://microsoft.com/msdn
Resources for Developers
www.microsoft.com/learning
Microsoft Certification & Training Resources
Resources
![Page 24: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/24.jpg)
Housekeeping
![Page 25: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/25.jpg)
Level 1Theater I: UNC322 – by Scott Schnoll
Theater II: BIN429 – by Donald Farmer
Level 4Room S421: DAT336 – by Andrew Coates
Room S423: SEC353 – by Mohit Saxena
Room S425: DEV423 – by Karen Liu
Room S427: WMB203 – by Jim Tsui
Room S426: SEC05-HOL – by Microsoft Certified Trainer
![Page 26: Xiaoying Guo Program Manager - download.microsoft.comdownload.microsoft.com/documents/hk/technet/techdays2009/DEV377.pdfXiaoying Guo Program Manager Microsoft Server and Tools China](https://reader030.vdocuments.us/reader030/viewer/2022040907/5e7cfaa63600bf09b973f3dc/html5/thumbnails/26.jpg)
© 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.