Use React and JSX in ASP.NET MVC
This blog site has been archived. Go to react.dev/blog to see the recent posts.
Today we’re happy to announce the initial release of ReactJS.NET, which makes it easier to use React and JSX in .NET applications, focusing specifically on ASP.NET MVC web applications. It has several purposes:
- Server-side component rendering to make your initial render super fast.
Even though we are focusing on ASP.NET MVC, ReactJS.NET can also be used in Web Forms applications as well as non-web applications (for example, in build scripts). ReactJS.NET currently only works on Microsoft .NET but we are working on support for Linux and Mac OS X via Mono as well.
ReactJS.NET is packaged in NuGet. Simply run
Install-Package React.Mvc4 in the
package manager console or search NuGet for “React” to install it.
See the documentation for more information. The
GitHub project contains
a sample website
demonstrating all of the features.
Let us know what you think, and feel free to send through any feedback and report bugs on GitHub.