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

john john 941 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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 11,606 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