I work on iis i need to publish web application angular 11 and asp.net core 3.1
on iis (web api )
are there are any web site or video explain that from scratch please
my app contain to web api csharp as backend with angular 11
are there are any video or site explain that from scratch
Loading
Rajan MishraPosted Oct 18, 2022, 11:24 AM
You can use app.MapFallbackToFile("index.html") in startup.cs. You can place whole published angular app in wwwroot folder. And after that simply publish .net core app on iis. Only thing to remember is set iis to No managed code.
You can take reference from this article
https://www.c-sharpcorner.com/article/net-core-api-and-react-in-a-single-solution