Click here to Skip to main content
11,920,377 members (52,926 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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
Posted 22-Apr-11 2:16am
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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:[^]

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

Good luck!
Nishant Sivakumar 22-Apr-11 7:51am
Good answer, voted 5.
thatraja 22-Apr-11 12:15pm
Good answer Nij.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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";
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

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.

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

  Print Answers RSS
0 OriginalGriff 415
1 phil.o 170
3 F-ES Sitecore 130
4 RyanDev 120
0 OriginalGriff 6,778
1 KrunalRohit 4,495
2 Sergey Alexandrovich Kryukov 3,203
3 George Jonsson 2,805
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 22 Apr 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100