简体   繁体   中英

ASP.NET MVC 6 using IIS to develop without publish

Is there any way to develop an ASP.NET MVC 6 beta 8 application on IIS without having the need to publish the application?

After install the httpPlatform module I am able to point IIS to a published application.

But how can yo point IIS to say your visual studio solution wwwroot so you can develop and see the changes you make without having the need to publish?

Is this no longer possible like how it you could develop asp.net MVC 5 apps? For development is IIS Express and Kestrel the preferred way now?

Update: I've tried to run both commands like the vs.net debugger shows but I still get bad gateway 在此处输入图片说明

在此处输入图片说明

You should read this .

I am currently using Visual Studio 2015 for developing MVC 6 (beta8) applications, and do not have the problem you describe. An MVC 6 application has a file that by default points to wwwroot folder (I do not remember now the filename), so you should not have problem in change code and hit F5 to see the changes, without publishing.

对于任何有兴趣让此功能起作用的人,您可以进行编辑并继续工作,而不必手动构建或发布您的网站,也不必使用源代码进行工作: https : //github.com/tuespetre/dnx-watch -iis

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM