Quantcast
Channel: asp.net core self hosted app leaks on webhost respawn - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by grzegorz_p for asp.net core self hosted app leaks on webhost respawn

Okay, I've shown the wrong trace for the problem described. The context was not properly released nevertheless. I found a solution: IApplicationLifecycle.StopApplication as described here ->...

View Article



Answer by Cheng Chen for asp.net core self hosted app leaks on webhost respawn

I am seeing n instances of controller where n is number of http requests to the controller That's the expected behavior. Controllers are created for each request by default. From your snapshot I don't...

View Article

asp.net core self hosted app leaks on webhost respawn

I have a self-hosted asp.net core app that needs to occassionally respawn its WebHost with a new context. App registers a shared resource as a singleton in asp.net DI container....

View Article
Browsing all 3 articles
Browse latest View live




Latest Images