4

I am building ASP.NET Core MVC web application, and I am using these technologies:-

  1. Entity Framework

  2. SQL Server

  3. HTML, JavaScript, JQuery & Bootstrap.

But i want to improve my web application front-end by utilizing React.JS.. But my question is if this i possible? and if so how i can do so?

Thanks

4
  • 1
    reactjs.net/tutorials/aspnetcore.html Commented Jul 17, 2021 at 16:19
  • @deechris27 thanks for the link , other than this is there a complete documentation about using react.js inside asp.net mvc core? Commented Jul 17, 2021 at 17:11
  • 1
    Are you looking for a tutorial? Not something that fits here. Commented Jul 23, 2021 at 19:10
  • There is a whole tutorial about it in: reactjs.net/tutorials/aspnetcore.html The only thing you should take into consideration is that you should use webpack for the bundling process Commented Jul 28, 2021 at 14:20

1 Answer 1

3
+125

You could create a new project using the React template, and then use that as a reference to help upgrade your existing project. ASP.NET MVC is always so particular about it's configuration and where files should be put, so I've always found it helpful to work with an example. something something monkey see monkey do.

See here how for to create said template: https://learn.microsoft.com/en-us/aspnet/core/client-side/spa/react?view=aspnetcore-5.0&tabs=visual-studio

And if CLI isn't your favorite, if have a recent version of Visual Studio IDE or Rider IDE you can create the a new project with the react.js template/option selected.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.