Using EF Core to process Azure Service Messages in ASP.NET Core

added by DotNetKicks
4/30/2019 7:09:21 AM

2 Kicks, 154 Views

This article shows how to use Entity Framework Core together with an Azure Service Bus receiver in ASP.NET Core. This message handler is a singleton and so requires that an Entity Framework Core context inside this singleton and is not registered as a scoped service but created and disposed for each message event.