The DI container Microsoft.Extensions.DependencyInjection disposes registered services automatically. It’s just the question when the dispose takes place. Automatic dispose of transient and scoped services happen at the end of a scope. With ASP.NET Core applications, scopes are created with every HTTP request – after the request, services are disposed. This article shows creating and using DI scopes with XAML-based applications. Continue reading Disposing Injected Services (or: Using Dependency Injection Scopes)
I wish all the readers of my blog A Happy New Year 2017!! May all your wishes come true! What … Continue reading Welcome 2017 – The Year of 3D?
Bye, bye portable libraries. The portable library project will not be necessary anymore. Visual Studio 2015 Update 3 offers an … Continue reading Portable Library, you’ll not be missed