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
Is it possible to remove the dependency on ASP.NET?
Currently, when using the following code, I get some obscure error messages about service that are not registered:
var builder = Host.CreateDefaultBuilder(args) builder.AddRazorEmailRenderer(); var host = builder.Build(); await host.RunAsync();
It would be nice to be able to use the razor pipeline without a hard dependency on ASP.NET.
The workaround currently consists of replacing the builder with a ASP.NET web app builder:
var builder = WebApplication.CreateBuilder(args); // ...
Also, all services using the IRazorEmailRenderer need to be scoped, which ideally would not be necessary.
IRazorEmailRenderer
The text was updated successfully, but these errors were encountered:
See also prototypes/console-sample-app branch
prototypes/console-sample-app
Sorry, something went wrong.
No branches or pull requests
Is it possible to remove the dependency on ASP.NET?
Currently, when using the following code, I get some obscure error messages about service that are not registered:
It would be nice to be able to use the razor pipeline without a hard dependency on ASP.NET.
The workaround currently consists of replacing the builder with a ASP.NET web app builder:
Also, all services using the
IRazorEmailRenderer
need to be scoped, which ideally would not be necessary.The text was updated successfully, but these errors were encountered: