Skip to content
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

Razor Nuget Packages for .NET 8.0 #600

Open
TonyValenti opened this issue Mar 13, 2024 · 3 comments
Open

Razor Nuget Packages for .NET 8.0 #600

TonyValenti opened this issue Mar 13, 2024 · 3 comments

Comments

@TonyValenti
Copy link

Hi all,
I'm considering building a razor parsing/execution alternative to RazorEngine that is .net 8.0 only.

What is the correct Nuget package from Microsoft that parses/compiles/runs razor code?

I found lots of packages but I'm not entirely sure which one is the current/latest.

Thanks!

@SerratedSharp
Copy link

@TonyValenti Are you familiar with this approach? https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-components-outside-of-aspnetcore?view=aspnetcore-8.0

I tried this, and was able to reference the RCL from a console project and use the sample code to render a *.razor template from the RCL.

@TonyValenti
Copy link
Author

Hi @SerratedSharp - This is awesome! I'm working on a library now!

@TonyValenti
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants