VisualStudio发布相关 [英] VisualStudio Publish Related

查看:100
本文介绍了VisualStudio发布相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中构建时如何在IIS中部署Web应用程序?

当我在Visual Studio中构建解决方案时,必须将网站部署在IIS中.任何人都可以给我清楚的想法吗?

How to deploy a web application in IIS when builded in Visual Studio?

When I build the solution in Visual studio,the web site must be deployed in IIS.Can any one give me clear idea about this?

推荐答案

在IIS上发布.
这是Step,尝试一下....

I)方法---

一个.确定您的项目在驱动器中的位置.
b.右键单击我的电脑"图标,然后->>管理-> Internet信息服务,然后右键单击默认网站->新建->然后是虚拟目录
找到您的网站.


然后运行浏览器:http://localhot/test.aspx


II)方法---

如果您的网站是http类型,则您的网站已经发布.
您可以运行一次网站,然后可以通过Direct Write Your访问您的网站:http://localhost/test.aspx
There is many way to Publish on IIS .
Here is Step , Try it....

I) Method ---

a. Identify where is your project in your drive.
b. Right Click on My Computer Icon then -->Manage-->Internet Information Service Then Right Click Default Web Site --> New-->Virtual Directory Then
Locate Your Website.


Then Run Browser :http://localhot/test.aspx


II) Method---

If Your Web site is http Type then Your Web site already Publish.
You can run one time your website then You can Access Your site through Direct Write Your : http://localhost/test.aspx


这篇关于VisualStudio发布相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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