The .NET and COM Interoperability Handbook

The .NET and COM Interoperability Handbook

By (author) 

List price: US$53.51

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

This book explains the .NET Framework from the perspective of a COM/COM+ programmer. It compares COM/COM+ and .NET. It also shows readers how to use their existing COM/COM+ components from .NET and how to call .NET components from their Win32/COM applications.
show more

Product details

  • Paperback | 720 pages
  • 174.8 x 233.7 x 49.5mm | 1,283.68g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • 013046130X
  • 9780130461308

Table of contents

Preface.


Acknowledgments.


About This Series.


1. What's in a Name?


Microsoft .NET. XML Web Services. XML. SOAP.The .NET Framework. The .NET Framework SDK. The CLR. MSIL. The .NET Framework Class Library. ADO.NET. ASP.NET. Windows Forms. Other Microsoft.NET Technologies. Stale .NET-Related Names. Comparing .NET to Java. Summary.



2. Comparing COM and .NET.


What is a Software Component? What Is a Software Bus? Life Cycle Management. Programming Language Independence. Location Transparency. Extensibility. Versioning. Summary.



3. Exploring the CLR.


Describing The CLR. Defining Managed Code and Managed Data. Types. Assemblies. MSIL. How the Runtime Locates Assemblies. Garbage Collection. Code Access Security. Summary.



4. A Quick Introduction to C#.


Getting Started with C#. Creating a Simple Hello World Application. Compiling and Linking the Hello World Application. The Basic Operators in C#. The Primitive Types Available in C#. Creating and Manipulating a String in C#. Creating and Using an Array in C#. Declaring classes in C#. Using Inheritance in C#. Flow of Control Constructs. Exception Handling in C#. Summary.



5. Using Visual Studio .NET.


Introduction. Summary.



6. An Introduction to COM Interop.


Introduction. COM Interop. Using COM Objects from .NET Clients. Using .NET Objects from COM Clients. Platform Invoke. Summary.



7. Advanced .NET to COM Interop.


Object Life Cycle Implications. Using COM Events in Managed Code. Using COM-Rich Error Information in Managed Code. Multithreading and COM Apartments. Primary Interop Assemblies. Advanced Interop Marshaling Considerations Using ActiveX Controls in Managed Code. Performance Considerations. Advanced Aspects of Pinvoke. Summary.



8. Advanced COM to .NET Interop.


Object Creation. Object Life-Cycle Implications. Overloaded Methods. COM Apartments. Using Types from the .NET Framework Class Library. Class Interfaces Revisited. Rich Error Information. Using Windows Forms Controls. ComVisible. Handling Managed Events from a COM Client. Deploying COM/Win32 Applications That Use .NET Components. Summary.



9. Using COM+ (Enterprise Services).


A Couple of Big Caveats. Creating a Serviced Component. Creating a Client. The Implementation of the Serviced Component Methods. Summary.



10. XML Web Services.


Web Services: The Big Picture. The ASP.NET Web Services Infrastructure. Creating a Simple Web Service. Creating and Consuming a Web Service with Visual Studio .NET. XML Web Services and Data. Returning Data Using a Dataset. Transactions. Summary.



11. .NET Remoting.


Why Do We Need .NET Remoting? .NET Remoting Architecture. Categories of Remotable Types. A Simple .NET Remoting Client and Server. Configuration. Code Organization. Soapsuds. Hosting Your Server in IIS. Interoperation Between COM+ and Web Services. Summary.



12. Migration and Interop Strategies.


Migration versus Interop. Vertical Migration. Horizontal Migration. Summary.



Index.
show more

About Alan Gordon

ALAN GORDON, Group Program Manager at FieldCentrix in Irvine, CA, is responsible for FX Service Center, an Internet-based service management and dispatch application built with ASP, COM+, and SQL Server. He is also responsible for E-Service, an ASP.NET-based product that allows field service companies to quickly enable their customers to make and track service calls on the Web.
show more