New Book
Advanced .NET Remoting Second Edition is now available:
Ingo Rammer and Mario Szpuszta have updated the popular book "Advanced .NET Remoting" releasing the second edition. Thia book covers all aspecst of .NET Remoting including some that are not documented anywhere else. This excerpt has three chapters on Extending .NET Remoting, Developing a Transport Channel, and Remoting Contexts. In this book you learned .NET Remoting from the basics to very advanced topics. In the first chapters, I introduced you to the various kinds of remote objects and how to create and register them. I covered the intricacies of client- activated objects and server-activated objects. You also learned about the various ways of generating the necessary metadata to allow the .NET Remoting framework to create transparent proxies. I showed you the deployment options for remoting servers that can be either managed applications (including console applications, Windows services, and Windows Form applications) and IIS. I then showed you more advanced topics such as security, event handling, versioning, and lifetime management by using leases and sponsors.In the second part of the book, I showed you how .NET Remoting works internally. You were introduced to proxies, messages, transport channels, formatters, message sinks, and channel sinks. After covering those architectural basics, I showed you how to leverage the .NET Remoting frameworkâs extensibility model by implementing your own sinks and sink providers. At the end of the second part, you finally learned how to implement a complete transport channel from scratch and how to use ContextBoundObject to intercept message calls.