i built many web applications using asp.net core MVC. now i want to start using React js inside my new asp.net core MVC, but i fail to find tutorials and documentation about creating CRUD operations using Asp.net core MVC + react js. so can anyone advice
of such docs?
React is added to an existing MVC project similar to adding a jQuery reference in an existing MVC project. This concept is covered in the official React documentation.
https://reactjs.org/docs/add-react-to-a-website.html
johnjohn123123
second question, when i use React js with Asp.net core MVC , will react js be the "View" component of the MVC framework?
In the simplest of terms, React and MVC are UI frameworks that have data binding. Typically, React or MVC is selected, not both, when building a web project. However, it is possible to add React components to an existing MVC project.
The standard pattern is React with Web API. Web API can host the React start up application.
Anyway, .NET Core comes with React templates to get started.
thanks for the reply. but i am a bit confused . You said that i can add React JS inside visual studio project similar to how i add jQuery, then you said that "Typically, React or MVC is selected, not both".. but since i can add React Js inside MVc this means
that i can use them together is this correct?
Member
488 Points
2558 Posts
Re: where i can find tutorials and docs about using React js with asp.net core mvc
Dec 30, 2020 12:49 AM|johnjohn123123|LINK
thanks for the reply. but i am a bit confused . You said that i can add React JS inside visual studio project similar to how i add jQuery, then you said that "Typically, React or MVC is selected, not both".. but since i can add React Js inside MVc this means that i can use them together is this correct?