-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ATK3Shape edited this page Nov 13, 2017
·
4 revisions
.NET project created basing on tutorial https://reactjs.net/getting-started/tutorial_aspnet4.html
Chosen: ASP.NET MVC 4 Web Application Empty project + MVC (checkbox)
To make React work on .NET (client-side) install React NuGet package - React.Web.Mvc4. (Visual Studio 2015, .NET framework 4.6.1) For simple example (like on ) this package is enough. Check branch - 01-ReactNet-tutorial-example
To be able to use React server-side rendering - additionally install React.AspNet NuGet package. Check branch - 02-ReactNet-tutorial-example-serverside-rendering
To test server-side rendering is working now - turn off javascript in your browser. In case of client-side rendering markup will not contain all HTML (no React components HTML).