如何发布我的MVC 3 web应用程序到IIS7 [英] How to publish my MVC 3 web application onto IIS7

查看:193
本文介绍了如何发布我的MVC 3 web应用程序到IIS7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果可能的话,我需要从总量上如何让我的ASP.Net MVC 3剃刀的Visual Studio 10的Web应用程序住到我的IIS Web服务器7开始彻底的初学者建议好吗?

if possible I need total from the beginning utter beginner advice on how to get my ASP.Net MVC 3 Razor Visual Studio 10 web application live onto my IIS 7 webserver please?

我从来没有尝试之前发布此,不知道我缺少的是什么?

I've never tried to publish this before, and wondering what I'm missing?

我点击发布关于Visual Studio的前preSS 10,创建该网站的发布的版本。我已经将它上传到我的网络服务器,但不能让它在网络上加载?

I've clicked "Publish" on Visual Studio Express 10, created a "published" version of the website. I've uploaded it to my webserver, however can't make it load on the net?

鸭preciate一些指导吗? (不知道如何/什么默认文档工作等等?)

Appreciate some guidance please? (not sure how / what default documents work etc...?)

推荐答案

目前最简单的方法是使用Web应用程序部署。

By far the easiest approach is to use Web Application Deployment.

此博客由Scott顾给出了一个伟大的介绍

This blog by Scott Gu gives a great intro

<一个href=\"http://weblogs.asp.net/scottgu/archive/2010/07/29/vs-2010-web-deployment.aspx\">http://weblogs.asp.net/scottgu/archive/2010/07/29/vs-2010-web-deployment.aspx

有关的web.config转换的文章会谈(有.Release和你的web.config的版本的.debug能力)。后来,这种能力是通过附加软件包推广到在部署任何XML结构的文件(举个例子,我用它与NLOG配置文件)。

The article talks about web.config transformations (ability to have a .Release and a .Debug version of your web.config). Later, that capability was generalized through an add-on package to work for any XML-structured file in your deployment (for example, I use it with NLog configuration files).

<一个href=\"http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx\">http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx

这篇关于如何发布我的MVC 3 web应用程序到IIS7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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