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 …
Category: Software Development
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 …
Mark external Links using CSS and SVG
Having usually several external links in my posts, I wanted to follow the trend to mark them. To be more precisely, I wanted to mark all links that will open a new browser window or tab, regardless of whether the link refers to a different site or to another post. …
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 …
Continue reading “Private Accessor for .NET Core Assemblies”
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 …
Continue reading “Disable Entity Framework Code First Initialization Logic”
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 …
Continue reading “Handle Race Conditions / Concurrency in Code First Entity Framework Applications”
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 …
Avoid CSS Footer Class To Overlap Content
Preface Unfortunately I can’t recall where I found the initial implementation. Anyway, from somewhere I copied some CSS class definition to create a footer that is fixed at bottom of a web page, no matter how high the browser window and the page’s content is. When using this in my …
Continue reading “Avoid CSS Footer Class To Overlap Content”
Paging Made Easy with ASP.NET MVC 5, Entity Framework 6 and PageList.Mvc
Preface In former days, implementing paging sometimes took a little bit of time. That was independent from the used platform, native Windows Client or Web or whatever. Fortunately, that was then and this is now. Implementing paging in an ASP.NET MVC 5 Entity Framework 6 application really became simple. Just …
Continue reading “Paging Made Easy with ASP.NET MVC 5, Entity Framework 6 and PageList.Mvc”