Geeks With Blogs
Eugene's Think Tank
Want to know what Services or/and Processes are running currently on your PC? In one of my previous project I implemented small diagnostic utility which showed what processes and services are running on host box. Here is the example how to obtain this information. using System; using System.Collections.Generic; using System.Linq; using System.Text; ......

/* The Singleton pattern assures that there is one and only one instance of a class, and provides a global point of access to it. There are any number of cases in programming where you need to make sure that there can be one and only one instance of a class. For example, your system can have only one web service manager, or a single point of access ......

Sometimes windows service debugging is really tricky. Usually , during development, developer should implement some test harness application with UI to run and test functionality being developed. But when it comes to debug real windows service which hosts the objects which do the real job - it's a headache. Amazingly, in NET platform there is a simple ......

Today I will show how to implement factory design pattern in NET platform. One type of pattern that we see again and again in OO programs is the Factory pattern. A Factory pattern is one that returns an instance of one of several possible classes, depending on the data provided to it. Consider the following C# code sample: using System; using System.Runtime.Remoting; ......

Copyright © EKosnyrev | Powered by: GeeksWithBlogs.net