Appendix . How To: Host a Remote Object in a Windows Service

This How To describes how to host a remote object in a Windows service and call it from an ASP.NET Web application.

Notes

  • Remote objects (that is, .NET objects accessed remotely using .NET Remoting technology) can be hosted in Windows services, custom executables, or ASP.NET.

  • Clients communicate with remote objects hosted in custom executables or Windows services by using the TCP channel.

  • Clients communicate with remote objects hosted in ASP.NET by using the HTTP channel.

  • If security is the prime concern, host objects in ASP.NET and use the HTTP channel. This allows you to benefit from the underlying security features of ASP.NET and IIS.

    For information about how to host a remote object in ...

Get Building Secure Microsoft® ASP.NET Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.