Академический Документы
Профессиональный Документы
Культура Документы
Architecture Design
Page 1of 7
Mumbai: +91-22-61488911
Course Content
Module 1 - Presentation Layer
SilverLight application UI is based on the same XAML technology introduced with WPF when .NET 3.0 was released. User interface layer (presentation layer) is mainly composed of XAML-formed Silverlight user controls embedded inside the ASP.NET page. XAML provides us with features for creating Rich User Interfaces with graphics and animation support. There are a lot of new features like styles, templates which lets us separate the UI definition in XAML file and keep the logic in a code behind file. In the XAML page design, the popular data source binding is utilized. In order to reduce as much as possible the coupling of the presentation layer and the business logic tier, we avoid directly using the XAML markup attribute attaching different events to the related handlers, but choose to use the code-behind class to achieve the attachments, which can be easily accomplished through the "+=" operator and the event delegate provided in C # language. This module covers the XAML features for creating rich UI for SilverLight applications introducing the new features like styles, templates, rich data binding, graphics and animation.
Topics covered: Creating User Interfaces with XAML Understanding XAML Creating UI using XAML elements Layout controls o o o o o Grid Canvas StackPanel WrapPanel DockPanel
Working with controls o Creating control instances through XAML o Setting properties on controls o Handling events on controls o RichTextArea Control o Text trimming o ViewBox o Bi-directional text and Right-to-left support in controls Understanding the Event Model Styles o Inline styles
Page 2of 7
Mumbai: +91-22-61488911
Resources & Templates o Creating Resources o Resource Dictionaries o Loading resources dynamically o Application Resources o Creating, Modifying & Using Templates Templates o Control Templates o Data Templates o ItemsTemplates Implicit theming for controls
Graphics Shapes and drawing Brushes Transformations Understanding GPU acceleration capabilities Perspective 3D support New bitmap and pixel APIs Create and apply custom pixel shader effects (e.g. blur, dropshadow, swirl, etc) to any image. Easing support
Data Binding Connecting User Interface Elements with Data Direction of the Data Flow Change Notification Updating the Data Source Binding to Collections Data Validation Data Conversions IDataErrorInfo and Async Validation DependencyObject Binding StringFormat, TargetNullValue, FallbackValue DataGrid enhancements ICommand support on ButtonBase and Hyperlink
Page 3of 7
Mumbai: +91-22-61488911
In this module we look at creating services for SilverLight and using the familiar data access methods to work with the backend data and make it available through the services to the presentation layer.
Topics covered: Working with Services and Networking API Creating Services for Silverlight o Silverlight enabled WCF services o Binary XML o ADO.NET Data Services o RESTful services with POX and JSON Consuming Services
Page 4of 7
Mumbai: +91-22-61488911
Security restrictions Network Authentication in Web Requests Sockets and Duplex Services Cryptographic Services Choosing a O/R mapper to use with Silverlight o EF o LINQ to SQL
.NET Rich Internet Application (RIA) Services for n-tier Understanding .NET RIA Services o Pros and cons o Validation model and shared code o Creating RIA Services applications o Using the Data Form with RIA Services o Using RIA services with other data bound controls RIA Services in Visual Studio 2010 o Data source and designer support for common RIA Services
Page 5of 7
Mumbai: +91-22-61488911
Module 3 - Deployment
It is critical to understand the deployment models of SilverLight 4 and the new features for supporting executing the applications out of the browser. We also have support for using local storage to store temporary application data. This module will look at the various deployment options available in SilverLight 4.
Topics covered: Deployment and Localization Application structure. o The Application Package o Deploying Files In-Package, as External Parts, or On-Demand Application hosting. o Using the HTML object element. o Using the Silverlight.js helper file. o Host HTML content using WebBrowser control Out-of-Browser Support o Out-of-Browser Install, Launch, and Uninstall o Detecting Network Connectivity and Out-of-Browser Status o Checking for Application Updates Elevated trust applications COM interoperability o ComAutomationFactory API o COM Object Access in Trusted Applications Access local files on users machine Changes in Network Cross-domain Request for Trusted Application
Throughout the course a case-study implementation will be taken up to explain the need for each feature, where it fits in the solution and how to implement it.
Page 6of 7
Mumbai: +91-22-61488911
Both of them are developed completely using Silverlight with no HTML. XAML Controls of Silverlight were chosen for their richness and feature set, and for their full Silverlight 4 support. The interactive web site includes a number of pages, offering details about the membership registration, the available facilities, as well as contact information along with an interactive map which allows users to easily find their way to the Club by typing their current location. There is also an iPhone like image gallery utilizing the CoverFlow control, a Registration form and a guest book where member can give their feedback. The member data management system includes a data service which allows users to add, delete and update member detail. It integrates a tree view and a grid control, so that when a tree view item is selected, its content is displayed in the grid. The membership management system also includes a business entities management section where users can add, delete and update data objects from the web site.
Page 7of 7
Mumbai: +91-22-61488911