Manage windows services with WMI
The article present an example of using Windows Management Instrumentation (WMI) with .NET for getting information of the windows services and managing them (start, stop, pause, and resume service).
How to check Web site status with C#
The article will show how to check your Web site status. It uses HttpWebRequest and HttpWebResponse classes for sending an request to the site and check whether the web site return the page successfully.
C# get MX records
The following article shows a code that can be used to retrieve the MX (Mail Exchange) records information using P/Invoke. There are used the following two functions of the file Dnsapi.dll: DnsRecordListFree and DnsQuery
Working with Enum in C#
The article will cover some aspects of working with enumerations in C# (converting strings and integer values to enumeration, how to check if integer value is defined into the enumeration and enumerate through the enumeration constants(foreach loop).
C# Singleton design pattern
The article is about the singleton design pattern. It presents three different ways to implement thread-safe singleton pattern in C#.
Finalize vs Dispose
This article presents some aspects of implementation of Dispose pattern and Finalize. It also gives sample implementation of Dispose pattern in C# with finalizer.
Constructors, inheritance and polymorphism in C#
The article presents an example about inheritance and polymorphism in C#. It shows the sequence of execution of the static and regular constructors and the appropriate method in polymorphic case.
How to get records count
The article shows SQL statement to get records count and concatenate columns from Details table and display them in Master table. The article use ASP.NET and GridView to display the results.