.NET Remoting

My latest article was just published in the June '03 edition of MSDN Magazine. 
You can read it online at http://msdn.microsoft.com/msdnmag/issues/03/06/NETRemoting/default.aspx.

Summary: "As .NET Remoting gains popularity in the enterprise space,
it must meet business demands for trustworthy computing. Remoting traffic can be secured
when objects are hosted in IIS, but when they aren't hosted in IIS, custom security
solutions can be developed. This article provides an in-depth look at writing channel
sinks for .NET.  It details the flow of data through custom channel sinks and
explains the kinds of manipulations that can be performed on that data."

An example pair of sinks is detailed (with code available for download) that demonstrates
how asymmetric encryption could be implemented for remoting.  Please note that
it is only a sample implementation used to show various ways remoting can be extended,
not as a production-ready solution.

Comments (7)
  1. aaaaaa says:



  2. wwwwwwwwwwww says:




  3. El Bruno says:

    Hi … I’m trying to implement Remoting with an Http Channel, to do this, I add a Remoting.config

    file to a WebServer Application and on the App_Start Event I run the following line :

    Dim strRemConfig As String

    strRemConfig = HttpContext.Current.Server.MapPath("./Remoting.config")


    And my Remote Object is started !!

    I have a test client, to check the functionallity, and It only works when the Virtual Directory is

    configured with an Anonymous Access in the Directory Security Options. (uses the IUSR_XXX user). but

    when I change to the "Integrated Windows Authentication" mode I receive the following error:

    ************** Exception Text **************

    System.Net.WebException: The underlying connection was closed: The request was canceled.

    Server stack trace:

    at System.Net.HttpWebRequest.CheckFinalStatus()

    I also receive a "401 Unauthorized error" sometimes.

    Do you have any suggestions to do this ? I want the Integrated Windows Authentication, to propagate

    the local logued Windows user and have integrated security in the BackEnd.

    Thanks from Spain

    El Bruno


    PD: Sorry 4 my poor English.

  4. See the article at http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetch11.asp, specifically the section entitled "Passing Credentials for Authentication to Remote Objects".

  5. Zoe Hart says:

    Can you point toward any good information about implementing a highly available .NET Remoting solution? Is load balancing in front of my remote server a good approach? Are there other high availability alternatives I should consider?



  6. My latest article was just published in the June ’03 edition of MSDN Magazine. 

    >        You can read it online at http://msdn.microsoft.com/msdnmag/issues/03/06/NETRemoting/default.aspx.

    I do not agree. Go to http://apartments.waw.pl/

  7. mahesh naik says:

    dear Indian,

      Can you give a small text wrieup on authentication in .net remoting. I have failed in all ways for a tcp channel on  2 xp professional pcs. HHTP works fine. I would be happy even if i can switch of all security but

    th eframework seems to work like a pune policeman …provides security even if not wanted in our bedromms…

    Mahesh Naik

    shunya @vsnl.com

Comments are closed.

Skip to main content