C
C#4mo ago
Zerraq

React + ASP.NET MVC

I need to setup a project with REACT, ASP.NET MVC. (Visual Studio) I dont really know how to „mix“ them. Can someone help me? (.NET8 would be great)
5 Replies
Kouhai /人◕ ‿‿ ◕人\
Why do you want to use React with MVC, React is essentially the view part already
Jimmacle
Jimmacle4mo ago
yeah, react with a web api would make more sense
i like chatgpt
i like chatgpt4mo ago
Use dotnet cli to generate "mvc" with react.
dotnet new react -o YourProjectName
dotnet new react -o YourProjectName
For more help before invoking the above command, read its doc first by invoking the following.
dotnet new react --help
dotnet new react --help
i like chatgpt
i like chatgpt4mo ago
Example of dotnet new react -o CanBeDeletedShortly.
No description
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View