locked
what does "remotable.rem" means in config file on .net remoting RRS feed

  • Question

  • hello, i am studying .net remoting. when i was explorering MSDN , i found that there is a piece of config code i don't understand like this:

    page:http://msdn.microsoft.com/en-us/library/ecc85927(v=vs.100)

    code:

    <configuration>
       <system.runtime.remoting>
          <application>
             <service>
                <wellknown
                   mode="Singleton"
                   type="RemotableType, RemotableType"
                   objectUri="RemotableType.rem"
                />
             </service>
             <channels>
                <channel ref="http" port="8989"/>
             </channels>
          </application>
       </system.runtime.remoting>
    </configuration>

    ----------------------------

    who can tell me what the remotableType.rem means, is it a output file? i can't find where it is compiled in the MSDN example.

    Thanks.


    凝气神通

    Monday, August 27, 2012 2:41 PM

Answers

  • Hi PALadinWIC,

    Here 'RemotableType.rem' is the objectURI attribute value you had given in remoting server application configuration.


    Regards, http://www.shwetalodha.blogspot.in/

    • Proposed as answer by Shweta Jain (Lodha) Monday, August 27, 2012 4:13 PM
    • Marked as answer by Mike Feng Thursday, September 6, 2012 5:37 AM
    Monday, August 27, 2012 4:13 PM
  • Hi Pal,

    Thank you for posting on this forum.

    I don't think you can just replace the ".rem" extension to anyone others. Because .rem indecates this file type, and its functions. Please try to keep this extension.

    In addition, please take  a look at this article: http://msdn.microsoft.com/en-us/library/y6dc64f2(v=vs.100).aspx 

    This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF)

    And the WCF forum is here: http://social.msdn.microsoft.com/forums/en-US/wcf/threads/ 

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Mike Feng Thursday, September 6, 2012 5:37 AM
    Wednesday, August 29, 2012 3:44 PM

All replies

  • Hi PALadinWIC,

    Here 'RemotableType.rem' is the objectURI attribute value you had given in remoting server application configuration.


    Regards, http://www.shwetalodha.blogspot.in/

    • Proposed as answer by Shweta Jain (Lodha) Monday, August 27, 2012 4:13 PM
    • Marked as answer by Mike Feng Thursday, September 6, 2012 5:37 AM
    Monday, August 27, 2012 4:13 PM
  • thank you very much, so you means that i can replace the ".rem" to any other extends? right?

    凝气神通

    Tuesday, August 28, 2012 1:09 AM
  • Hi Pal,

    Thank you for posting on this forum.

    I don't think you can just replace the ".rem" extension to anyone others. Because .rem indecates this file type, and its functions. Please try to keep this extension.

    In addition, please take  a look at this article: http://msdn.microsoft.com/en-us/library/y6dc64f2(v=vs.100).aspx 

    This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF)

    And the WCF forum is here: http://social.msdn.microsoft.com/forums/en-US/wcf/threads/ 

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Mike Feng Thursday, September 6, 2012 5:37 AM
    Wednesday, August 29, 2012 3:44 PM