August 2017
Intermediate to advanced
330 pages
7h 26m
English
You can find a number of ways for getting started or creating a basic application flow that uses React on the internet, and choosing one is quite difficult. In the previous sections, we created web apps using non-ASP.NET technologies; however, we will use an ASP.NET web application with React in this section to build a modern web frontend.
Using Visual Studio IDE, create either an ASP.NET empty website or an MVC 5 web application, and in that, install the ReactJS NuGet package. It creates a React folder in the Scripts folder section.
In the Scripts folder, go to Add | New File | JSX file.
Open PacktContacts.jsx and copy the following code:
var ContactsRow = React.createClass({ render: function () { return ...