You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
I'm trying to run an ASP.NET Core app using IIS during development instead of IIS Express, but so far I've had no luck. I have found online how to set up IIS but that requires a publishing step which is far from ideal during active development.
The text was updated successfully, but these errors were encountered:
Thanks for the reply @Tratcher. Is this planned for VS Tooling RTM? To give you some context: Our website is composed of multiple apps. We have a main IIS Site and multiple Web Apps under it. I'm working on a new web app written in ASP.NET Core and I need to have this app hosted in IIS to have the same hostname. I would think this is a common enough scenario to have first class support.
As for those folks that have made it work, do they have something I can look at? This is what I have come up with, but I'm looking for something simpler:
1- Do an initial publish
2- Point IIS to that location
3- Run "npm install cpx"
4- Create a watch.js file with the following content:
varcpx=require("cpx");cpx.watch("bin/Debug/netcoreapp1.0/*.*","bin/Debug/PublishOutput");cpx.watch("Views/*.*","bin/Debug/PublishOutput/Views");cpx.watch("appsettings*.json","bin/Debug/PublishOutput");//any other folders that need to be watched
I'm trying to run an ASP.NET Core app using IIS during development instead of IIS Express, but so far I've had no luck. I have found online how to set up IIS but that requires a publishing step which is far from ideal during active development.
The text was updated successfully, but these errors were encountered: