This repository was archived by the owner on Dec 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 307
Useless error message #826
Comments
This issue was moved to aspnet/KestrelHttpServer#1020 |
The order is important because the ASP.NET Core module passes the port to Kestrel when running behind IIS. It's the equivalent in node when you do this:
In ASP.NET it's the reverse: .UseUrls(...) -> // defaults
.UseIISIntegration() // override when IIS active As for the unhelpful error message, that's a kestrel issue: |
Hi @davidfowl You can "play" with fluent interfaces to prevent this error. doesn't it? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
today I had a problem deploying my aspnet core application on Azure.
The error message was saying:
After few hours I noticed that the order on program.cs file was wrong.
.UseIISIntegration()
must be after.UseUrls()
I don't know if it is my fault or not (for me the order wasn't so important, otherwise I should get a compilation error) but the error message wasn't helpful.
The text was updated successfully, but these errors were encountered: