Senior Software Consultant C#, DevOps, Cloud

Redis connection lost 0

Redis connection issues

At my current client, we have been dealing with an ongoing problem while scaling their cloud systems to the ever increasing customer-base. As it is with any software that needs to scale, we’ve been seeing and solving scalability problems along the way. Anyone who has ever dealt with scaling a system to accommodate a lot of concurrent users, knows that issues will be showing up places you aren’t expecting. While scaling the system, we’ve made it more resilient and fault tolerant, and also learned to mitigate many of the problems as they are arising. We’ve improved logging and metrics, so we know exactly what is happening, and can see stability problems before they affect the end-users. Redis loses connection, and will not reconnect In our system, we use StackExchange.Redis(v1.2.6) to...

1

Re-use Controllers, Views and Tag-helpers in ASP.NET Core

I recently ran into a situation, where I needed to implement the same functionality, the same views and even the same tag-helpers for different customers. Like most other developers I hate copy-pasting code that should be shared across multiple projects. I had come across a similar need a few years back, but remembered that it was cumbersome in ASP.NET 3-5, to achieve this, and the solutions back then didn’t feel right. But since my recent switch to dotnet core, I knew there was a chance that Microsoft had a prepared an early christmas present for me. So I started researching my options, searching for titles similar to this blog post, and finally found a solution on the third place on google (Yes I was that desperate). Introducing Application Parts /...

0

Hello world!

Finally, I created the blog. My old website on this same domain, was a static html file, telling people who I was, and what I do. Not only was that 3 years out of date, and I had since changed jobs, and become a consultant. But it provided no value for anyone.   Like most other developers, I run into problems and find solutions to those problems, but I am not sharing that knowledge with the world, which is a shame. Through my career I have functioned as a tutor and then later a teacher at the local academy, but I often find myself in mentoring positions, such as the one I am in now. I currently work as a Senior Software Consultant, and one of my many duties, is...