ASP.NET Core runs on conventions. It expects Startup.cs file for starting up the ASP.NET Core application and wwwroot
folder for the application’s static contents. But what if you want to change the name of Startup.cs
and wwwroot
to your choice? Well, that can be done. In this short post, we will see how to change Startup.cs and wwwroot folder name in ASP.NET Core.
Read More
Tag: wwwroot
Get application base and wwwroot path in ASP.NET Core RC2
In this short post, find out how to get application base and wwwroot
path in ASP.NET Core RC2 as some of the stuffs changed compared to ASP.NET Core RC1.
Read More
How to rename wwwroot folder in ASP.NET Core 1.0
As mentioned earlier in my post quick summary of what’s changed in ASP.NET Core 1.0, wwwroot folder is new addition to ASP.NET Core 1.0 project structure. It’s place to keep all your static content like images, css and js files. Though, you can remove this folder from your project but if it is present then ASP.NET Core 1.0 expects folder with name wwwroot
. And you can’t change the name directly from wwwroot
to anything of your choice, as it works on conventions. In this post, let’s see how to rename wwwroot folder in ASP.NET Core 1.0.
Read More