Using the .NET Framework to Develop Distributed Applications

Team-Fly    

Developing XML Web Services and Server Components with Visual C#™ .NET and the .NET Framework, Exam Cram™ 2 (Exam 70-320)
By Amit Kalani, Priti Kalani

Table of Contents
Chapter 4.  .NET Remoting


The .NET Framework organizes the classes for distributed application development in the following three namespaces:

  • The System.Net namespace Provides lower-level classes for creating your own framework for developing a distributed application.

  • The System.Runtime.Remoting namespace Enables communication between objects in different application domains, whether they are on the same computer.

  • The System.Web.Services namespace Enables objects in different application domains to exchange messages through standard protocols such as the Hypertext Transfer Protocol (HTTP) and the Simple Object Access Protocol (SOAP).

The functionality offered by .NET remoting and ASP.NET Web services appears very similar to each other. In fact, ASP.NET Web services are actually built on the .NET remoting infrastructure. Consider the following key points when choosing between the two:

  • Choose .NET remoting when both the endpoints (client and server) of a distributed application are in your control. This might be the case when an application has been designed for use within a corporate network.

  • Choose ASP.NET Web services when one of the endpoints of a distributed application is not in your control. This might be the case when your application is interoperating with your business partner's application.


    Team-Fly    
    Top


    MCAD Developing XML Web Services and Server Components with Visual C#. NET and the. NET Framework Exam Cram 2 (Exam Cram 70-320)
    Managing Globally with Information Technology
    ISBN: 789728974
    EAN: 2147483647
    Year: 2002
    Pages: 179

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net