Serve SPA (React) in ASP.NET web API
Is it a correct way to serve SPA in ASP.NET Web API project? Is there a better way to do it? The way I do it is to move React built to wwwroot and add lines to
useStaticFiles
and MapFallbackToFile
to index.html
Program.cs
0 Replies