Application never shuts down

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an icon that points at a server application written in dotNet.

I wish to allow the users on distributed pc's to be able to close the
application and walk away but I have to ensure that this does not shut down
the actual application on the server.

In this way the application on the server acts kind of like a service but it
can never be closed down on the server.

Has anybody any idea how to implement this or indeed can it be done?
 
Hi,

The way I would do it is to create a web service which handles all
my business logic. Then I would create a windows forms application that uses
the web service. That way the web service is always available and the client
can shut down the application on his pc. I hope this helps

Ken
 
thankyou,

Unfortunately I have no (and I mean that literally) experience of web
services and xml. Is there another simpler(to me) means of achieveing this
task.
 
Of course Time is of the essence here and reading my book on xml web services
is merely a lost dream at this stage.

Could I use API calls to get the computer name and implement some logic
around the Application.Exit when it's event is fired that ensures the Exit
button on a non-server machine cannot close the server application. Does that
sound mad?
 
marcmc said:
I have an icon that points at a server application written in dotNet.

I wish to allow the users on distributed pc's to be able to close the
application and walk away but I have to ensure that this does not shut
down
the actual application on the server.

In this way the application on the server acts kind of like a service but
it
can never be closed down on the server.

Has anybody any idea how to implement this or indeed can it be done?

if the application is going to "act kind of like a service", why not make it
an actual service?
 
I don't have that option due to my reliability on Sophisticated logging and
sms tools within .net. For that I need a working interface.
 
Hi,

What does you application do?

Ken
-------------
Of course Time is of the essence here and reading my book on xml web
services
is merely a lost dream at this stage.

Could I use API calls to get the computer name and implement some logic
around the Application.Exit when it's event is fired that ensures the Exit
button on a non-server machine cannot close the server application. Does
that
sound mad?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top