Creating a windows service in .NET

In this article, we will discuss how to create windows services in .net using a visual studio project template. We will also see how to install and uninstall the windows service in the system. You can also download the source code for the windows service detailed in this post. Objectives: What is Windows Service Windows […]

Read More

Singleton Pattern in C#

What is Singleton pattern: Singleton pattern allows only one class instance to exist in the application. Singleton patterns fall under the creational patterns category of GOF. Singleton pattern allows defining a class in such a way the only one instance should exist in the lifetime of the execution of the application. Uses: Singleton pattern can be used […]

Read More