6 followers
I'm a software consultant who loves to build projects and share my learnings on this blog.
Subscribe to my newsletter and never miss my upcoming articles
When working in teams, we always want to ensure that any new PR (Pull Request) doesn't break the main build pipeline, deploy broken code or cause unit test cases to fail. We never want the PR to be merged to the master/main branch and then revert it ...
The need for Problem Details Often when you are developing REST APIs, one of the tough conversations to have with the consumers of your API (web client, mobile app, other 3rd parties, etc.) is defining the way your API would specify errors. Now, this...
In this article we will see how to add docker support to ASP.NET core app directly from Visual Studio with just 3 Clicks without manually creating or writing any code to Dockerfile. Navigate to the Solution Explorer of your project and Right-click ...
Writing software is a complex task, and it's quite common to see applications crash due to bad code, bad user input, unavailable resources or unexpected conditions at runtime, and so on. And when this happens, we say an exception has occurred that ca...
A common task when calling web apis or resources from code is building a URL and adding the necessary query string and parameters. The most common, naive and frequent code that we see to achieve this is : var userId = 1; var completed = true; var som...
What are Exceptions? An exception is a runtime error in a program that violates a system or application constraint, or a condition that is not expected to occur during the normal execution of the program. Exceptions occur due to bad user input or ba...