Back to Practical Aspnetcore

WebApplicationOptions - change the default content root path

projects/minimal-hosting/web-application-options-change-content-root-path/README.md

latest323 B
Original Source

WebApplicationOptions - change the default content root path

Use WebApplicationOptions to configure initial values of the WebApplication and WebApplicationBuilder objects. In this example we will change the default content root path to 'root' folder inside this sample application project directory.