So this is a C#-based .Net WebApp for a client on an Azure deployment on their network.
Testing locally, I can do dotnet run
and test on http://localhost:5000
fine, but in the final environment, it'll need to be served by IIS. I believe dotnet run
(Kestrel) and IIS have a way of talking to each other (there is a method called something like .useIISIntegration
I believe).
But I'd like to skip any deployment script that requires I dotnet run
to start the application if possible, but let IIS handle all of that. Once deployed, is dotnet run
absolutely necessary? How does IIS handle it directly, if possible?