Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
3.33/5 (3 votes)
See more:
Hello every one. We have done a C# window application project. Now we would like to run it through our department server using Intranet. so I would like to know that really is it possible to run on Intranet or again Should We code it in C# web form?

Please help me.

Thanks in advance
ganesh.
Posted

E.F. Nijboer's suggestion to use ClickOnce is pretty good. Alternatively, providing you can set up the right permissions, clients may be able to run it off a network share. There may be problems with file locking if the app uses config files in the same folder.

Alternatively, if the app uses a client-server model, deploy the clients to the intravet machines, either via clickonce or via sharing a network folder with a setup or msi, and then each client can connect to the server (which may be an app or could just be a database server). That'd be some really old and outdated approach there, but it sometimes works just fine.
 
Share this answer
 
v2
You can use ClickOnce deployment. This makes it very easy because you can publish it from a file share or website. It will install itself when needed and you can also configure it so that new versions are automatically used when available. This is ideal for intranet applications. Have a look at this link to find out more about it:
http://msdn.microsoft.com/en-us/library/wh45kb66%28v=vs.90%29.aspx[^]

CodeProject article on ClickOnce:
ClickOnce - Quick steps to Deploy, Install and Update Windows Based Client Applications[^]

Good luck!
 
Share this answer
 
v2
Comments
Nish Nishant 22-Apr-11 7:51am    
Good answer, voted 5.
thatraja 22-Apr-11 12:15pm    
Good answer Nij.
yes ! off course ...


make a web page were you access your program as follow :

System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = "yourprogram.exe";
Proc.Start();
 
Share this answer
 
Hi,

You do not need to recode your application.
Just publish your application to IIS server.

For more clarification go through with this article
Publish Wizard

Regards
Ankit
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900