Simple extension to simplify custom view location in ASP.NET Core MVC.
Currently defines ~/Features
and ~/Features/_Shared
as view locations.
Install from NuGet
PM> Install-Package CustomViewLocation
Update Startup.cs
public class Startup
{
// ...
public void ConfigureServices(IServiceCollection services)
{
// ...
service.AddCustomViewLocation();
// ...
}
// ...
}