One may picture, too, the sudden shifting of the attention, the swiftly spreading coils and bellyings of that blackness advancing headlong,...
Introduction
This three-day instructor-led workshop provides students with the knowledge and skills to develop distributed applications by using the Microsoft( .NET Framework and Microsoft Visual Studio( 2005. The workshop focuses on building distributed applications by using Web services, remoting, Microsoft Message Queuing, and serviced components.
This workshop is intended for corporate and Independent software vendor application developers who have a desire to learn more about specific technology areas in distributed application development.
At Workshop Completion
After completing this workshop, students will be able to:
|
• |
Build and use a Web service. |
|
• |
Configure and customize a Web service application. |
|
• |
Call Web methods asynchronously. |
|
• |
Build remote client and server applications. |
|
• |
Create and serialize remoteable types. |
|
• |
Manage the lifetime of remote objects. |
|
• |
Call remote methods asynchronously. |
|
• |
Implement remote events. |
|
• |
Send and receive messages by using Microsoft Message Queuing. |
|
• |
Create and use serviced components. |
Before attending this workshop, students must:
|
• |
Be able to manage a solution environment using the Visual Studio 2005 Integrated development environment (IDE) and tools |
|
• |
Understand the Microsoft .NET Framework 2.0 and the Common Language Runtime |
|
• |
Be able to program an application by using a .NET Framework 2.0-compliant language |
|
• |
Know how to make assemblies available to other applications |
|
• |
Have a basic understanding of XML including XML declaration, elements, attributes, and namespaces |
|
• |
Have a basic understanding of application domains |
|
• |
Have a basic understanding of delegates and events |
|
• |
Have a basic understanding of threads |
Unit 1: Building and Consuming a Simple XML Web Service
This unit describes how you can create a simple Web service and client application by using the .NET Framework. It also explains how you can configure client proxies, and debug and deploy Web services.
Lessons
|
• |
Technical Context of Web Services |
|
• |
Components of Web Service Technology |
Lab 1: Building and Consuming a Simple Web Services
|
• |
Exercise 1. Creating a Web Service and Client |
|
• |
Exercise 2. Working with the Client Proxy |
|
• |
Exercise 3. Deploying a Web Service and Configuring a Client |
|
• |
Exercise 4. Debugging and Exception Handling in Web Services |
|
• |
Exercise 5. Determining Web Service Connectivity |
After completing this unit, students will be able to:
|
• |
Explain the technical context for Web services. |
|
• |
Understand key components of Web service technology. |
|
• |
Create a Web service and client. |
|
• |
Configure a Web service client and proxy. |
|
• |
Deploy and use a Web service. |
|
• |
Debug a Web service. |
|
• |
Determine Web service connectivity. |
Unit 2: Configuring and Customizing a Web Service
This unit introduces a number of important configuration and customization options for Web services. It describes how to control the way in which complex parameters to Web methods are serialized. This unit also shows how to use configuration files to control the way in which a Web service operates.
Lessons
|
• |
XML Serialization |
|
• |
How to Use Complex Data Types in Web Services |
|
• |
How to Use Attributes to Control Serialization |
|
• |
How to Use Service Configuration Attributes |
|
• |
Configuration Files |
Lab 2: Configuring and Customizing a Web Service
|
• |
Exercise 1. Creating and Using Custom Data Types |
|
• |
Exercise 2. Customizing the Web Service |
|
• |
Exercise 3. Configuring the Web Service Using the Web.config File |
After completing this unit, students will be able to:
|
• |
Explain XML serialization of user-defined classes. |
|
• |
Pass complex data types between a Web service and a client. |
|
• |
Configure XML serialization. |
|
• |
Configure SOAP formatting options. |
|
• |
Configure the namespace and binding for a Web service. |
|
• |
Configure a Web service by using the Web.config file. |
Unit 3: Calling Web Methods Asynchronously
This unit explains how to call a Web method asynchronously. It describes how to improve the responsiveness of client applications by avoiding the need to wait for Web methods to complete execution before continuing processing. This unit covers the different options available for calling Web methods asynchronously and it describes how to create one-way methods.
Lessons
|
• |
The Need for Asynchronous Calls |
|
• |
Options for Making Asynchronous Calls |
|
• |
One-Way Methods |
Lab 3: Calling Web Methods Asynchronously
|
• |
Exercise 1. Using a One-Way Method |
|
• |
Exercise 2. Calling a Web Method Asynchronously |
After completing this unit, students will be able to:
|
• |
Explain why asynchronous calls are needed by Web service clients. |
|
• |
Create and invoke one-way methods. |
|
• |
Call methods in a Web service asynchronously. |
Unit 4: Building a Remoting Client and Server
This unit describes key remoting concepts, and shows how to create a remoting server and client. This unit describes how to use remoting to call methods in remote objects, and how to pass data across remoting boundaries. This unit also shows how to configure and deploy remoting applications.
Lessons
|
• |
Technical Context of Remoting |
|
• |
Remoting Servers and Clients |
|
• |
Important Components of Remoting |
Lab 4: Building a Remoting Client and Server
|
• |
Exercise 1. Implementing a Simple Remoting Client and Server |
|
• |
Exercise 2. Passing Data by Value |
|
• |
Exercise 3. Configuring Remoting Channels and Activation Modes Programmatically |
|
• |
Exercise 4. Configuring Remoting Channels and Activation Modes with Configuration Files |
|
• |
Exercise 5. Deploying and Debugging Remotable Classes |
After completing this unit, students will be able to:
|
• |
Describe the technical context of remoting. |
|
• |
Implement a simple remoting server and client. |
|
• |
Pass data by value across a remoting boundary. |
|
• |
Configure remoting channels. |
|
• |
Use different activation modes. |
|
• |
Configure a remoting service by using a configuration file. |
|
• |
Deploy and host remotable types. |
|
• |
Debug a remotable type. |
Unit 5: Creating and Serializing Remotable Types
This unit describes how to transfer complex data values across remoting boundaries, and the issues involved in doing so. It compares and contrasts the marshal by value and marshal by reference mechanisms for accessing remote data. This unit also covers version compatibility issues between clients and servers using different versions of a class, and the special requirements for remoting generic classes.
Lessons
|
• |
Marshal by Value |
|
• |
Marshal by Reference |
|
• |
Version Compatibility for Remotable Types |
|
• |
Generic Classes |
Lab 5: Creating and Serializing Remotable Types
|
• |
Exercise 1. Using Serialization Formatters |
|
• |
Exercise 2. Using Marshal by Reference |
|
• |
Exercise 3. Using Version Tolerant Serialization |
After completing this unit, students will be able to:
|
• |
Describe the differences between marshal by value and marshal by reference. |
|
• |
Describe the issues surrounding versioning and remoting. |
|
• |
Use version tolerant serialization. |
|
• |
Configure a communication channel to use different serialization formatters. |
|
• |
Create and marshal remotable objects by reference. |
Unit 6: Performing Remoting Operations Asynchronously
This unit describes how to call a method asynchronously in the remoting environment. It covers the different techniques you can use and it explains how to raise events in a remoting server and handle them in a client.
Lessons
|
• |
Asynchronous Methods |
|
• |
Calling Remote Methods Asynchronously |
|
• |
One-Way Methods |
|
• |
Using Events in Remoting Applications |
Lab 6: Performing Remoting Operations Asynchronously
|
• |
Exercise 1: Calling Remote Methods Asynchronously |
|
• |
Exercise 2: Raising and Handling Events in Remoting |
After completing this unit, students will be able to:
|
• |
Call remoting methods asynchronously by using BeginInvoke. |
|
• |
Implement callbacks. |
|
• |
Create and call one-way methods. |
|
• |
Create and fire events in remote services. |
|
• |
Handle events in a client application. |
Unit 7: Managing the Lifetime of Remote Objects
This unit describes the lifetime of remote objects and how you can control them. This unit introduces the concepts of remote object leases and sponsors. This unit shows how to initialize a remote object's lease to a specific period, and how to renew an object's lease when it expires by using a sponsor.
Lessons
|
• |
Life Cycle of Remote Objects |
|
• |
Lifetime Sponsors |
|
• |
Lease Properties |
|
• |
Leases and Exception Handling |
Lab 7: Managing the Lifetime of Remote Objects
|
• |
Exercise 1: Initializing the Lifetime of Remote Objects |
|
• |
Exercise 2: Renewing the Lifetime of Remote Objects |
After completing this unit, students will be able to:
|
• |
Initialize the lifetime of a remote object. |
|
• |
Renew the lifetime of a remote object. |
|
• |
Configure the renewal properties of a lease. |
|
• |
Handle exceptions caused by lease expiry. |
Unit 8: Sending and Receiving Messages by Using Message Queuing
This unit describes how to use Microsoft Message Queuing to build distributed applications. It covers the essential aspects of building client and server applications that use message queues, how to create queues, how to send and receive messages, and how to handle replies to messages. This unit also describes how to access message queues across the Internet.
Lessons
|
• |
Understanding Message Queuing |
|
• |
Creating a Message Queue and Sending a Message |
|
• |
Receiving a Message and Posting a Response |
|
• |
Using IIS with Message Queuing |
Lab 8: Sending and Receiving Messages by Using Message Queuing
|
• |
Exercise 1. Building a Simple Messaging Client and Server |
|
• |
Exercise 2. Using More Complex Data Types and Formatters |
|
• |
Exercise 3. Using Response Queues and Time-Outs |
|
• |
Exercise 4. Placing Messages on a Queue by Using IIS and HTTP |
After completing this unit, students will be able to:
|
• |
Explain message queuing. |
|
• |
Create a message queue and send messages. |
|
• |
Receive a message and post a response. |
|
• |
Use Internet Information Services with message queuing. |
Unit 9: Creating and Consuming Serviced Components
This unit explains how to build and access serviced components in a .NET Framework application. This unit describes the relationship between .NET Framework serviced components and COM+. It shows how to use the .NET Framework to implement a serviced component that you can register as a COM+ application and how you can write applications that use serviced components.
Lessons
|
• |
COM+ Services |
|
• |
Implementing a Serviced Component |
|
• |
Registering a Serviced Component |
|
• |
Instantiating a Serviced Component |
Lab 9: Creating and Consuming Serviced Components
|
• |
Exercise 1. Creating and Using a Serviced Component |
|
• |
Exercise 2. Using Enterprise Services in a Serviced Component |
After completing this unit, students will be able to:
|
• |
Understand the role of COM+ services. |
|
• |
Implement a serviced component. |
|
• |
Register a serviced component. |
|
• |
Instantiate a serviced component. |
ly:A�$ir�Z ^serif"'>Configure ViewState properties and ControlState properties for Web server controls.
•
Store and retrieve Application and Session state.
•
Implement out-of-process session state.
•
Store and manage state data in the Cache object.
Unit 6: Accessing and Displaying Data
This unit describes how to add database connections to the Web.Config file and the benefits that this approach adds when building manageable Web applications. This unit then describes the new data controls for accessing data in a variety of formats. It includes details about using the SqlDataSource control, the XmlDataSource control, and the ObjectDataSource control. This unit also describes how user interface data controls are bound to the data source controls, and it includes a discussion about binding data-aware standard controls to data.
Lessons
|
• |
Database Connections and the Web.Config File |
|
• |
Relational Data and Data Source Controls |
|
• |
XML Data and Data Source Controls |
|
• |
Object Data and Data Source Controls |
Lab 6: Accessing and Displaying Data
|
• |
Exercise 1: Creating and Retrieving Database Connections |
|
• |
Exercise 2: Accessing Data by Using SqlDataSource Controls and Data Controls |
|
• |
Exercise 3: Accessing Objects as Data with ObjectDataSource Controls |
|
• |
Exercise 4: Accessing XML Data by Using XmlDataSource Controls |
After completing this unit, students will be able to:
|
• |
Explain how to store and retrieve database connections by using the Web.Config file. |
|
• |
Explain how to use data source controls to access relational data. |
|
• |
Explain how to use data source controls to access XML data. |
|
• |
Explain how to use data source controls to access object data. |
|
• |
Create and retrieve database connections by using the Web.Config file. |
|
• |
Access relational data by using the SqlDataSource control and data controls. |
|
• |
Access XML data by using the XmlDataSource control and data controls. |
|
• |
Access objects as data by using the ObjectDataSource control and data controls. |
Unit 7: Controlling Access to a Web Application
This unit describes authentication and authorization for Web applications. It also shows how to develop login, sign-up, and other membership pages for Web applications based on the ASP.NET 2.0 Membership system.
Lessons
|
• |
Authentication for Web Applications |
|
• |
Authorization for Web Applications |
|
• |
Site Membership Systems Using the Membership Class |
|
• |
Web Site Security Administration Using the Roles Class |
Lab 7: Controlling Access to a Web Application
|
• |
Exercise 1: Configuring Authentication and Authorization for a Web Application |
|
• |
Exercise 2: Implementing a Membership Registration Page |
|
• |
Exercise 3: Implementing a Login Page and Adding Login Controls |
|
• |
Exercise 4: Creating a Membership Management Administrative User Interface |
After completing this unit, students will be able to:
|
• |
Describe the authentication methods for Web applications. |
|
• |
Describe the authorization methods for Web applications. |
|
• |
Describe the main components of a membership system. |
|
• |
Describe how to build a security administration interface. |
|
• |
Configure authentication and authorization for a Web application. |
|
• |
Implement a membership registration page. |
|
• |
Implement a login page. |
|
• |
Create a membership management administrative user interface. |
Unit 8: Deploying a Web Application
This unit describes three different ways to deploy Web applications:
|
• |
Using the Copy Web Site utility to deploy a Web application in a non-compiled state |
|
• |
Using the Publish Web Site utility to deploy a precompiled version of the Web application |
|
• |
Building Microsoft Windows( Installer packages to create a redistributable application with full setup logic |
Lessons
|
• |
The Copy Web Site Utility |
|
• |
The Publish Web Site Utility |
|
• |
Windows Installer Setup Packages |
Lab 8: Deploying a Web Application
|
• |
Exercise 1. Deploying a Web Application by Using the Copy Web Site Utility |
|
• |
Exercise 2. Precompiling and Deploying a Web Application by Using the Publish Web Site Utility |
|
• |
Exercise 3. Building a Windows Installer Package for Deploying a Web Application |
After completing this unit, students will be able to:
|
• |
Describe how to use the Copy Web Site utility to deploy a Web application. |
|
• |
Describe how to use the Publish Web Site utility to precompile and deploy a Web application. |
|
• |
Describe how to build Windows Installer packages for deploying a Web application. |
|
• |
Deploy a Web application by using the Copy Web Site utility. |
|
• |
Precompile and deploy a Web application by using the Publish Web Site utility. |
|
• |
Build and run a Windows Installer setup application for deploying a Web application. |
Unit 9: Making Web Applications Available to Mobile Devices
This unit explains how to enable browsers running on mobile devices, such as Pocket PCs and mobile phones, to access pages within your application.
Lessons
|
• |
Device Emulators for Mobile Web Forms |
|
• |
Mobile Device Detection and Redirection |
|
• |
Mobile Web Forms |
|
• |
Device-Specific Features in Mobile Web Forms |
Lab 9: Making Web Applications Available to Mobile Devices
|
• |
Exercise 1. Managing Redirection for Mobile Devices |
|
• |
Exercise 2. Designing and Implementing a Mobile Web Form |
|
• |
Exercise 3. Designing Device-Specific Features for a Mobile Web Application |
|
• |
Exercise 4. Browsing a Mobile Web Application with Specific Device Emulators |
After completing this unit, students will be able to:
|
• |
Explain how to detect mobile devices and redirect them to an appropriate page in a Web application. |
|
• |
Describe mobile Web pages, forms, and mobile controls. |
|
• |
Explain how to use device-specific features in mobile Web pages to respond to the different capabilities of mobile devices. |
|
• |
Explain how to use device emulators in Visual Studio 2005 to test mobile Web pages. |
|
• |
Design and implement mobile Web forms. |
|
• |
Design device-specific features for mobile Web pages. |
| Attachment | Size |
|---|---|
| 2548.pdf | 0 bytes |