[英]How to deploy MVC application in 2003 server IIS
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. 我在IIS中部署了一个MVC应用程序驻留在2003服务器上。我没有安装Visual Studio或Web部署,而是安装了.net框架,并在那里安装了所需的东西。我刚刚在默认网站下创建了一个虚拟目录并映射了我的网站文件通过使用别名。然后使用相应的框架配置默认应用程序池。然后,当我浏览时,我无法抛出Web应用程序。 Can.Can any body suggest me the simple steps i required to install MVC application in IIS over windows 2003 server.
Can.Can任何正文建议我通过Windows 2003服务器在IIS中安装MVC应用程序所需的简单步骤。 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
记住我没有安装webdeploy或visual studio,而不是.net框架工作。当我搜索他们提到的有关Web部署的每个地方或者从visual studio发布一次点击时
UPDATE UPDATE
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 我在我的系统上安装了VS,如果你可以指导一些我可以在我的系统中创建一个包并在Web服务器中部署的东西,我很感激。我来自winform背景,我们创建安装的安装文件
Visual Studio lets you publish to File System. Visual Studio允许您发布到文件系统。 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.
然后我右键单击我的项目发布,我的项目文件被复制到这个文件夹。
Now all the required files are in a correct folder structure. 现在所有必需的文件都在正确的文件夹结构中。 This just needs to be copied (FTP) to the deployment location.
这只需要复制(FTP)到部署位置。
For a new website: 对于新网站:
What it looks like on the webserver 它在Web服务器上的样子
C:/Web/MyMvcProj
/bin
/Content
/Scripts
/Views
Global.asax
Web.config
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.