我可以在没有Vs和Cmd提示符的情况下运行我的Asp Web应用程序 [英] Can I Run My Asp Web Application Without Vs And Cmd Prompt

查看:49
本文介绍了我可以在没有Vs和Cmd提示符的情况下运行我的Asp Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我如何在不使用visual studio且不使用命令提示符的情况下运行我的asp.net Web应用程序?有多少种方式?

解决方案

是。只需将其发布到正确设置的IIS Web服务器。



您可以通过在解决方案资源管理器中右键单击Web应用程序项目来找到发布选项。

你实际上从来不需要任何这个,既不是VS也不是命令提示符。它们只能用于开发,而不是用于所有情况。 Web应用程序从两个方面开始:服务器端和客户端。在服务器端,启动HTTP服务器。比如说,在Microsoft OS上,您将其设置为服务(Windows服务),它可能是其他东西,例如独立应用程序。这与Visual Studio无关; VS只使用与它捆绑在一起的小型服务器,但这不是生产中发生的情况。然后部署Web应用程序工件,实际上只是将某些文件复制到服务器端。并且在某些客户端向服务器端发送适当的HTTP请求之前,应用程序实际上并未运行。



-SA


plz tell me how i can run my asp.net web application without using visual studio and without using command prompt?how many ways are there?

解决方案

Yes. Just publish it to a properly setup IIS web server.

You'll find the Publish option by right-clicking your web application Project in the Solution Explorer.


You actually never need any of that, neither VS nor command prompt. They can be used only for development, and not in all cases. The "Web application" is started on two sides: server side and client side. On server side, you start the HTTP server. Say, on Microsoft OS, you setup it as a service (Windows Service), and it could be something else, such as stand-along application. This is not really related to Visual Studio; VS just uses small server which is bundled with it, but this is not what happens in production. Then the Web application artifacts are deployed, which is, essentially, just copying of some file to the server side. And the application is not actually running until some of the client sends appropriate HTTP request to the server side.

—SA


这篇关于我可以在没有Vs和Cmd提示符的情况下运行我的Asp Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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