是否可以在Intranet上运行C#窗口应用程序 [英] Is it possible to run a c# window application on intranet

查看:83
本文介绍了是否可以在Intranet上运行C#窗口应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我们已经完成了一个C#窗口应用程序项目.现在,我们想使用Intranet在我们的部门服务器上运行它.所以我想知道是否真的有可能在Intranet上运行或再次运行?是否应该以C#Web形式进行编码?

请帮帮我.

在此先感谢
ganesh.

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.

推荐答案

您可以使用ClickOnce部署.这使它非常容易,因为您可以从文件共享或网站上发布它.它会在需要时自行安装,您也可以对其进行配置,以便在可用时自动使用新版本.这是Intranet应用程序的理想选择.请查看此链接以了解更多信息:
http://msdn.microsoft.com/en-us/library/wh45kb66%28v = vs.90%29.aspx [ ^ ]

有关ClickOnce的CodeProject文章:
ClickOnce-部署,安装和更新基于Windows的客户端应用程序的快速步骤 [
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!




您无需重新编码应用程序.
只需将您的应用程序发布到IIS服务器即可.

有关更多说明,请阅读本文
发布向导

问候
Ankit
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


是的!偏离路线...


按照以下步骤访问程序即可创建网页:

System.Diagnostics.Process Proc =新的System.Diagnostics.Process();
Proc.StartInfo.FileName ="yourprogram.exe";
Proc.Start();
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();


这篇关于是否可以在Intranet上运行C#窗口应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆