I\'ve been assigned to migrate an application from MVC into ASP.net Core, I\'m new to ASP.net Core. In MVC we have BundleConfig.cs and in there we add reference
BundleConfig.cs
In _layout:
@await RenderSectionAsync("Styles", required: false)
Then your view:
@section Styles{ your CSS }
Information from: https://dev.to/amjadmh73/loading-custom-css-files-in-razor-pages-4no9