Once in a while, you get a task, that you need to generate an export file to the 3rd party system. It is popular when communicating with price comparer services, search services, adds services etc. So you need to generate csv file with almost the same data, but in a slightly different format. How to… Continue reading Generic export of csv files
The urge for refactoring
Recently in my team at work, we focus on maintaining older micro-services. While this might not be the most exciting job to do, it is an opportunity to work on a developer craftsmanship. A micro-service or any code that you write, can be old after a year or even a half, cause our developer habits… Continue reading The urge for refactoring
Buffered sending Service Bus messages
Recently I run into a challenge. I’ working on a micro-service that receives and processes messages one by one. How to send Service Bus messages, not instantly, but when they pile up? The reason for cause it is expensive when it comes to performance. Let’s send messages after 10 piles up or after every 20 seconds.… Continue reading Buffered sending Service Bus messages
How to make you console app look cool
From time to time everyone needs to write simple console application. It’s a great, simple type of project to test something or write a simple tool. However, most of the times it looks… kind of dull. This is a part of a series of articles about writing a perfect console application in .net core 2.… Continue reading How to make you console app look cool
Receiving only one message from Azure Service Bus
Some time ago I got a question from Eto: “How would I go about this if I just want to receive one message only?” And I started thinking… is it possible in .Net Core? I used the newest Microsoft.Azure.ServiceBus package, that is dedicated for .Net Core, but there is no method to receive only one… Continue reading Receiving only one message from Azure Service Bus
Sending Service Bus message in Go
Go or GoLang is an open source programming language. It’s a server-side C like language created by Google. I won’t take much or your time to introduce you to the language, but here is a short summary why it’s worth trying. Go is open-source, but backed up by Google and used by big companies (Google,… Continue reading Sending Service Bus message in Go
Accept XML request in ASP.Net MVC Controller
How to receive a request as an XML in ASP.Net MVC Controller? This is a question that I got at my work when integrating with third-party service. MVC Controller is not ideal for such request handling, but that was the task I got, so let’s get to it. This is an XML that I need… Continue reading Accept XML request in ASP.Net MVC Controller
How to send many requests in parallel in ASP.Net Core
I want to make 1000 requests! How can I make it really fast? Let’s have a look at 4 approaches and compare their speed. Preparations In order to test different methods of handling requests, I created a very simple ASP.Net Core API, that return user by his id. It fetches them from plain old MSSQL… Continue reading How to send many requests in parallel in ASP.Net Core
Add CosmosDB persistent storage to Microsoft Orleans in .Net Core
Microsoft Orleans is a developer-friendly framework for building distributed, high-scale computing applications. It is a perfect solution for processing a large amount of data quickly. It shows it strengths especially when you need to use a storage while processing the data because it keeps a state in memory so save or update state operations are very fast.… Continue reading Add CosmosDB persistent storage to Microsoft Orleans in .Net Core
Azure Cosmos DB – key-value database in the cloud
Azure CosmosDB table API is a key-value storage hosted in the cloud. It’s a part of Azure Cosmos DB, that is Microsoft’s multi-model database. It’s a globally distributed, low latency, high throughput solution with client SDKs available for .NET, Java, Python, and Node.js. Interesting thing is that Microsoft guarantees that for a typical 1KB item read… Continue reading Azure Cosmos DB – key-value database in the cloud