Chapter Summary

‚   ‚  

The .NET Framework is a modern platform for building distributed applications. In this chapter, you learned how to create distributed applications using the remoting library of the .NET Framework.


  • Application domain

  • Asynchronous call

  • Channel

  • Marshalling

  • Proxy

  • Synchronous call

  • Remoting

  • Runtime Host

You learned that the remoting framework is made up of several elements such as a remotable class, remoting host, remoting client, channel, formatters, and so on. Each of these elements is configurable and extensible. You practiced creating a remotable class and hosting that in several modes such as server-activated SingleCall, server-activated Singleton, and client-activated objects. You also used different channels, such as HTTP and TCP, and different formatters, such as SOAP and binary.

I also demonstrated the use of a configuration file to configure remoting for a remoting host and a remoting client. You noted that depending on your requirements, you can save the remoting configuration at two levels ‚ one at the application level (.exe.config, .dll.config, or web.config for IIS) and the other at machine-level (machine.config).

Finally, I discussed the technique of invoking a remote method asynchronously with the help of delegates. An asynchronous method class makes a user -interface ‚ based application, such as a Windows forms application, quite responsive to user input despite the delays caused in a remote method call.

‚   ‚  

MCAD. MCSD Training Guide (Exam 70-310. Developing XML Web Services and Server Components with Visual Basic. NET and the. NET Framework)
MCAD/MCSD Training Guide (70-310): Developing XML Web Services and Server Components with Visual Basic(R) .NET and the .NET Framework
ISBN: 0789728206
EAN: 2147483647
Year: 2002
Pages: 166 © 2008-2017.
If you may any questions please contact us: