Chapter 5: Messages and Proxies

Chapter 5

Messages and Proxies

So far, we ve used only the out-of-the-box functionality of .NET Remoting. In this chapter, we ll begin customizing various elements of the .NET Remoting infrastructure, starting with proxies. Specifically, we ll look at creating a custom proxy that implements a simple load-balancing scheme. We ll develop another proxy that shows how ProxyAttribute can be used to intercept activation. We ll also show you how to use call context to transfer extra information with the method call. However, before we discuss customizing proxies, let s examine the various kinds of messages a proxy might encounter.



Microsoft. NET Remoting
Microsoft .NET Remoting (Pro-Developer)
ISBN: 0735617783
EAN: 2147483647
Year: 2005
Pages: 46

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