ASP.NET Core: Launch URL vs. App URL
What is the difference between App URL and Launch URL from ASP.NET Core ?

With these settings I can access my app both on HTTP on port 4099 and HTTPS on port 44363 but first it launch on HTTPS .I'm using VS 2017 and 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 to redirect every HTTP 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.
链接地址: http://www.djcxy.com/p/95336.html上一篇: Webpack 2解析别名
