I am building a few web sites in asp.net core (multiple user interface applications and a web api app). They all work together, utilising the web api. For the purpose of m
Suppose your main web directory is :
mainweb\
Make sure you have a valid ASP.NET application running in your App1 subfolder:
mainweb\App1\
Now install your dotnet core 2 or 3 app in the App1\ folder with all the dependencies etc.
Next, drop this web.config in that same folder:
Now suppose you want another dotnet core web api named App2\ running under mainweb also:
When the mainweb ASP.NET application starts it will start the dotnet core apps also. All good and they run under your mainweb as :
https://mainweb.com/App1/WeatherForecast/ // WeatherForecast is controller name
https://mainweb.com/App2//