A collection of my digitized thoughts and musings, now accessible over the cyber web space.
Dependency Injection is a design pattern used to achieve loose coupling and to increase the maintainability in our code. Using dependency injection in C# and .NET is pretty easy. We are provided with the following methods to register our services: Ad...
I often see this question pop out in online communities— from developers still starting out, to experienced ones who would like to explore the .NET ecosystem. In today's blog, I will be giving some insights and hopefully help you find an answer. A br...
Previously, deploying an application involved tasks such as setting up a virtual machine, implementing security measures, and installing the necessary frameworks. This complex process often resulted in unnecessary costs when the applications were not...
In practically every project or application, there is a requirement to configure and modify various settings based on the environment being operated on. A prime example of this is handling connection strings for databases, which should ideally remain...
What is the difference between the Int.Parse and Convert.ToInt32 methods? This question recently popped up in my head and prompted me to conduct more research, which is now laid out in this article. Key Notes Int.ParseConvert.ToInt32 Objectiv...
Along with the growing accessibility of the internet across the world, offensive actions across the virtual space have also become increasingly prevalent. According to Pew Research, roughly 4 in 10 Americans have experienced online harrassment. Throu...
As we approach the first anniversary of the .NET 6 general launch (originally released last November 8, 2021), I thought I would share my favorite additions to the latest and greatest ;) version of .NET 6. Let's review the goals of .NET 6. If we take...
In today's blog, we will be creating a simple cross-platform application with .NET MAUI. I'll be providing a general walk-through and useful resources so you can build your own app as well! The app, which I called ChooseDay, shows different ty...
A long and extensive list of using directives at the top of a .cs or .razor file is a familiar sight as a C# developer. The more dependencies you have, the longer this list goes. Some apply the #region directive on this part of the code, while others...
Days ago, I decided that my personal website needed updating, as some things weren't working anymore. The old version was written in plain HTML and CSS (as I am a front-end newbie), and I wanted to try out the popular Javascript libraries everyone se...