Quantcast
Channel: asp.net core self hosted app leaks on webhost respawn - Stack Overflow
Browsing latest articles
Browse All 3 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 latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>