New issue
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
Alternative to RazorEngine? #558
Comments
@GFoley83 if your goal is only to compile Razor view templates, you can use this solution https://dotnetstories.com/blog/Generate-a-HTML-string-from-cshtml-razor-view-using-ASPNET-Core-that-can-be-used-in-the-c-controlle-7173969632 Helped me a lot. |
@GFoley83 I recommend RazorLight. |
This doesn't appear to be open source. |
This will not work with .NET Core 3.0. |
Try to use version 2.0.0-beta1. |
@GFoley83 that's the version I have been using |
It works in my project using .Net core 3.0 with following code:
|
I also switched to RazorLight using .Net Core 3.0 |
RazorLight does not support |
After a long research. But I found myself going with this: I was able to run the out of the box Razor in an Azure Function. |
Looks like this project is dead and also has some issues working with Core and some Azure services (e.g. Azure Functions).
What are people using instead?
The text was updated successfully, but these errors were encountered: