Can we use React.js with ASP.NET Core MVC, or it is only suitable with ASP.NET Core Web APIs?

john john 1,021 Reputation points
2021-06-15T11:00:18.69+00:00

I want to learn React.js, but most of the tutorials show how to integrate ASP.NET Core Web APIs with React.js, while I did not find any tutorial for using React.js with ASP.NET Core MVC. Any advice? Can I assume that React.js works only with ASP.NET Core Web APIs, where React.js is used to consume the JSON returned from the API?

Developer technologies | ASP.NET | ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2021-09-15T05:14:57.307+00:00

    React is a front end framework and it fetches data from backend systems using Rest Services. So React and WebAPI works very good, but at the same moment, it works well with MVC.

    There is a ReactJS implementation by the React team for MVC and other .Net implmentations. Refer

    https://reactjs.net/

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.