We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
I have these package references:
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor" Version="2.2.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.3" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.3" /> <PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.3" />
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: