www.developersDen.com     info@developersDen.com     720.489.6042

 

Building COM+ Applications Using Microsoft .NET Enterprise Services

Course 2557—Five days—Instructor-led

 

Introduction

 

This five-day, instructor-led 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.

 

Audience

 

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.

•

Line-of-business (LOB) application developers.

 

Objective

 

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 to enable transactional support for resources lacking a resource manager.

•

Use loosely coupled events 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.

•

Use the enhancements provided by COM+ version 1.5 to improve the scalability, availability, and manageability of COM+ applications and use COM+ features such as services without components (SWCs), bring your own transaction (BYOT), and Phase Zero notification in applications.

 

Prerequisites

 

Before attending this course, students must have:

•

Experience building assemblies by using Microsoft Visual Basic .NET or Microsoft Visual C#.

•

Experience handling database transactions in program code.

 

In addition, it is recommended, but not required, that students have completed:

•

Course 2349: Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET).

 

Course Outline

 

Module 1: Introduction to COM+ Services

This module covers the evolution of applications from monolithic applications to client/server applications to component-based applications and the supporting application infrastructure that COM+ services provides. The module also covers the COM+ runtime architecture and how it uses surrogates, context, and interception to provide services to components.

 

Module 2: Configuring Just-in-Time Activation and Synchronization

This module describes the attributes that you can assign to components and how to write a serviced component. This module also describes how to access the object context from within code, JIT activation, synchronization, the relationship between synchronization and JIT activation, and how you can set JIT activation and synchronization for a component.

 

Module 3: Using ADO.NET to Work With Data

This module describes how to run a query and retrieve a result set by using ADO.NET. The module also covers how to pass parameters to a stored procedure, create typed DataSet objects, and use construction strings to specify connection information to establish a connection to a data source.

 

Module 4: Transaction Services

This module describes transaction processing, how it is implemented in .NET Enterprise Services, and how you add attributes to code to enable transaction processing.

 

Module 5: Securing Enterprise Applications

This module explains how to implement COM+ role-based security in serviced components by using .NET Enterprise Services.

 

Module 6: State Management

This module describes how to manage state in .NET Enterprise Services. It explains how to use the shared property manager (SPM) to store state, use ASP.NET applications to store application and session state, and use ASP.NET caching.

 

Module 7: Compensating Resource Managers

This module describes the architecture of compensating resource managers (CRMs) and how to implement CRMs.

 

Module 8: Loosely Coupled Events

This module describes the architecture of Loosely Coupled Events (LCEs) and the LCE system. This module also describes how to configure and implement publishers, subscribers, and event classes.

 

Module 9: Queued Components

The following topics are covered in this module:

•

Introduction to Queuing

•

Developing Queued Components

•

Queued Components and Transactions

 

Module 10: Debugging COM+ Applications

In this module, you will learn how to debug applications that use .NET Enterprise Services.

 

Module 11: Deploying and Administering COM+ Applications

This module introduces the COMAdmin objects and additional techniques and tools for deploying and administering COM+ applications. It describes the advantages and drawbacks of each technique so that students can select the one most appropriate for your application.

 

Module 12: COM+ 1.5 Enhancements

This module explains how to use new COM+ version 1.5 features that help you manage, scale, and maximize the uptime of your COM+ application more efficiently. The module also explains how to use .NET Enterprise Services without having to implement serviced components.