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
Tag: azure
Receiving messages from Azure Service Bus in .Net Core
For some time now we can observe how new .Net Core framework is growing and become more mature. Version 2.0 was released in August 2017 and it is more capable and supports more platforms then it’s previous releases. But the biggest feature of this brand new Microsoft framework is its performance and it’s ability to… Continue reading Receiving messages from Azure Service Bus in .Net Core
Getting started with CosmosDB in Azure with .NET Core
CosmosDB is Microsoft’s new way of storing data in the cloud, comparing to good old MSSQL Server. It offers globally distributed, multi-model database. Interesting fact is that it offers multiple model of storing data: key-value, column-family, documents and graph as shown in this picture: First you need a Cosmos DB account Create a Cosmos DB… Continue reading Getting started with CosmosDB in Azure with .NET Core
Sending a Azure Service Bus message in ASP.NET core
ASP.NET Core is a open-source web framework that everyone are so excited about recently. There are some good arguments to be excited about it: ability to run on Windows, macOS and Linux, ability to host website in IIS, Nginx, Apache and Docker and it’s fast. Can it be used for Service Bus scenarios? Yes, it… Continue reading Sending a Azure Service Bus message in ASP.NET core
Custom data source in Application Insights
Application Insights(AI) is a park of Azure clous services, that gathers application telemetry data and is able to show it with nice charts. User can also query gathered data to create custom reports. To gather telemetry data user must only enable it in Visual Studio. Detailed instructions can be found here: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net Creating custom data source… Continue reading Custom data source in Application Insights
Implementing deferral mechanism in ServiceBus
Deferral is a method to leave a message in a queue or subscription when you cannot process it at the moment. When using PeekLock read mode you read a message but leave it in a queue. When processing of a message is done, you call Complete and message is removed from queue, but when something… Continue reading Implementing deferral mechanism in ServiceBus
Receive message from queue in push model
Push and pull models are in general approaches of distributing the data between services. In the context of messaging it mean how messages are received by the client. In the previous post I showed how to receive messages by waiting for them to come – this is pull model. Receive method will wait some amount of time… Continue reading Receive message from queue in push model
Azure Service Bus – introduction
Azure Service Bus is a Microsoft implementation of a messaging system, that works seamlessly in the cloud and does not require to set up a server of any kind. Messaging is a good alternative for communication between micro-services. Let’s compare the two. REST communication contract constrains may be a risk synchronous model be default load… Continue reading Azure Service Bus – introduction
Getting Azure subscription
There are a couple of ways you can get access to Azure services. You might get it from work or with BizSpark program. However, if you want to get it for free, just go to Azure website and start a trial. After couple of minutes of configuration you will have full functional Azure environment with vast… Continue reading Getting Azure subscription