Chapter 6
Message Sinks and Contexts
In this chapter, we ll continue exploring the customization of the .NET Remoting architecture by customizing features of the context architecture and message sinks. A deeper understanding of contexts and message sinks can help you design more efficient and powerful .NET Remoting applications. We ll use message sinks and contexts to prevent a client of a remote object from making a remote method call if the client passes invalid parameters to a method, thus saving a round-trip to the remote object. We ll also look at how you can trace messages and log exceptions thrown across context boundaries.