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
Server-side rendering without ASP.NET MVC #178
Comments
This example shows how ReactJS.NET can be used outside of a web context. References #178
Sure! See HtmlHelperExtensions.cs to see how it's hooked up in ASP.NET MVC. You could just call the same methods some other way. In 0dbd639 I added an example showing how to render a React component from within a console application. There's a bit more code than I'd like, but it does work. Basically, this is the code you need for server-side rendering:
You can then use Hope that helps :) |
Many thanx for the detailed answer, Daniel! |
Is it possible using React.NET?
The text was updated successfully, but these errors were encountered: