With .NET Core, diagnostic information can be written using the ILogger interface. ILogger offers provider-based functionality to write to the … Continue reading Writing ILogger Diagnostics to a File
With my blog I’ve several articles about dependency injection using Microsoft.Extensions.DependencyInjection. Now I’ve updated the source code of my older … Continue reading Dependency Injection code samples updated
One of the new EF Core 2.1 features is seeding of data. Contrary to the older version of Entity Framework, … Continue reading Data Seeding with EF Core
Entity Framework Core (EF Core) was designed to not being a framework for only relational databases. It just takes some time to get the first non-relational providers. Now is the time.
Microsoft now has the first preview for an EF Core provider for Cosmos DB. With this I have to do my first experiments using Cosmos DB from EF Core. Continue reading First experiments using EF Core with Azure Cosmos DB
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)
.NET Core gives two support options: Long Term Support (LTS) and Current. .NET Core adapted behaviors similar with other open … Continue reading .NET Core Current and Long Term Support Levels
The HttpClient class can be easily used in a way how it’s not meant to be. While this class is … Continue reading HTTP Client Factory with .NET Core 2.1