I’m trying to create a new project using ASP.NET Core and React, but I want to use only React without any additional frameworks like Vite + React, etc. I’m a bit confused as I haven’t found any clear tutorials or step-by-step guides on how to set this up effectively.
Could someone help me with a detailed guide on how to integrate React with ASP.NET Core?
Thank you in advance for your help!
I try to create a “Standalone JavaScript React Project,” but I’m missing the ASP.NET Core controllers. I also tried the “React and ASP.NET Core” option, but encountered an issue where a CMD popup appears with the default vite-latest template. Unfortunately, this template can’t be modified to select React only, as it is integrated with Vite with errors like package.json is missing.
Simon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.