: Mario Szpuszta, Ingo Rammer
: Advanced .NET Remoting
: Apress
: 9781430200116
: 2
: CHF 48.70
:
: Informatik
: English
: 608
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF
* Proven best-seller and award winner on the market. Insiders highly recommended this title.

* More than 150 pages of new material plus a preview of changes for Whidbey (Visual Studio 2005).

* Goes far beyond any documentation, white papers and specialist documents available on the subject.



Mario Szpuszta is working in the Developer and Platform Group of Microsoft, Austria. Before he started working for Microsoft, Mario was involved in several projects based on COM+ and DCOM with Visual Basic and Visual C++ as well as projects based on Java and J2SE. With beta 2 of the .NET Framework, he started developing Web applications with ASP.NET. As developer evangelist for Microsoft Austria, he is doing workshops, trainings, and proof-of-concept projects together with independent software vendors in Austria based on .NET, Web Services, and Office 2003 technologies.
Contents7
About the Authors17
About the Technical Reviewer18
Acknowledgments19
Introduction20
Part I Understanding25
Chapter 1 Introduction to Remoting26
What Is Remoting?26
Scenarios for .NET Remoting26
Evolution of Remoting27
Summary30
Chapter 2 NET Remoting Basics31
Advantages of .NET Remoting31
Summary45
Chapter 3 .NET Remoting in Action46
Types of Remoting46
Types of Invocation67
Multiserver Configuration80
Sharing Assemblies88
Summary95
Chapter 4 Configuration and Deployment96
Configuration Files97
What About Interfaces?121
Deployment129
Summary142
Chapter 5 Securing .NET Remoting143
Building Secure Systems143
Authentication Protocols in Windows144
Identities and Principals: A Short Overview149
Securing with IIS153
Security Outside of IIS160
Implementing Authorization in the Server169
Security with Remoting in .NET 2.0 (Beta)171
Summary180
Chapter 6 Creating Remoting Clients181
Creating a Server for Your Clients181
Creating a Console Client183
Creating Windows Forms Clients187
Creating Back-End Based Clients189
Summary204
Chapter 7 In-Depth .NET Remoting205
Managing an Object s Lifetime205
Using the CallContext229
Remoting Events233
Summary244
Chapter 8 The Ins and Outs of Versioning245
.NET Framework Versioning Basics245
Versioning in .NET Remoting Fundamentals253
Advanced Versioning Concepts266
Summary293
Chapter 9 .NET Remoting Tips and Best Practices295
.NET Remoting Use Cases295
The Nine Rules of Scalable Remoting300
Using Events and Sponsors301
SoapSuds vs. Interfaces in .NET Remoting306
Custom Exceptions308
Scaling Out Remoting Solutions310
Summary321
Chapter 10 Troubleshooting .NET Remoting322
Debugging Hints322
Configuration File Settings324
BinaryFormatter Version Incompatibility328
Changing Security Restrictions with TypeFilterLevel330
Using Custom Exceptions332
Multihomed Machines and Firewalls334
Summary337
Part II Extending338
Chapter 11 Inside the Framework339
Looking at the Five Elements of Remoting339
Client-Side Messaging349
Server-Side Messaging351
All About Asynchronous Messaging356
Summary366
Chapter 12 Creation of Sinks367
Understanding Sink Providers367
Using Dynamic Sinks374
Summary375
Chapter 13 Extending .NET Remoting376
Creating a Compression Sink376
Encrypting the Transfer392
Passing Runtime Information407
Changing the Programming Model419
Avoiding the BinaryFormatter Version Mismatch426
Using a Custom Proxy430
Some Final Words of Caution436
Summary436
Chapter 14 Developing a Transport Channel438
Protocol Considerations438
Encapsulating the Protocols443
Implementing the Client Channel462
Implementing the Server Channel470
Wrapping the Channel479
Using the SmtpChannel482
Some Final Words of Caution485
Summary485
Chapter 15 Context Matters486
Working at the MetaData Level488
Creating a Context489
Checking Parameters in an IMessageSink497
Summary500
Conclusion501
Part III Reference502
APPENDIX A .NET Remoting Usage Reference503
System Types503
System.Runtime.Remoting507
System.Runtime.Remoting.Channels515
System.Runtime.Remoting.Channels.Http520
System.Runtime.Remoting.Channels.Tcp522
System.Runtime.Remoting.Lifetime524
System.Runtime.Remoting.Messaging528
System.Runtime.Remoting.Metadata530
System.Runtime.Remoting.Services532
ystem.Runtime.Serialization534
System.Runtime.Serialization.Formatters537
Summary539
APPENDIX B .NET Remoting Extensibility Reference540
System.Runtime.Remoting.Messaging540
System.Runtime.Remoting.Activation544
System.Runtime.Remoting.Proxies545
System.Runtime.Remoting.Channels546
Summary555
APPENDIX C .NET Remoting Links556
Ingo s .NET Remoting FAQ Corner556
MSDN and MSDN Magazine Articles556
.NET Remoting Interoperability559
Custom .NET Remoting Channels559
Interesting Technical Articles561
Remoting Tools563
Index564