Click here to Skip to main content
Rate this: bad
good
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
ganesh.
Posted 22-Apr-11 2:16am
Rate this: bad
good
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:
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!
  Permalink  
v2
Comments
Nishant Sivakumar at 22-Apr-11 7:51am
   
Good answer, voted 5.
thatraja at 22-Apr-11 12:15pm
   
Good answer Nij.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Rate this: bad
good
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";
Proc.Start();
  Permalink  
Rate this: bad
good
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.
  Permalink  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 609
1 OriginalGriff 587
2 Maciej Los 325
3 Mathew Soji 195
4 BillWoodruff 190
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,712
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 22 Apr 2011
Copyright © CodeProject, 1999-2014
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