From the course: Deploying ASP.NET Core Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Include static content

Include static content

From the course: Deploying ASP.NET Core Applications

Start my 1-month free trial

Include static content

- [Instructor] If you're building a web application, your backend code is only half the story. You also need to deploy static content, like HGML, CSS, and JavaScript files. ASP.NET Core web applications include a folder called wwwroot where static files are stored. These files are automatically included when you deploy your application with any of the methods we'll look at in this course. Files in the wwwroot folder will appear to be hosted on the root of your site when it's running live. So for example, wwwroot/js/site.js will appear to be hosted on example.com/js/site.js. Next, we'll take a look at how to include or exclude additional files from the deployment process.

Contents