以编程方式设置IIS. [英] set up IIS programatically.

查看:66
本文介绍了以编程方式设置IIS.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我已经制作了一个ASP应用程序,需要将其分发给我的客户.
然后,我希望我的应用程序可以在不设置IIS的情况下在他们的计算机上运行.
因此,我将需要该应用程序来设置IIS,但找不到方法.

请告诉我.
预先谢谢您.

Hello all!
I have produced an asp application and I need to distribute it to my clients.
Then I want my application to run on their computer without setting up IIS.
So I''ll need the application to setup IIS and I can''t find out a way.

Please advise me.
Thank you in advance.

推荐答案

它不能那样工作.如果您创建了一个ASP应用程序,则需要将该应用程序托管在客户端将要运行的Web服务器上,以运行该应用程序.它破坏了Web应用程序尝试在客户端计算机上本地运行的目的.这就是为什么您找不到方法的原因.
如果该应用程序打算在本地运行,则您可能希望重构应用程序并使用Windows.Forms进行重构.
It doesn''t work that way. If you have created an asp application, then you need to host the application on a web server that the clients will hit in order to run the application. It defeats the purpose of a web application to try and run it locally on client computers. That is why you can''t find out a way.
If the application is intended to run locally, then you may wish to refactor your application and use Windows.Forms to do so.


创建安装程序以安装应用程序

StepbyStepSetup [部署ASP.NET应用程序-第1部分 [
Create a setup to install your application

StepbyStepSetup[^]

Deploying ASP.NET Applications - Part 1[^]


这篇关于以编程方式设置IIS.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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