如何部署2003服务器IIS MVC应用程序 [英] How to deploy MVC application in 2003 server IIS

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

问题描述

我是部署在IIS中的MVC应用程序驻留在2003年server.I没有安装Visual Studio或网络部署,而.NET Framework和所需的东西都装过there.I刚创建时的默认网站的虚拟目录和映射通过使用alias.Then我的网站文件配置默认的应用程序池与相应的框架。然后,当我浏览我没能扔的Web应用程序。 Can.Can任何机构给我建议的简单步骤我需要安装MVC在IIS 2003服务器上的应用程序窗口。请记住我没有webdeploy或安装的,而不是.NET框架的工作。当我用Google搜索每一个地方,他们都在提关于Web部署或点击从Visual Studio发布的Visual Studio

I was deploying an MVC application in IIS resides in 2003 server.I don't have Visual studio installed or web deploy rather .net framework and required stuffs are installed over there.I just created a virtual directory under default website and mapped my website file by using alias.Then configured default application pool with corresponding framework .Then when i browsed i was not able to throw web application. Can.Can any body suggest me the simple steps i required to install MVC application in IIS over windows 2003 server. Remember i don't have webdeploy or visual studio installed rather than the .net frame work .When i googled every where they are mentioning about web deploy or one click publish from visual studio

更新

我已经安装在我的系统VS,如果你能指导我一些东西,我可以在我的系统中创建一个包,并在Web服务器部署是从WinForm的背景AP preciated.I来了,我们创造了安装文件安装

i have VS installed on my system,if you can guide me something which i can create a package in my system and deploy it in web server is appreciated.I came from winform background where we create setup file for installation

推荐答案

Visual Studio中,您可以发布到文件系统。我设置了我的开发机器到特定文件夹(超出了我的项目)。然后,我在我的项目上单击右键来发布和我的项目文件被复制到该文件夹​​。

Visual Studio lets you publish to File System. I set this up on my dev machine to a specific folder (outside of my project). Then I right-click on my project to publish and my project files get copied to this folder.

  1. 右键单击项目>发布...
  2. 在新的配置文件(文件系统)
  3. 设置路径
  4. 发布

现在所有必需的文件是在一个正确的文件夹结构。这只是需要被拷贝(FTP)来部署位置。

Now all the required files are in a correct folder structure. This just needs to be copied (FTP) to the deployment location.

对于一个新网站:

  1. 在IIS默认Web站点>创建一个新的Web应用程序。
  2. 设置别名,路径虚拟目录
  3. 设置应用程序池
  4. 在我的出版目录复制到虚拟目录

它是什么样子的Web服务器

What it looks like on the webserver

C:/Web/MyMvcProj
            /bin
            /Content
            /Scripts
            /Views
            Global.asax
            Web.config

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

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