Life cycle of the remoting service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • travor

    Life cycle of the remoting service

    I have a console application and in it's main function I start up a remoting service.

    I want to know, if I close the console application, is the services will be closed together?

    If not,when will the service close?
    Last edited by Frinavale; Oct 6 '10, 03:52 PM.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    According to this article on Microsoft .NET Remoting, the objects used for remoting in your client application are under the control of a lease-based lifetime manager that ensures that the object is garbage collected when its lease expires.

    -Frinny

    Comment

    Working...