Home arrow ASP.NET arrow Page 7 - 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 - Serialization Formatters
(Page 7 of 8 )

Before an object can be sent across the transport channel, it needs to serialized and packed into a data format that can be transmitted across the wire. At the other end of the wire, the serialized data is read and deserialized back to the actual object or type that it represents. The Serialization is done by message-serialization formatters that convert the field or object's state into a format that is suitable for storage or transmission. The .NET framework provides you with two message-serialization formatters out-of-the-box. They include a binary serialization formatter which converts an object's state into a binary stream and a SOAP serialization formatter which converts it into an XML string representation that's human readable. The binary serialization formatter is slightly faster.

But the SOAP serialization formatter is the way to go when talking to other web services in the internet deployed in other platforms that typically accept and respond only to SOAP conformant requests from consumers. Typically, you need not be concerned about how the remoting runtime packs the method call and parameters into a SOAP envelope during serialization. The HTTP channel's default SOAP message formatter automatically does this for you. You could use an application like tcpTrace (see the Related links section for more information on how you could obtain and use tcpTrace ) to snoop in on the SOAP packets being sent across the channel which could help you to track problems during debugging.
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