How to Protect Yourself as a Software Developer Against Rapid Changes in a Fast-Paced Industry

Jobs in software industry are normally good job with relatively high pay. But some people think it’s like our industries where you put a lot of initial efforts and then it’s all done. But software development not only needs a lot of initial efforts, but also a lot of efforts after that to stay up … 

 

How to use ConfigBuilders for User Secrets Management in Asp.Net MVC 5

When it comes to storing our app secrets, Asp.Net Core has a built-in mechanism to do that out of the box. But this is not the case for Asp.Net MVC 5. For MVC 5, we need to install custom configBuilders packages in order to be able to have the same functionality. There are many other … 

 

Application Secret Management: How to Implement a Good Secret Management Strategy

Sometimes bad things just happen, or perhaps they happen because of our neglect. Bad things like committing an application secret into our repository. The problem with doing that is that if that happens, deleting the secret and committing will not suffice. We need to purge that commit completely from our repository and its history. But … 

 

How to Customize Windows Terminal and PowerShell Using Fzf, Neovim and Beautify it with Oh My Posh

PowerShell on its own it a very powerful tool. But what if told you can make it even better using some tools that you can install on it? Not only that but you can also make it more beautiful/handsome, perhaps with a bit of a personal touch too? So, in this post I’m going to … 

 

When to use NoSQL Database Instead of Relational Database

The traditional SQL database is an optimal solution for highly structured data that’s often required in accounting and e-commerce. But for unstructured data, NoSQL databases are the way to go. MongoDB’s post on NoSQL vs. SQL databases is an article that goes deeper into that subject. But long story short, the biggest difference is that … 

 

How to Choose a Good Software Testing Strategy

Previously I wrote an article titled The Right Balance Between Different Types Of Test. This article in intended to act as a complementary piece that will help us to make a better choice when it comes to adopting a testing strategy. In this post we’re going to first see what different types of tests are … 

 

Integration Test In Asp.Net Core 6 Using SqlServer Image and TestContainers

This post is about writing integration tests and TestContainers. As you might know writing integration tests against the in-memory provider is a bad practice. Because it only works well with trivial solutions. Mostly because the in-memory API of IQueryProvider doesn’t match the LINQ query provider. Here’s a good article called “Avoid In-Memory Databases for Tests” … 

 

How to Use Elastic Search Geo Shape Query

There are circumstances when we have a set of coordinates and we want to perform a  geo search on them. More specifically we want to find out if the coordinate used in our search falls within a shape. In that case we can use the Elastic Search geo shape query to achieve that. In this … 

 

Color Coder: Using Roslyn APIs For Syntax Highlighting

Couple of years ago, I’ve created a Visual Studio extension to colorize things in C#. More specifically I was trying to colorize different programming constructs such as extension methods. So it had to be done in a syntax aware manner as oppose to coloring text. For that I used Roslyn .NET compiler to do this. … 

 

Elastic Search: Highlighting Text That Contains HTML Tags

Using Elastic Search highlighting is normally straightforward. But sometimes we have a piece of text that contains other information. For example we may have a text the contains html tag or other information that we want to ignore. In these cases using the normal highlighting does not give us the result we’re seeking. For example …