我如何可以部署一个MVC 4应用程序IIS 6? [英] How can I deploy an MVC 4 application to IIS 6?

查看:129
本文介绍了我如何可以部署一个MVC 4应用程序IIS 6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作我的第一个MVC应用程序(也是我第一个Web项目),并希望将其部署到运行Windows Server 2003和IIS 6,测试服务器这是使用.NET 4 VS 2012内置了一个简单的CRUD应用程序,实体框架5.我先建数据库SQL Server 2005上,因为我的经理希望看到DB第一。我用的是EF电动工具Beta 4的反向工程回code首先。我定制了T4模板,以便数据注释。

I'm working on my first MVC application (also my first web project) and want to deploy it to a test server running Windows Server 2003 with IIS 6. It's a simple CRUD app built with VS 2012 using .NET 4, Entity Framework 5. I built the DB first on SQL Server 2005 since my manager wanted to see the DB first. I used the EF Power Tools Beta 4 to reverse-engineer back to Code First. I customized the T4 templates to allow for Data Annotations.

该应用程序工作正常使用我的开发PC上的IIS防爆preSS,但我希望得到一个最初的版本到我们的测试服务器,不幸的是,正在运行IIS 6,没人,我的工作与MVC的经验。 ..just ASP.NET用VB,和我有麻烦找上如何部署它很好的一步一步的指导。

The app works fine using IIS Express on my development PC, but I want to get an initial version out to our test server, which unfortunately, is running IIS 6. Nobody where I work has experience with MVC...just ASP.NET with VB, and I'm having trouble finding good step-by-step instructions on how to deploy it.

推荐答案

根据菲尔哈克的博客文章先设定扩展名的URL:的 ASP.NET MVC在IIS 6演练。

first setup extensionless urls based on Phil Haack's blog post: ASP.NET MVC on IIS 6 Walkthrough.

第二信号源点击这里

这篇关于我如何可以部署一个MVC 4应用程序IIS 6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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