Product Details
Advanced .NET Remoting (C# Edition)

Advanced .NET Remoting (C# Edition)
By Ingo Rammer

Price:

This item is not available for purchase from this store.
Click here to go to Amazon to see other purchasing options.


35 new or used available from $0.73

Average customer review:

Product Description

Advanced .NET Remoting is the first book on the market that offers in-depth coverage of the .NET Remoting Framework. The book is divided into two sections&emdash;the first detailing the specifics of the framework and its capabilities in real-world applications. Topics include formatters, channels, lifetime issues, security, configuration files, and the basics of server-activated objects versus client-activated objects. Also covered in detail are Windows Services, IIS, and server-side hosting of remotable components in console applications.

The second part of the book presents an unprecedented view of .NET Remoting internals. Author Ingo Rammer shows how the framework uses message sinks and sink providers, and gives in-depth instruction on how to implement message and channel sinks. These chapters also give insight into the synchronous and asynchronous message processing within the framework.

Going far beyond the information you'll gather from Microsoft's documentation, Rammer explains how .NET Remoting really works, and how it can be extended. The book also includes a chapter on the development process and source code for several real-world message sinks, and shows you how to develop a custom Remoting transport channel from scratch. It concludes with detailed coverage of the ContextBoundObject class and .NET contexts, essential for using the technology within individual, client-only applications.


Product Details

  • Amazon Sales Rank: #944864 in Books
  • Published on: 2002-04-05
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 404 pages

Editorial Reviews

Amazon.com Review
With the arrival of .NET remoting, any programmer who wants to work with distributed objects can benefit from Advanced .NET Remoting, a solid tour of basic and expert techniques for working with distributed code on Microsoft's newest platform.

This title's concise, code-centered approach, backed up by judicious discussion of the finer technical points of .NET, is what helps make it a success. After touring the history of standards used for distributed computing over the years, from DCE/RPC to CORBA to COM and related Microsoft technologies, the author zeroes in on .NET remoting. Short, digestible examples highlight the relevant objects and APIs useful to create and invoke objects remotely. From the basics, the book moves forward with other possibilities for designers, whether using by value or reference arguments for objects, client-activated vs. server-activated objects, and a useful section on asynchronous processing for remote function calls. Early examples use the APIs and strategies you'll need to work on your own, and the author highlights "best practices" like using class factories.

Detailed discussion of deployment options (using XML) is followed by a quick discussion of security and authentication and then managing object lifetimes (including programmatic options through leasing and sponsors). Coverage of using strongly named assemblies (for the Global Assembly Cache, GAC) and versioning stresses the finer points of how different versions of .NET components can be invoked on the same server.

For experts, there’s a fine section that covers .NET remoting internals, explains the details of making distributed calls in .NET, and shows off how messages are formatted and passed between systems through proxies. Excellent use of sequence diagrams showing these features at work will make this chapter invaluable for the advanced reader (though you still use the sample code without having to master these .NET internals).

The book returns to its pragmatic focus with some interesting sample code for compressing and encrypting .NET remote messages with built-in support classes in .NET. A highly developed chapter demonstrates how you use custom transport channel to make remote calls via e-mail (through SMTP and POP3), showing off the flexibility of the .NET programming model. For the truly adventurous developer, a final chapter explores several (undocumented) features for examining and using context objects used in the .NET remoting model.

Overall, this concisely packaged book mixes the right level of sample code, detailed explanation, and advanced material that will let C# developers get going fast with .NET remoting, which can greatly simplify distributed programming on the new Windows platform. --Richard Dragan

Topics covered: Introduction to .NET remoting, history of distributed computing mechanisms (including DCE/RPC, CORBA, and COM to .NET), advantages of .NET remoting (and architecture), a simple getting started program using .NET remoting with a server and client, adding validation, types of remoting (passing objects by value and reference, singletons, published objects), using factories to create objects, server-activated vs. client-activated objects, lifetime management, synchronous vs. asynchronous function calls, multi-server programming, shared assemblies (and the soapsuds utility and proxies), configuration (XML config. files and standard options), deployment (console vs. Windows services vs. IIS), security issues (authentication and checking roles), using SSL and encryption, object lifetime management (lease time and managers, server-side sponsors), versioning for .NET components (strong naming and the Global Assembly Cache, GAC), delegate and events (tips for event handling), .NET remoting internals (proxies, messages, message sinks, formatters, and transport channels), internals of asynchronous processing, advanced sink programming (client-, server-side, and dynamic sinks), extending .NET remoting (including message compression and encryption support), custom transport channels (using POP3/SMTP), and undocumented techniques for working with .NET remoting context objects.

Review
Intermediate to advanced developers will appreciate this book if looking for an in-depth, no holds barred discussion of .NET remoting. -- Slashdot.org

About the Author
Ingo Rammer is co-founder of thinktecture, a company providing in-depth technical consulting and training services for software architects and developers. Ingo is a world-renowned expert for design and development of distributed applications, and he provides architecture, design, and architecture review services for teams of all sizes. He focuses mainly on improving performance, scalability and reliability of critical .NET applications. regular column on software design and architecture which is published in English, German and Italian. Ingo is the Microsoft Regional Director for Austria, and was recently awarded the Microsoft MVP status of Solution Architect.


Customer Reviews

Well it's about Time!5
Finally, a book that's not all fluff. I didn't need another book to go over the .Net language and framework at a high (Beginners level) AGAIN, like so many other books that are out there. I needed some real information on how to implement this VERY important technology that somehow seems to have been glossed over in lieu of Web services. I work for a consulting company that continually creates intranet applications for some major financial players and up until now we've been using a Web based model. Well now we are using .Net remoting with windows forms and it is like night and Day. Ingo Rammer covers all of the important topics and methods that you (the professional developer) will need to know. It's thorough, it's clear ,it's concise, and it's directly to the point. Each topic is clearly explained and all of his examples are easy(enough ) to follow. Ever serious developer must have a copy of this on his book shelf. Ingo even directly answered some questions I had by email that saved me hours of needless work. 5 STARS (I'd give it 10 if I could)

A very misleading book2
I agree with the reviewer who was confused about all the positive reviews. It's a very linear book that oversimplifies a very tricky subject. As you're reading along the examples seems to make everything clear. Then you realize that the knowledge gained is superficial. Tcp channels are mostly non-existant and working with configuration files, is not only lacking, the first example simply has wrong, or just confusing, information. Soapsuds is not well covered either and requires outside reading. In fact this is true in many areas.

It's a strange hybrid book. The beginning chapters are rudimentary, even sketchy, and the second half is overly detailed in a way that I found hard to learn from. There should be more real world examples. There are some things I've learned and some of the advanced examples are useful but it's not a book I'd heartily recommend. Finally, for me, this books organization distracts from it's use as a .net remoting reference.

.NET Remoting Demystified5
This has to be one of the best .NET books I have read. It goes way beyond the documentation and explains Remoting in a very clear and concise manner. Ingo Rammer points out pros/cons of the various remoting techniques and offers solutions/suggestions to common problems. He also explains the advanced details in a way that even I could understand ;-). I would recommend this book to anyone who plans on building applications with .NET.