Generate Outputs with Razor Engine in .NET Core