Asp.net vNext早期的beta发布在Windows Server到IIS [英] Asp.net vNext early beta publish to IIS in windows server
问题描述
如何发布Asp.net vnext应用程序,我试图用文件系统部署,
How can we publish Asp.net vnext application , I have tried to deploy with File System,
1)为什么在公布的文件系统为approot拥有所有源$ C $ C
1) Why in published file system approot has all source code
2)我在wwwwroot FTP文件到IIS网站的文件夹,但仍无法正常工作
2) I have FTP files in wwwwroot into IIS website folder but still not working
我是否需要安装IIS7上的任何东西,Windows Server 2012中
Do I need to install anything on IIS7., Windows Server 2012
推荐答案
首先,ASP.NET vNext是隔靴搔痒的黄金时段。你绝对不应该使用它的任何生产code。至于你的问题:
First, ASP.NET vNext is nowhere near primetime. You should absolutely not be using it for any production code. As to your questions:
-
为什么在公布的文件系统为approot拥有所有源$ C $ C
Why in published file system approot has all source code
一vNext的主要卖点是罗莎琳·记忆功能的编译。所有的源$ C $ c为出版,因为没有$ P $对汇编了。它更像脚本语言如PHP,Ruby的,等等。现在,在这里可以进行更改源,并立即看到更改。
One of the main selling points of vNext is the compile in memory features of Rosalyn. All the source code is published, because there is no pre-compilation any more. It's more like scripting languages like PHP, Ruby, etc. now, where you can make a change to the source and instantly see the changes.
我在wwwwroot FTP文件到IIS网站的文件夹,但仍无法正常工作
I have FTP files in wwwwroot into IIS website folder but still not working
由于这一切还是很preVIEW,IIS 8(这是什么运行在Windows Server 2012中,没有IIS 7),不能支持网站,因为它通常会被公布。您必须使用命令行工具 KPM
包装中的应用,基本上建立它像一个老派的MVC应用程序。见首节<一href=\"https://github.com/aspnet/Home/wiki/FTP-deploy-an-AspNet-vNext-application-to-Microsoft-Azure-websites\" rel=\"nofollow\">https://github.com/aspnet/Home/wiki/FTP-deploy-an-AspNet-vNext-application-to-Microsoft-Azure-websites.
Because this is all still very much preview, IIS 8 (which is what's running in Windows Server 2012, not IIS 7), cannot support the site as it would normally be published. You have to use the command-line tool kpm
to pack the application, which essentially builds it like an old-school MVC application. See the first section of https://github.com/aspnet/Home/wiki/FTP-deploy-an-AspNet-vNext-application-to-Microsoft-Azure-websites.
这篇关于Asp.net vNext早期的beta发布在Windows Server到IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!