Home
Aleksandrs Maslovs
Cancel

Defining dependency scope within BackgroundService

Issue In this blog post I’ll describe a situation I encountered in one of my projects, where I had to access an interface that was registered as a scoped service from BackgroundService, which is s...

Using threading channels

Idea behind… In one of my tasks I had a case where I had to use the same Azure ServiceBus message from one subscription in multiple Web API endpoints. One of these endpoints serves data on publish...

Defining Web API result

In this blog I’m going to showcase how I handled a case when a customer required to have an endpoint which accepts XML object via POST and returns different XML object back. There are multiple way...

Creating Web API background service

In ASP.NET Core we can implement background tasks, or Hosted Services, that aid desired logic of a particular application. Previously I wrote about one potential use case of such background task h...

Web API with ServiceBus and caching

Idea behind… In this blog post I’m going to showcase a neat way of preparing data for Web API, in cases when data comes from different application with the ability to have filtering applied. In th...

Cross-App Application Insights

Idea behind… Once there was an requirement to implement custom payment handling system that gets triggered from Web UI. Whenever all data was collected from the website, something had to be called...