Downloading and Installing

Release Versions #

The best way to install ReactJS.NET is via NuGet. There are several NuGet packages available:

These packages can be installed either via the UI in Visual Studio, or via the Package Manager Console:

Install-Package React.AspNet

Development Builds #

Development builds are automatically built after every change. Use these if you want the very latest bleeding-edge version. These are located on a custom package server so you need to add this as a package source in Visual Studio:

  1. Click Tools → NuGet Package Manager → Package Manager Settings
  2. Click Package Sources
  3. Click the plus icon, enter name as "ReactJS.NET Dev" and URL as
  4. When adding the packages to your application, manually select "ReactJS.NET Dev" as the package source, and ensure "Include Prerelease" is enabled.

Building Manually #

To build your own copy of ReactJS.NET (for example, if implementing a new feature or fixing a bug):

  1. Compile ReactJS.NET by running dev-build.bat
  2. Reference React.dll and React.Mvc4.dll (if using MVC 4) in your Web Application project

Your first build always needs to be done using the build script (dev-build.bat) as this generates a few files required by the build (such as SharedAssemblyVersionInfo.cs). Once this build is completed, you can open React.sln in Visual Studio and compile directly from Visual Studio.