AspNetCoreModule icon indicating copy to clipboard operation
AspNetCoreModule copied to clipboard

Calling shutdown from native to managed should have a timeout (probably shutdown timeout in ASPNETCORE_CONFIG

Open jkotalik opened this issue 8 years ago • 3 comments

If the AppPool is shutdown, we can go into the managed application and call ApplicationLifetime.Shutdown(). However, if this call doesn't complete, we should eventually timeout the callback and shutdown ANCM. We could use the same ANCM shutdown timer that is used for out of process.

jkotalik avatar Sep 25 '17 21:09 jkotalik

for inprocess, we will call worker process shutdown. It will be tricky as IIS has shutdown timeout for worker process. this timeout value may be different from ANCM setting.

pan-wang avatar Sep 26 '17 02:09 pan-wang

We should also verify the graceful shutdown scenarios for in-process mode.

muratg avatar Oct 02 '17 17:10 muratg

cc @shirhatti

muratg avatar Oct 02 '17 17:10 muratg