MS2557 - Building COM+ Applications Using Microsoft .NET Enterprise Services
This course provides students with the knowledge and skills to effectively build scalable, distributed applications that use Microsoft® .NET Enterprise services and the Microsoft .NET
Framework. This course is intended for departmental developers who currently build client/server
applications and large-scale solutions for departments inside a business; consultants who work with developers to build client/server applications and large-scale solutions for businesses; Web developers who build Web-based applications requiring significant infrastructure support such as transactions, security, and pooling of resources; and Line-of-Business (LOB) application developers.
After completing this course, students will be able to describe the history of server-based applications and describe the COM+ runtime architecture; use attributes to configure an assembly as a COM+ application and create components that use Just-in-Time (JIT) activation and are synchronized; create data access components that use Microsoft ADO.NET to retrieve or update data in a database; create transactional components; help protect an enterprise application by using COM+ services role-based security; manage state in JIT activated components; create Compensating Resource Managers (CRMs) to enable transactional support for resources lacking a resource manager; use loosely coupled events (LCEs) to send notifications to other applications; create queued components; debug COM+ applications and describe common application-failure scenarios and how to solve these failures; create scripts for managing deployment and administration and use the enhancements profilability, and manageability of COM+ applications and use COM+ features such as Services Without Components (SWC), Bring Your Own Transaction (BYOT), and Phase Zero notification in applications.
Module 1: Introduction to COM+ Services
History of Server-Based Applications
The COM+ Runtime Architecture
Module 2: Configuring Just-in-Time Activation and Synchronization
The .NET Enterprise Services Programming Model
Just-in-Time Activation
Synchronization
Lab 2: Configuring Just-in-Time Activation
Exercise 1: Creating a Serviced Component
Exercise 2: Using a Serviced Component
Module 3: Using ADO.NET to Work With Data
The ADO.NET Architecture
Accessing a SQL Server Database
Lab 3: Using ADO.NET in a Serviced Component
Exercise 1: Creating a New Typed Dataset
Exercise 2: Updating the PurchasingSelect Component
Exercise 3: Updating the OrderProcessing Component
Exercise 4: Modifying the PlaceOrder Web Page
Module 4: Transaction Services
Introduction to Transaction Processing
.NET Enterprise Services Transactions
Lab 4: Using Transaction Services
Exercise 1: Creating a Transactional Component
Exercise 2: Updating the OrderProcessing Component
Exercise 3: Updating the OrderApp Web Application
Exercise 4: Testing with the OrderApproval Client
Module 5: Securing Enterprise Applications
Introduction to Application Security
Implementing COM+ Role-Based Security
Authentication and Impersonation
Lab 5: Securing Enterprise Applications
Exercise 1: Updating the PurchasingUpdate component
Exercise 2: Updating the OrderProcessing Component
Exercise 3: Updating the OrderApproval Client
Module 6: State Management
Introduction to State Management
Using the Shared Property Manager
Using ASP.NET to Store State
Lab 6: Managing Component State
Exercise 1: Updating the OrderProcessing Component
Module 7: Compensating Resource Managers
Introduction to Compensating Resource Managers
Implementing Compensating Resource Managers
Lab 7: Implementing Compensating Resource Managers
Exercise 1: Creating the OrderDocCRM Component
Exercise 2: Updating the OrderProcessing Component
Module 8: Loosely Coupled Events
Introduction to Loosely Coupled Events
COM+ Events
Using Loosely Coupled Events
Lab 8: Using Loosely Coupled Events
Exercise 1: Creating an Event Class
Exercise 2: Creating a Publisher
Exercise 3: Creating a Subscriber
Module 9: Queued Components
Introduction to Queuing
Developing Queued Components
Queued Components and Transactions
Lab 9: Creating a Queued Component
Exercise 1: Creating a Queued Component
Exercise 2: Calling the Queued Component
Module 10: Debugging COM+ Applications
Debugging Tools
Common Debugging Scenarios
Lab 10: Debugging COM+ Applications
Exercise 1: Debugging DCOM Problems
Exercise 2: Debugging Transaction Problems
Exercise 3: Debugging Security Problems
Module 11: Deploying and Administering COM+ Applications
Deploying a COM+ Application Built Using .NET Enterprise Services
Using COMAdmin Objects in WSH Scripts
Lab 11: Administering COM+ Applications
Exercise 1: Creating a COM+ Application
Exercise 2: Adding a Role to a COM+ Application
Exercise 3: Deleting a COM+ Application
Exercise 4 (Optional): Exposing a COM+ Application as an XML Web Service
Exercise 5 (Optional): Creating the OrderDispatch Service
Module 12: COM+ 1.5 Enhancements
Scalability and Availability Enhancements
Manageability Enhancements
Other COM+ Features