Latest Posts On Code Maze

REST vs WebSockets in C#

REST vs WebSockets in C#

Generally, REST and WebSockets are both means of ensuring communication between two or more applications. In this article, we are going to look into them in detail to understand their individual strengths, and weaknesses and when to choose one over the other. How often do you think about the abstractions you use...

Read and Write Windows Registry in C#

Read and Write Windows Registry in C#

In this article, we will learn what Windows Registry is, how we can work with it in .NET Core, and how we can read and write Windows Registry in C#. After that, we will explore some advanced use cases of the Windows Registry.  A brief introduction to to most...

How to Force Run .NET Application as Administrator

How to Force Run .NET Application as Administrator

In this article, we will learn how to force run a .NET application as an Administrator. We will do that by modifying the application manifest file of our application to illustrate the whole process. [sc name="github"...

Handling Dates With Noda Time in .NET

Handling Dates With Noda Time in .NET

Handling dates can be confusing, especially when developing an application with time-sensitive data and users across different time zones. That's where Noda Time comes in. In this article, we will learn about handling dates using Noda Time in .NET and streamline our...

How to Build a Query String for a URL in C#?

How to Build a Query String for a URL in C#?

In web development, a query string is a crucial URL component that facilitates data exchange between clients and servers. In this article, we will learn how to build a query string for a URL in C#. [sc name="github"...

Strangler Fig Architectural Pattern in C#

Strangler Fig Architectural Pattern in C#

In this article, we will discuss the use of the strangler fig architectural pattern. While the design can be applied to any programming language, we will focus on C# here.  [sc name="github"...