如何将Asp.Net网站部署为现有网站的目录... [英] How Do I Deploy Asp.Net Website As A Directory To Existing Website...

查看:87
本文介绍了如何将Asp.Net网站部署为现有网站的目录...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我准备好了一个asp.net Web应用程序..没有我准备好在现场部署网站..在域上部署网站的要求是什么..例如.. www.xyz.com.np是一个网站。我的应用程序名称是WorkManagement ..那么它应该看起来像www.xyz.com.np/WorkManagement ..我所知道的只是发布网站..我曾经谷歌搜索过但只有一些关于IIS配置的提示..任何帮助。

I have a asp.net web application ready.. no I am ready to deploy the site on field.. what the requirement is to deploy the site on domain.. for instance.. www.xyz.com.np is a website. and my application name is WorkManagement.. then it should appear like www.xyz.com.np/WorkManagement.. All i know is only to publish website.. i had googled but only got some hints on configuration in IIS.. any help.

推荐答案

发布是一件容易的事。你只需要将项目指向正确的目录并发布它。要确保它显示在/ WorkManagement部分,需要配置IIS才能正确指向和显示这些页面。
Publishing is the easy part. you just need to point the project to the right directory and Publish it. to make sure it shows up in the /WorkManagement section requires configuration of IIS to correctly point and display those pages.


您可以发布您的站点,然后将输出复制到没有服务器的文件夹。然后在IIS中配置默认​​站点下的虚拟目录并将其指向此代码并将其命名为WorkManagement。假设您的根站点有web.config,您可能希望将其设置为虚拟应用程序而不是虚拟文件夹。
You can publish your site and then copy the output to a folder no the server. Then in IIS configure a virtual directory under the default site and point it to this code and name it WorkManagement. You'll likely want to make it a virtual app instead of a virtual folder assuming your root site has a web.config.


这篇关于如何将Asp.Net网站部署为现有网站的目录...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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