asp.net应用程序到exe的转换 [英] asp.net application to exe conversion

查看:75
本文介绍了asp.net应用程序到exe的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

是否可以将asp.net Web应用程序转换为可执行文件?
如果可以,我该怎么办?

预先感谢,
问候,
Ravikiran

Hi All,

Is it possible to convert asp.net web application to an executable file?
If yes how can i do it?

Thanks in advance,
Regards,
Ravikiran

推荐答案

ASP.Net应用程序是通过IIS托管和运行的,因此,不能,您不能将ASP.Net应用程序直接转换为EXE.
ASP.Net applications are hosted and run via IIS, so No, you cannot convert an ASP.Net application into an EXE directly.


是的,您可以手动将其转换.

WinForms就像网页一样.当然,您可以使用与界面,会话变量或特定于Web的命令/控件无关的任何隐藏代码,但是您将不得不完全重写可视化文件.接口层.同样,您将必须手动执行所有这些操作.没有捷径.
Yes, you can convert it... manually.

WinForms is nothing like a web page. Sure, you can use any of the code-behind that doesn''t have anything to do with the interface, or session variables, or web-specific command/control, but you''re gonna have to completely re-write the visual interface layer. Again, you''re going to have to do all of this manually. There are no short-cuts.


除了 Miscrosoft支持:如何准备安装程序 [^ ],用于托管Web应用程序:MSDN:演练:发布网站 [在IIS 7.0上部署ASP.NET网站 [在IIS上部署网站 [
Apart from Miscrosoft Support: How to prepare installers[^], for hosting a web application: MSDN: Walkthrough: Publishing a Web Site[^]

IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


这篇关于asp.net应用程序到exe的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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