Adding a Razor view to a .NET 6 ASP.NET Core API project
I recently needed to add a Razor view to an existing ASP.NET Core API project. This is a relatively straightforward task, and this article documents the necessary steps.
Install the Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation NuGet package.
Up...
techblog.timhilton.xyz1 min read