Advanced .NET Remoting (C# Edition) / Edition 1

Advanced .NET Remoting (C# Edition) / Edition 1

3.3 3
by Ingo Rammer

ISBN-10: 1590590252

ISBN-13: 9781590590256

Pub. Date: 04/08/2002

Publisher: Apress

This is first book that focuses exclusively on .NET Remoting. Remoting is a complimentary technology to Web Services that allows far greater extensibility and integration. It leverages the capabilities of the .NET Platform in distributed application scenarios in which both client and server run in this environment. Contrary to WebServices, Remoting is based on


This is first book that focuses exclusively on .NET Remoting. Remoting is a complimentary technology to Web Services that allows far greater extensibility and integration. It leverages the capabilities of the .NET Platform in distributed application scenarios in which both client and server run in this environment. Contrary to WebServices, Remoting is based on plugable transfer protocols, including either a platform independent SOAP encoding or a higher speed binary protocol which both can be used either over HTTP or direct TCP connections. The Framework provides services for synchronous or asynchronous execution of remote methods, distributed object lifetime management and services for authentication and encryption via HTTPs.
"Advanced .NET Remoting" is the first book that really offers in-depth coverage of the .NET Remoting Framework. The first part of the book covers everything a developer needs to know to use to the Framework and its capabilities in real world applications, including the basics of Server Activated Objects vs. Client Activated Objects, formatters, channels, lifetime issues, security, configuration files, etc. The server side hosting of remoteable components in console applications, Windows Services, and IIS (Internet Information Services) are also covered in detail.
The second part presents .NET Remoting internals in an unprecedented way. Ingo Rammer shows how the Framework really uses message sinks and sink providers, and gives in-depth advise on why and how to implement message and channel sinks. These chapters will also give detailed insight in the synchronous and asynchronous message processing within the Framework.
Rammer also includes a chapter which presents the development process and source code for several "real world" message sinks and finally covers ContextBoundObject, which allows to use the techniques of the .NET Remoting Framework with local, client-only applications.
"Advanced .NET Remoting" will be tech reviewed by a member of Microsoft's Remoting team to ensure the highest quality of technical information.
Ingo Rammer is co-founder and CEO of Sycom Software, an Austrian software consulting company. He works as consultant, trainer and software architect for companies in the software and telecommunication business. During his professional career he has worked with a range of programming platforms but stayed focused mainly to Visual Basic and Java. Most recently, he has designed and implemented several large-scale distributed applications and XML-based distributed application frameworks.

Product Details

Publication date:
Edition description:
Older Edition
Product dimensions:
7.50(w) x 9.25(h) x 1.06(d)

Table of Contents

About the Authorxi
About the Technical Reviewerxi
Chapter 1Introduction to Remoting1
What Is Remoting?1
Scenarios for .NET Remoting2
Evolution of Remoting3
Chapter 2.NET Remoting Basics9
Advantages of .NET Remoting9
Your First Remoting Application14
Chapter 3Remoting in Action27
Types of Remoting27
Types of Invocation52
Multiserver Configuration68
Shared Assemblies77
Chapter 4Configuration and Deployment87
Configuration Files88
Chapter 5Securing .NET Remoting125
Deployment for Authenticated Use125
Deployment for Encrypted Use133
Chapter 6In-Depth .NET Remoting135
Managing an Object's Lifetime135
The Ins and Outs of Versioning162
Using Asynchronous Calls179
Remoting Events185
Chapter 7Inside the Framework201
Looking at the Five Elements of Remoting201
Client-Side Messaging214
Server-Side Messaging216
All About Asynchronous Messaging222
Chapter 8Creation of Sinks237
Understanding Sink Providers237
Using Dynamic Sinks246
Chapter 9Extending .NET Remoting249
Creating a Compression Sink250
Encrypting the Transfer269
Passing Runtime Information286
Changing the Programming Model299
Using a Custom Proxy308
Chapter 10Developing a Transport Channel317
Protocol Considerations317
Encapsulating the Protocols323
Implementing the Client Channel346
Implementing the Server Channel355
Wrapping the Channel366
Using the SMTPChannel369
Chapter 11Context Matters375
Working at the MetaData Level377
Creating a Context378
Checking Parameters in an IMessageSink387

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >

Advanced .NET Remoting (C# Edition) 3.3 out of 5 based on 0 ratings. 3 reviews.
Guest More than 1 year ago
As with any text there are a number of minor errors and typos. But this book has been out a year and a half and no corrections have been released. Most of the examples do not run under VS 2003 and the general 2003 fix listed on does not work.
Guest More than 1 year ago
I had a project that I had to get done where the most obvious course of action was to set up two processes that would talk to each other through events over .NET remoting. I had never used .NET remoting before, though, so I needed some good training materials. I looked at examples I found on the internet and the examples provided in MSDN, and I got absolutely nowhere. I had no idea what was going wrong, and no idea of how to find out what was going wrong. Enter Ingo Rammer. I picked this book up and within half an hour the examples got me farther along than I had gotten in the previous three days working with MSDN. The design was tight, and more importantly, it worked flawlessly the first time. About half of this book is dedicated to just getting you working, and it does a great job. The other half of the book digs deeper into the details of how things are working, and someday I'm sure that will help me out a great deal, as well. The thing about Ingo Rammer is that his help doesn't stop with this book. Go look for answers to your remoting problem in the microsoft newsgroups, and you'll see that his guidance is all over the place in there, from the simplest problems to the most comples. He's like some kind of friggin' machine. So, yeah. Great book, incredibly helpful.
Guest More than 1 year ago
This book should be called Basic .NET Remoting not Advanced .NET Remoting becuase it teaches basic remoting topics. An Advanced Remoting topic would have more depth in extending Remoting. This book dedicates only 8 pages to this task of extending the RemotingProxy, where there is a lot more that could be done such as extending the remoting proxy to communicate between AppDomains. However with this said, this is a good Remoting book that covers the basics of Remoting in depth and I would recommend it to developers trying to use Remoting and considering to extend it. It will certainly get you started...