locked
Application That Will Run Without User Logged In RRS feed

  • Question

  • I am using .Net 3.5 / C# / VS 2008.

    I need to write an application that will run on a Windows 2008 server continuously and also has a GUI interface that shows some status messages. The application receives and process requests (via https), and displays the request and response as it processes them.

    I need this app to run on a server without my having to stay logged into the server and without leaving a Terminal Services session open. Is there a way to do that?

     

    I believe cannot do a service application since this has a GUI.

    Sunday, October 3, 2010 3:31 AM

Answers

  • Due to the fact the UI is only relevant when logged on, I suggest you approach the problem differently:

    Create a windows-service that does the logic, and a windows application for the UI.

    Interact between these 2 application using file-system or database.

    This is a very popular approach that many application use.

     


    Eli Gazit www.softwear.co.il
    • Proposed as answer by Mike_999 Sunday, October 3, 2010 10:45 AM
    • Marked as answer by Jing0 Thursday, October 7, 2010 9:14 AM
    Sunday, October 3, 2010 8:50 AM

All replies

  • Due to the fact the UI is only relevant when logged on, I suggest you approach the problem differently:

    Create a windows-service that does the logic, and a windows application for the UI.

    Interact between these 2 application using file-system or database.

    This is a very popular approach that many application use.

     


    Eli Gazit www.softwear.co.il
    • Proposed as answer by Mike_999 Sunday, October 3, 2010 10:45 AM
    • Marked as answer by Jing0 Thursday, October 7, 2010 9:14 AM
    Sunday, October 3, 2010 8:50 AM
  • Thank you for the response. I will try that.

    My apologies, I was expecting an automatic email when anyone responded, but none came. So I checked and found this response.

    Tuesday, October 19, 2010 6:49 PM