如何在IIS上部署MVC-3网站 [英] How to deploy an MVC-3 website on IIS

查看:102
本文介绍了如何在IIS上部署MVC-3网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,有人可以指导我在IIS上部署MVC应用程序。请从头到尾一步一步地提供。

Hi,can anyone please guide me on deployment of a MVC application on IIS.Please provide step by step into from start to end.

推荐答案

有两个将您的MVC网站部署到IIS的方法。手动或自动。



如果你想继续自动公开:



1.转到项目Visual Studio IDE中的属性属性并创建虚拟目录。

2.右键单击IDE中解决方案资源管理器中的项目,然后单击发布。

3.现在转到inetmgr并切换到您的项目的内容视图。然后浏览.svc文件。

4.你将获得托管之后..现在为你的客户提供服务参考,因此托管应用程序。
There are two ways to deploy ur MVC website to IIS. Manual or Automatically.

If u want ot proceed with automatic public:

1. Go to project properties in Visual Studio IDE "properties" and create virtual directory.
2. Right click over project in solution explorer in IDE and click publish.
3. Now go to inetmgr and and switch to content view of ur project. then browse the .svc file.
4. U will get the after hosting .. Now provide service reference to your Client and and thus the application is hosted.


请参考



- http://dotnet.dzone .com / news / deploying-aspnet-mvc-web-appli [ ^ ]

- http://aspnetmvceuropeanhosting.hostforlife.eu/post/European-ASPNET-MVC-3-Hosting-Deploying-ASPNET-MVC-3 -Application-on-Shared-Hosting-Environment.aspx [ ^ ]
Please just refer to

- http://dotnet.dzone.com/news/deploying-aspnet-mvc-web-appli[^]
- http://aspnetmvceuropeanhosting.hostforlife.eu/post/European-ASPNET-MVC-3-Hosting-Deploying-ASPNET-MVC-3-Application-on-Shared-Hosting-Environment.aspx[^]


这篇关于如何在IIS上部署MVC-3网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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