Friday, June 3, 2022

Single database for multiple microservices with FluentMigrator

If you have multiple microservices, it is common to use a separate database for each of them. But recently we faced the following problem. Our price plan on database hosting provider includes only limited number of databases. We can't create new database for each microservice as it is too expensive. How can we solve this problem?

Thursday, June 2, 2022

Calling Thread.Abort and Thread.ResetAbort several times

In this short article I want to analyze a situation when we want to call Thread.Abort several times for a thread which uses Thread.ResetAbort to control cancellation process.