Auto-restart - how? #1467
Answered
by
Tratcher
OpenSpacesAndPlaces
asked this question in
Q&A
Auto-restart - how?
#1467
-
If I used IIS, for example, there is an auto-restart on app-crash. How can I configure the YARP settings to operate the same way? |
Beta Was this translation helpful? Give feedback.
Answered by
Tratcher
Dec 18, 2021
Replies: 1 comment
-
YARP doesn't control the process lifecycle, it's a library within your process. You can use YARP in IIS and you'll get the same auto-restart feature. If you use a console app with Kestrel or Http.Sys as your server then you'll need something to monitor the process and restart it, such as running it as a Windows Service. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
OpenSpacesAndPlaces
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YARP doesn't control the process lifecycle, it's a library within your process.
You can use YARP in IIS and you'll get the same auto-restart feature. If you use a console app with Kestrel or Http.Sys as your server then you'll need something to monitor the process and restart it, such as running it as a Windows Service.