Rider: wait till Kestrel/IIS starts under Run/Debug before opening a browser

Answered

Hey

Environment: Rider + ASP.NET Core + run default browser after launch Run/Debug.

Is there a way to wait till application started to be ready to receive HTTP requests?

Currently when Rider opens default browser when I press Run/Debug button - application still loading and unavailable (500 response code returned), so I need to wait for some time and only than start using it.

It would be nice if browser opens after some delay - when app finished starting (if it's possible to detect).

Thanks, 

Michael

2 comments
Comment actions Permalink

Hello Mickael,

Could you please be so kind and provide us with browser screenshot and server logs so we could have a bit more information about the moment of time when the issue happens? Please add the information here or create a new issue on issues tracker and add the information to it. Thank you in advance!

0

Please sign in to leave a comment.