Chapter 5: An Overview of COM Coding for .NET

team lib


In Chapter 4, you learned techniques for making your .NET components accessible to unmanaged applications through COM. You can use many of these same techniques, with a little augmentation , to make your .NET components work in the COM+ environment as well. The purpose of this chapter is to provide you with the knowledge required to understand the relationship between COM, DCOM, COM+, and .NET. Understanding these relationships is important if you want to create a functional COM+ application.

Remember that COM+ relies on COM and DCOM (Microsoft Distributed Component Object Model) to provide part of its functionality. COM is the source of component technology, while DCOM provides the remote procedure call (RPC) functionality. The first two sections of this chapter explore the relationship between the two. The chapter will also discuss how Microsoft Message Queuing (MSMQ) fits within the COM+ Queued Components . Using message queuing can greatly enhance the flexibility of your application and allow it to process data asynchronously.

The final portion of the chapter discusses some COM+-specific issues you need to consider when working with .NET components. For example, the communication with COM+ is two way, so you need to know how to accept as well as send information to COM+. In general, youll find that the hardest thing to understand is the communication specifically , how it occursbecause .NET performs part of the work for you in the background.

team lib

COM Programming with Microsoft .NET
COM Programming with Microsoft .NET
ISBN: 0735618755
EAN: 2147483647
Year: 2006
Pages: 140

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: