Advanced .NET Remoting (C# Edition) / Edition 1by Ingo Rammer
Pub. Date: 04/08/2002
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.
- Publication date:
- Edition description:
- Older Edition
- Product dimensions:
- 7.50(w) x 9.25(h) x 1.06(d)
Table of Contents
|About the Author||xi|
|About the Technical Reviewer||xi|
|Chapter 1||Introduction to Remoting||1|
|What Is Remoting?||1|
|Scenarios for .NET Remoting||2|
|Evolution of Remoting||3|
|Chapter 2||.NET Remoting Basics||9|
|Advantages of .NET Remoting||9|
|Your First Remoting Application||14|
|Chapter 3||Remoting in Action||27|
|Types of Remoting||27|
|Types of Invocation||52|
|Chapter 4||Configuration and Deployment||87|
|Chapter 5||Securing .NET Remoting||125|
|Deployment for Authenticated Use||125|
|Deployment for Encrypted Use||133|
|Chapter 6||In-Depth .NET Remoting||135|
|Managing an Object's Lifetime||135|
|The Ins and Outs of Versioning||162|
|Using Asynchronous Calls||179|
|Chapter 7||Inside the Framework||201|
|Looking at the Five Elements of Remoting||201|
|All About Asynchronous Messaging||222|
|Chapter 8||Creation of Sinks||237|
|Understanding Sink Providers||237|
|Using Dynamic Sinks||246|
|Chapter 9||Extending .NET Remoting||249|
|Creating a Compression Sink||250|
|Encrypting the Transfer||269|
|Passing Runtime Information||286|
|Changing the Programming Model||299|
|Using a Custom Proxy||308|
|Chapter 10||Developing a Transport Channel||317|
|Encapsulating the Protocols||323|
|Implementing the Client Channel||346|
|Implementing the Server Channel||355|
|Wrapping the Channel||366|
|Using the SMTPChannel||369|
|Chapter 11||Context Matters||375|
|Working at the MetaData Level||377|
|Creating a Context||378|
|Checking Parameters in an IMessageSink||387|
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >
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 apress.com does not work.
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.
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...