What is the difference between App URL
and Launch URL
from ASP.NET Core
?
With these settings, I can access my app, both over HTTP
on port 4099 and over HTTPS
on port 44363
, but first it launches on HTTPS
. I'm using VS 2017. If I use the same URL for App and Launch I get:
An error occurred attempting to determine the process id of
dotnet.exe
which is hosting your application. One or more errors occurred.
If I remove Launch URL
and keep App URL
with HTTPS
I get the same error.
What is the difference between them and how do I redirect every HTTP
request to HTTPS
?
Microsoft is not helping right now: link to microsoft docs
As far as i can tell:
If you remove the Launch URL kestrel has no port to listen to, and will throw an error on startup, or fallback to port 5000.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With