четверг, 11 ноября 2010 г.

Подготовка к экзамену 70-506: Silverlight 4, Development. Часть 3: Implementing Application Logic

В начало

Что нужно знать:

  • Handle events.
    This objective may include but is not limited to: handling routed events, bubbling events, implementing AddHandler.

  • Consume services asynchronously.
    This objective may include but is not limited to: creating and adding service references, handling asynchronous completed events, configuring service endpoints, handling service exceptions, handling timeouts

  • Work with background threads.
    This objective may include but is not limited to: spawning a background thread to execute code, returning data to the UI thread by using the dispatcher object, implementing the dispatcher timer

  • Work with dependency properties.
    This objective may include but is not limited to: creating dependency properties, specifying dependency property metadata, getting and setting dependency property values

  • Interact with attached properties.
    This objective may include but is not limited to: setting attached properties in XAML, getting and setting attached properties programmatically

  • Implement ICommand.
    This objective may include but is not limited to: executing an ICommand, implementing an ICommand, binding to an ICommand, passing a parameter

1. Handle events.
Handling routed events
Bubbling events
Implementing AddHandler

2. Consume services asynchronously.
Creating and adding service references
Handling asynchronous completed events, IAsyncResult 
Configuring service endpoints
Handling service exceptions
Handling timeouts

3. Work with background threads.
Class Dispatcher
Spawning a background thread to execute code
Returning data to the UI thread by using the dispatcher object
Implementing the dispatcher timer

4. Work with dependency properties.
Creating dependency properties
Specifying dependency property metadata
Getting and setting dependency property values

5. Interact with attached properties.
Setting attached properties in XAML
Getting and setting attached properties programmatically

6. Implement ICommand.
Executing an ICommand
Implementing an ICommand (Пример приложения для бизнеса, в нем реализованы ICommand, а так же следующие два пункта)
Binding to an ICommand
Passing a parameter

Блоги/Статьи:
Mark Monster (EN)
Маршрутизируемые события в Silverlight
Создание и настройка WCF сервиса в Silverlight 4 приложении
Приложения, управляемые службами, с использованием Silverlight 2 и WCF
Отображение данных в DataGrid при помощи LINQ и WCF в Silverlight
Silverlight 3 и WCF: Duplex
Который раз о фоновом потоке
Архитектура WPF. Dependency Properties
ЗАВИСИМЫЕ СВОЙСТВА (DEPENDENCY PROPERTIES)
Пример MVVM (Model-View-ViewModel) или программирование на WPF (Silverlight)
New SL4 Feature: Commanding (EN)
ICommand for Silverlight with Attached Behaviors (EN)

Video: (EN) 
Respond to Keyboard Events in Silverlight
How Do I: Use Command line Proxy Generation for Silverlight 3?
.NET RIA Services Intro
RIA Services support in Visual Studio 2010
WCF and Data Entity Modeling in Silverlight
Making Calls to Web Services
Asynchronous Downloads with the WebClient Class
How to Consume WCF and ASP.NET Web Services in Silverlight
Calling Web Services over HTTPS
HTTP Request with HttpWebRequest
Asynchronous Uploads with the WebClient Class
Http Communication
Using Multiple Threads with the BackgroundWorker
MVVM Introduction

Книга:
Книга “Введение в Silverlight 3” глава 12

Комментариев нет: