Home
Browse all 647 examples
Download all 647 examples
Download sample chapters
Reviews
Errata
Acknowledgments
Links on .NET
Paradoxal Press

Buy directly from Paradoxal Press at $33.99 (Save 43%)



Category: Programming
Level: Beginner to seasoned
900 pages
ISBN-10 097661322-0
ISBN-13 978-097661322-0
$59.99 USA
$79.99 CANADA


Chapter 22: .NET Remoting


Chapter 21<     > Chapter 23


Listings: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

Table of content:

Introduction
       What is .NET Remoting?
       FAQ

Marshaling By Reference (MBR)

Marshalling By Value (MBV) and binary serialization
       Version-tolerant serialization

The ObjectHandle class

Object activation
       Components of a distributed architecture
       Host overview
       Channel overview
       Synchronous, asynchronous and one-way calls
       Object activation vs. object creation

Well-Known Object activation (WKO)
       WKO single call activation vs. WKO singleton activation

Client Activated Object (CAO)
       Activating an object with the new keyword
       Potential problems

The factory design pattern and the soapsuds.exe tool
       The factory design pattern
       The soapsuds.exe tool

Life cycle of Well-Know and Client Activated Objects

Configuring .NET Remoting
       Configuring a host
       Configuring a client
       Using both interfaces and configuration files

Deployment of a .NET Remoting server
       Windows services
       IIS

Securing a .NET Remoting channel
       Securing a TCP channel
       Securing an HTTP channel

Proxy and message
       Transforming a method call to a message
       The IMessage interface hierarchy
       Transparent proxy, real proxy and the ObjRef class
       Publishing an object by using the ObjRef class
       Message sink
       Why considering custom real proxy?
       Developping a custom real proxy
       Using a custom real proxy on all instances of a class
       Read and write access to method call parameters

Channel
       Introduction
       Sender channels and proxies
       Receiver channels and server objects
       Message sink, formatter and channel
       Channel sink providers
       Example: Displaying the size of network messages

.NET context
       Introduction 
       Context-bound and context-agile object
       Context attribute and context property
       Message sink regions
       Example using regions
       Call context

Summary
       Four ways to activate an object
       Intercepting messages



Copyright Patrick Smacchia 2006 2007