Home arrow ASP.NET arrow Understanding .NET Remoting

Understanding .NET Remoting

In this article, Aravind shows you how to build scalable, reliable and high-performance web services using the .NET remoting infrastructure.

Author Info:
By: Wrox Team
Rating: 4 stars4 stars4 stars4 stars4 stars / 108
November 25, 2002
  1. · Understanding .NET Remoting
  2. · Getting Started
  3. · Hosting the Remote Object on IIS
  4. · Method 1 (contd.)
  5. · Hosting the Remote Object in a Managed .NET Application Executable
  6. · Transport Channels
  7. · Serialization Formatters
  8. · Conclusion

print this article

Understanding .NET Remoting
(Page 1 of 8 )

Editor's Note: This article's code has been updated to work with the final release of the .Net framework.

The remoting infrastructure provided by the .NET runtime is a very powerful model that allows you to leverage the services of objects residing in different App Domains and host machines. The remoting model in .NET is extremely simple yet brings with it a whole myriad of rich features that allows you to fine tune the scalability and performance of your web service. It allows for communication between multiple App Domains either in the:
  • same process,
  • different processes,
  • same machine,
  • or different machines.
It's also the key enabler of Web Services in the .NET framework. We've seen how web services provide loosely coupled information processing islands in the Internet cloud that serve up consumers using standards like SOAP. What is important to understand is that the .NET remoting framework allows us to easily expose a .NET object to clients as a Web Service. (We will see exactly where SOAP fits into the .NET remoting stack when we talk about the message serialization formatters).

It's also worth noting that two of the three transport channels provided out-of-the box by the remoting framework carry SOAP payloads by default. It also facilitates CLR object remoting that marshals entire object references across the transport channel wire that can be unmarshalled and used at the other end by the client. What we will be examining in this article are the individual pieces that constitute the .NET remoting framework. We will take a look at the hosting options, the transport channels, the serialization formatters and the activation & lifetime management options that constitute the remoting infrastructure. Let's take a look at each of these pieces so that you can use them to your advantage to assemble web services that suit your business processing needs coupled with the best possible scalability and performance.
blog comments powered by Disqus

- How Caching Means More Ca-ching, Part 2
- How Caching Means More Ca-ching, Part 1
- Reading a Delimited File Using ASP.Net and V...
- What is .Net and Where is ASP.NET?
- An Object Driven Interface with .Net
- Create Your Own Guestbook In ASP.NET
- HTTP File Download Without User Interaction ...
- Dynamically Using Methods in ASP.NET
- Changing the Page Size Interactively in a Da...
- XML Serialization in ASP.NET
- Using Objects in ASP.NET: Part 1/2
- IE Web Controls in VB.NET
- Class Frameworks in VB .NET
- Cryptographic Objects in C#: Part 1
- Sample Chapter: Pure ASP.Net

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials