I am trying to get the renderviewtostring sample working in DotNet Core 3.1 in a console application i.e. running Razor standalone.
The first statement in Main gives
'HostBuilder' does not contain a definition for 'ConfigureWebHost' ...
What is the correct setup for this sample in DotNet Core 3.1 ?
Thanks