Advanced .NET Remoting (eBook)

eBook Download: PDF
2006 | 2nd ed.
XXVIII, 608 Seiten
Apress (Verlag)
978-1-4302-0011-6 (ISBN)

Lese- und Medienproben

Advanced .NET Remoting - Mario Szpuszta, Ingo Rammer
Systemvoraussetzungen
62,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
* 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.
Surpassing any white papers, specialist documents and other documentationthis book features in-depth coverage of the .NET Remoting Framework. The text is organized into three main parts, and this revised, second edition features 150 pages of entirely new material! Part one includes a guide to the 1.1 framework and its capabilities in real-world applications. Part two presents .NET remoting internals, and provides real-world code and development strategies. Finally, part three looks at futuristic remoting tools and their present implementation in Visual Studio .NET 2005. You will come to see how remoting procedures will change within the new IDE and revised framework.

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.

Contents 7
About the Authors 17
About the Technical Reviewer 18
Acknowledgments 19
Introduction 20
Part I Understanding 25
Chapter 1 Introduction to Remoting 26
What Is Remoting? 26
Scenarios for .NET Remoting 26
Evolution of Remoting 27
Summary 30
Chapter 2 NET Remoting Basics 31
Advantages of .NET Remoting 31
Summary 45
Chapter 3 .NET Remoting in Action 46
Types of Remoting 46
Types of Invocation 67
Multiserver Configuration 80
Sharing Assemblies 88
Summary 95
Chapter 4 Configuration and Deployment 96
Configuration Files 97
What About Interfaces? 121
Deployment 129
Summary 142
Chapter 5 Securing .NET Remoting 143
Building Secure Systems 143
Authentication Protocols in Windows 144
Identities and Principals: A Short Overview 149
Securing with IIS 153
Security Outside of IIS 160
Implementing Authorization in the Server 169
Security with Remoting in .NET 2.0 (Beta) 171
Summary 180
Chapter 6 Creating Remoting Clients 181
Creating a Server for Your Clients 181
Creating a Console Client 183
Creating Windows Forms Clients 187
Creating Back-End–Based Clients 189
Summary 204
Chapter 7 In-Depth .NET Remoting 205
Managing an Object’s Lifetime 205
Using the CallContext 229
Remoting Events 233
Summary 244
Chapter 8 The Ins and Outs of Versioning 245
.NET Framework Versioning Basics 245
Versioning in .NET Remoting—Fundamentals 253
Advanced Versioning Concepts 266
Summary 293
Chapter 9 .NET Remoting Tips and Best Practices 295
.NET Remoting Use Cases 295
The Nine Rules of Scalable Remoting 300
Using Events and Sponsors 301
SoapSuds vs. Interfaces in .NET Remoting 306
Custom Exceptions 308
Scaling Out Remoting Solutions 310
Summary 321
Chapter 10 Troubleshooting .NET Remoting 322
Debugging Hints 322
Configuration File Settings 324
BinaryFormatter Version Incompatibility 328
Changing Security Restrictions with TypeFilterLevel 330
Using Custom Exceptions 332
Multihomed Machines and Firewalls 334
Summary 337
Part II Extending 338
Chapter 11 Inside the Framework 339
Looking at the Five Elements of Remoting 339
Client-Side Messaging 349
Server-Side Messaging 351
All About Asynchronous Messaging 356
Summary 366
Chapter 12 Creation of Sinks 367
Understanding Sink Providers 367
Using Dynamic Sinks 374
Summary 375
Chapter 13 Extending .NET Remoting 376
Creating a Compression Sink 376
Encrypting the Transfer 392
Passing Runtime Information 407
Changing the Programming Model 419
Avoiding the BinaryFormatter Version Mismatch 426
Using a Custom Proxy 430
Some Final Words of Caution 436
Summary 436
Chapter 14 Developing a Transport Channel 438
Protocol Considerations 438
Encapsulating the Protocols 443
Implementing the Client Channel 462
Implementing the Server Channel 470
Wrapping the Channel 479
Using the SmtpChannel 482
Some Final Words of Caution 485
Summary 485
Chapter 15 Context Matters 486
Working at the MetaData Level 488
Creating a Context 489
Checking Parameters in an IMessageSink 497
Summary 500
Conclusion 501
Part III Reference 502
APPENDIX A .NET Remoting Usage Reference 503
System Types 503
System.Runtime.Remoting 507
System.Runtime.Remoting.Channels 515
System.Runtime.Remoting.Channels.Http 520
System.Runtime.Remoting.Channels.Tcp 522
System.Runtime.Remoting.Lifetime 524
System.Runtime.Remoting.Messaging 528
System.Runtime.Remoting.Metadata 530
System.Runtime.Remoting.Services 532
ystem.Runtime.Serialization 534
System.Runtime.Serialization.Formatters 537
Summary 539
APPENDIX B .NET Remoting Extensibility Reference 540
System.Runtime.Remoting.Messaging 540
System.Runtime.Remoting.Activation 544
System.Runtime.Remoting.Proxies 545
System.Runtime.Remoting.Channels 546
Summary 555
APPENDIX C .NET Remoting Links 556
Ingo’s .NET Remoting FAQ Corner 556
MSDN and MSDN Magazine Articles 556
.NET Remoting Interoperability 559
Custom .NET Remoting Channels 559
Interesting Technical Articles 561
Remoting Tools 563
Index 564

Erscheint lt. Verlag 22.11.2006
Zusatzinfo XXVIII, 608 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte Design • documentation • Java • Microsoft • net • programming • versioning • Web Services
ISBN-10 1-4302-0011-1 / 1430200111
ISBN-13 978-1-4302-0011-6 / 9781430200116
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 5,8 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Praxisbuch für Administratoren und DevOps-Teams

von Axel Miesen

eBook Download (2022)
Rheinwerk Computing (Verlag)
39,90