You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggestions mentioned in the document for the Application Initialization Module that allegedly make a .NET Core app restart after shutdown in IIS (StartMode=AlwaysRunning and IdleTimeout=0) are not sufficient by themselves. With these settings, an app will get to the end of the application lifetime and still shut down without restarting; a hard recycle of the app will likewise shut the app down without restarting it. The missing component for me was changing the garbage collection settings:
The suggestions mentioned in the document for the Application Initialization Module that allegedly make a .NET Core app restart after shutdown in IIS (StartMode=
AlwaysRunning
and IdleTimeout=0
) are not sufficient by themselves. With these settings, an app will get to the end of the application lifetime and still shut down without restarting; a hard recycle of the app will likewise shut the app down without restarting it. The missing component for me was changing the garbage collection settings:See issues:
dotnet/aspnetcore#3849
dotnet/aspnetcore#19509
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: