In my previous post http://codechavez.com/easy-asp-net-core-health-check/ I went over how to implement the out of the box Health check capabilities, we find in dotnet core. Now, I would like to show you how to customize a health check response in ASP.NET Core. Let’s jump right into it. The code above takes…
Easy ASP.NET Core Health Check
Getting emails after something went wrong in your production running code is now these days thing of the past. I mean not get me wrong I did use email notifications a long time ago (when Jr.) then I moved into Loggers such as NLog and Serilog, however despite there robust…
Reasons to upgrade your tech at least every LTS
Being in the industry for over a decade, I have encountered companies of all sizes and also all kinds of mind-set, especially “Ain’t broken why to change it” or “it’s running don’t touch it”. Yes, those companies still exist in Pandemic time 2020. I will explain 5 reasons why companies…
Pattern matching in C#
Pattern matching was introduce in C# 7.0. But, you don’t remember. Pattern matching is a feature that allows you to implement method dispatch on properties other than the type of an object. Now, with the upcoming release of C# 8.0 pattern matching have a few awesome improvements. But first let’s see…
Breaking Silo Development
Waterfall was my first development life cycle for at least a few months until I realized that agile was the future back them (10 years ago), I have developed using agile methodologies from SCRUM to Kanban and XP, in some instances. Collaboration and rapid development of code thanks to a…
How to compare Tuples?
A few days back I was asked, How to compare tuples? This is currently a easy task to accomplish thanks to C# 7.3. On that release, support for the == and the != operator was added. The operators work by comparing each member of the left to each member of…
Query Tags in EF Core
Entity Framework Core 2.2 has introduced a feature that in my personal use has become a very useful update. We all have gone and try to track down a query using the query profiler in SSMS or any other tool. But, we are blasted with tons of queries which make…
Expression-bodied members in C#
Expression-body members is one of those updates that no many developer known about. I have encountered many cases some developer first thought is “A property?”. Part of the reason many developer have yet to embrace expression-bodied members is the lack of principals such as SOLID or completely never heard of…
Out Variables in C#
Out variables are not my go to variables because I rarely write in a way where I have to use out variables. But for some developer this is somewhat of a daily bread, specially if they are dealing with old libraries. I’m not saying that’s the only way you may…
CI Angular Apps in Azure DevOps
Angular Apps Continues Integration and Continues Delivery using Azure DevOps Angular is one if not the most common framework, that many developers which write C# code feel more inclined, in order to leave ASP.NET MVC. I mean come on, for me, Separation of Concern is done for it when you…