Windows Services
Welcome to Windows Services section of C# Corner. In this section, you will find various Windows Services related source code samples, articles, tutorials, and tips.


  • Naresh Avari

    Develop and Install a Windows Service in C#

    This article explains a step-by-step process of developing and installing a Windows Service to do a scheduled job based on a time interval.
    Naresh Avari Jun 21, 2021
  • Kuldeep Singh

    Win32 APIs Now Available For More Languages

    Win32 APIs are now readily accessible to C# and Rust.
    Kuldeep Singh Jan 25, 2021
  • Jimit Bhatt

    Records System Session Events Triggered Time Like Shutdown, Lock/Unlock, LogOn/LogOff Using Windo...

    This blog explains how to record system events such as Windows Lock/Unlock, LogOn/LogOff, Shutdown in C#.
    Jimit Bhatt Sep 10, 2019
  • Pankaj Pandey

    Install Windows Service Without Visual Studio Command Prompt Without Setup

    Here are the steps required to install a Windows Service from command prompt without building a setup in Visual Studio.
    Pankaj Pandey Aug 18, 2019
  • Gaurav Malviya

    How to Install or Uninstall a Windows Service

    This article demonstrates how to Install/Uninstall a Windows Service written in C# .NET.
    Gaurav Malviya Aug 18, 2019
  • Sachin Saket

    Recognizing DLL Hijacking On Windows

    In this article, you will learn about recognizing DLL hijacking on Windows.
    Sachin Saket May 29, 2019
  • Rohit Kainth

    Windows Function - FIRST_VALUE And LAST_VALUE

    I hope you all are doing great. This article is next in series of Windows Function - Part 1 (LAG and LEAD). This article focuses on other Windows Functions, i.e., First_Value and Last_Value.
    Rohit Kainth Oct 23, 2018
  • Mahesh Chand

    Creating a Windows Service in C#

    Windows Services is a new name for NT Services in .NET. This tutorial steps you through creating a Windows Service and how to install and start it.
    Mahesh Chand Sep 15, 2018
  • Neven Stojanovic

    Hosting WCF Service Within Windows Service

    Self-Hosting can be achieved by using various types of Windows applications. Such applications can be: Console Applications, Windows Applications(Windows Forms, WPF), Windows services
    Neven Stojanovic Jul 30, 2018
  • Abhay Dixit

    New Windows Desktop Program For Desktop Application Analytics

    Windows had introduced a new desktop program for the analytics of computer applications offering developers a one-stop solution for their desktop application analytics.
    Abhay Dixit Jan 25, 2018
  • Mohamed El-Qassas (Mvp)

    If The Boot Configuration Data For Your PC Is Missing Or Contains Errors

    The Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It is used as new Windows Boot Manager. It replaces the "boot.ini" file that was use...
  • Manas Mohapatra

    Get Windows Service Name From App.Config In Installation

    This blog describes how to fetch service name App.config at the time of installation.
    Manas Mohapatra Sep 06, 2017
  • Rahul Pushpkar

    Start/Stop Remote Windows Service From Client Application

    Start Stop Remote Windows Service From Client Application.
    Rahul Pushpkar Apr 30, 2017
  • Mohamed El-Qassas (Mvp)

    Windows Server 2012 - Extend Volume Option Is Disabled In Disk Management

    In this article, I will show How to extend the Operating System drive in Windows Server 2012.
  • Vinodh Narayanan

    Active Directory Domain Services In Windows Server 2016

    In this article, you will be familiarized with Active Directory Domain Services in Windows Server 2016.
    Vinodh Narayanan Mar 15, 2017
  • Prashant Kumar

    How To Reset Or Remove Windows Activation/ Remove License Key Using Command

    In this blog, you will learn how to reset or remove Windows activation/ remove license key, using command.
    Prashant Kumar Jan 20, 2017
  • Manoj Kumar

    Run The Windows Service Using Command Prompt

    Mostly, we write the code for Windows Service very simply. At the time of hosting the Windows Service, many struggle in the first Service hosting. I think this following blog will be useful for tho...
    Manoj Kumar Dec 26, 2016
  • Allen O

    Embed A Web Server In A Windows Service

    Using NancyFX to provide a web-interface to a Windows Service.
    Allen O'neill Dec 06, 2016
  • Aarif Habeeb

    Hey Cortana!! Let’s Understand you Completely

    In this article you will understand Cortana completely.
    Aarif Habeeb Jun 28, 2016
  • Sushil Kumar

    Creating Windows Service In .NET with Topshelf

    This article is to help us to create Windows service in .NET with Topshelf and how to install it.
    Sushil Kumar Mar 06, 2016
  • Jignesh Raval

    Create Windows Service To Send Email Daily Using ASP.NET And C#

    This article explains how to create Windows Service in ASP.NET with C# to send mail on daily basis.
    Jignesh Raval Oct 07, 2015
  • Amit Choudhary

    Topshelf OSS Library

    This article shows how to make Windows Services easier using an ultimate .NET OSS library that provides control of nearly everything related to a Windows Service. The library is known as “TOPSHELF”.
    Amit Choudhary Jul 24, 2015
  • Manas Mohapatra

    Console Application Using Windows Scheduler

    In this article you will learn about console applications using Windows Scheduler in Windows services.
    Manas Mohapatra Jul 03, 2015
  • Chiheb Chebbi

    Introduction to WebAssembly

    In this blog you will learn about WebAssembly.
    Chiheb Chebbi Jun 23, 2015
  • Rajeev Ranjan

    Debugging a Windows Service

    This article explains the process of debugging a Windows Service.
    Rajeev Ranjan Apr 23, 2015
  • View More