|
|
|
|
Be Grateful to Software: A Quiet Invitation to Joyful Coding |
|
In the world of software development, it’s not uncommon to hear a chorus of complaints echoing through forums, offices, and online communities. Developers grumble about sluggish IDEs, convoluted frameworks, cryptic error messages, and the ever-changing landscape of tools that demand constant adaptation. These frustrations are real, and in many cases, valid. After all, constructive feedback is the lifeblood of progress—it sharpens tools, refines workflows, and helps communities evolve. |
|
Posted On : 27 Oct 2025 |
|
|
The Journey of Null: Lessons for Everyday Code |
|
So far, we’ve traced the history of null—from its humble beginnings in C and C++ to the carefully crafted checks and compiler features in modern C#. That journey showed us how languages themselves have evolved to make null safer. |
|
Posted On : 20 Oct 2025 |
|
|
The Journey of Null: Taming It in C# |
|
In Part 1, we traced how null came to be and how C, C++, and Visual Basic handled it. In this post, we dive into C# — from its early struggles with null references to the modern era of nullable reference types and null-safe operators. Along the way, you’ll see how the language gradually empowered developers to write safer, cleaner code. |
|
Posted On : 13 Oct 2025 |
|
|
The Journey of Null: How It All Began |
|
If you’ve been programming in C# for any length of time, chances are you’ve met the infamous NullReferenceException. It usually shows up at the least convenient moment, flashing its cryptic message: “Object reference not set to an instance of an object.” |
|
Posted On : 06 Oct 2025 |
|
|
Test APIs using Endpoints Explorer and .http files |
|
ASP.NET Core web developers often need to test the controller based APIs and minimal APIs they add in their projects. Typically developers use tools such as Postman or Swagger for this purpose. Visual Studio 2022 now has tools that can come handy for quickly testing your APIs. This article explains these tools with an example. |
|
Posted On : 18 Sep 2023 |
|
|
7 Features of C# 7.0 Worth Knowing |
|
As you are aware of C# 7.0 and Visual Studio 2017 have been released. In this article I quickly take you through seven new features of the language that are worth knowing. I assume that you are familiar with C# 6.0 and hence I am not going into too much technical details of these features here. My aim is to quickly let you know of a few interesting features that can make your C# code more efficient and clear. Let's get going. |
|
Posted On : 24 Mar 2017 |
|
|
Convert JSON and XML markup into C# classes using Visual Studio |
|
Visual Studio provides a plethora of features that make you more productive. One such feature is converting XML or JSON markup into C# classes. This article discusses this feature with a few examples.
XML and JSON are the two commonly used data formats for serializing data over the wire. Many a times you need to map XML or JSON markup to C# classes. No doubt, you can create these C# classes manually but Visual Studio can provided a good starting point by automating the process.
|
|
Posted On : 29 Nov 2016 |
|
|
Use Lazy Initialization to Delay Object Instantiation |
|
It is a common practice to declare object variables as the class members and initialize them in the constructor of the class. At times, however, you need to delay the object instantiation until its first use. One way to achieve such an deferred object instantiation is to write custom code that implements Lazy Load pattern. An easy alternative is to use .NET framework's inbuilt lazy initialization feature. To that end this article explains the later approach. |
|
Posted On : 22 Feb 2016 |
|
|
Six New Features of C# 6 You Should Know |
|
As you are probably aware C# 6 is now available and there are some nice new additions to the language. Here is a quick overview of six new features of C# that are worth noting. |
|
Posted On : 10 Aug 2015 |
|
|