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
In this case IIS would be configured to use /root as the root of your web application.
This is the same web.config location and pysical path you would have used in your ASP.NET 4.x applications. Moving the web.config file location to the root of the application enables publishing of muliple applications using Web Deploy.
Your applications static content will still need to go in the web root (wwwroot in these examples). The static files middleware is what serves static content in your application and it will still only serve from the web root regardless of the physical path configured in IIS.
The
publish-iis
tool will now generateweb.config
files inside the root of your output, not in the web root (wwwroot).This means that IIS will now need to be configured to point to the root of your site instead of the web root like it has up-to-now for ASP.NET Core.
Simplified Old Layout
In this case IIS would be configured to use
/root/wwwroot
as the root of your web application.Simplified New Layout
In this case IIS would be configured to use
/root
as the root of your web application.This is the same
web.config
location and pysical path you would have used in your ASP.NET 4.x applications. Moving theweb.config
file location to the root of the application enables publishing of muliple applications using Web Deploy.Your applications static content will still need to go in the web root (wwwroot in these examples). The static files middleware is what serves static content in your application and it will still only serve from the web root regardless of the physical path configured in IIS.
Please use aspnet/IISIntegration#158 for discussion
The text was updated successfully, but these errors were encountered: