Default files in an ASP.NET Core project

You have probably noticed by now that your empty project is not entirely empty, and does, in fact, include a couple of files:

  • Program.cs: This is the entry point of the application. It loads configuration, initiates the logging framework, and more.
  • Startup.cs: This is run when the web project starts. It configures the application services and requests pipeline components.
  • The wwwroot folder: This folder is where all of the static assets of the application will be stored.

Get Hands-On Full-Stack Web Development with ASP.NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.