Accessing RabbitMQ Management UI of .NET Microservices Sample Reference Application eShopOnContainers

Analyzing Microsoft’s .NET Microservices Sample Reference Application eShopOnContainers, I also wanted to see what happens on the message bus used by the ‘local’ setup running on Docker Desktop. In this setup, the application is using RabbitMQ. Access the RabbitMQ Login Page Getting to the login page of the local container …

Failed Unit Tests fixed in .NET Microservices Sample Reference Application eShopOnContainers

Running the unit tests of Microsoft’s .NET Microservices Sample Reference Application eShopOnContainers, some of them failed. I’m happy I was able to contribute to the project by fixing the root cause of the failure of the tests MarketingScenarios.Set_new_user_location_and_get_location_campaign_by_user_id and IntegrationEventsScenarios.Post_update_product_price_and_catalog_and_basket_list_modified. See the corresponding issues #1403 and #1404 on GitHub for …

First Pull Request for Microsoft’s Microservices Sample Reference Application eShopOnContainers merged

Having Microsoft’s .NET Microservices Sample Reference Application eShopOnContainers started the first time on my local machine, I was not able to login. Looking at the already reported issues, I noticed that this was a known error. Also, the solution was known. Back in 2018, it was reported on GitHib that …

Private Accessor for .NET Core Assemblies

As I do not share the opinion that testing of private methods is an anti-pattern (to me, it is essential to implement complete button-up tests), I tried to implement a private accessor based on my post Home-made Private Accessor for Visual Studio 2012+ for a .NET Core project. To my …

Disable Entity Framework Code First Initialization Logic

When you use the Entity Framework Code First approach to build your database, EF’s default behavior is to verify if a database exists when the application runs the first time. In case it does not exist, EF creates it. There might exist some situations when there is no need to …

Handle Race Conditions / Concurrency in Code First Entity Framework Applications

Preface A common scenario in developing applications is the handling of concurrent database updates. Given there is an application to manage customers, that is used by multiple users simultaneous. User U1 reads the data of customer C1. While user U1 is looking at this data, user U2 reads the data …

Tracing in Microsoft Azure Cloud Service

Setting Up the Tracing Since it took me some time to figure out again what to do to see the tracing output of my Microsoft Azure Worker Role in a Cloud Service, here are some hints. First, read How To Enable Diagnostics in a Cloud Service. Following the step-by-step description …