What is Remoting?

The process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application domains, whether on the same computer or not, and between different contexts, whether in the same application domain or not.

How many types of classes in .Net?

The class is one of the two basic encapsulation constructs in C# (the other being the struct). Every executable statement must be placed inside a class or struct. Classes define reference types that are the basic building blocks of C# programs, and they are the architectural blueprint for the “objects” in OOP. Types of classes :- Abstract: An instance of the class cannot be created. Usually this means the class is intended to serve as a base class. Abstract methods must be overridden in a derived class. If any method of a class is abstract, the entire class must be … Click here to continue reading.

Advantages of Windows Service Application in .net

You can control the user (and the rights associated with this user account) which starts the process an Automatically started process means the desktop need to be on, not user logged, for the service to run a policy on failure can be defined (try to restart n times run a specific program if fails) a dependency can be defined (if you depend on other sevices) you can wrap your scrip in an invisible windows you can easily start/stop/restart the script (net start <scriptname>) You can manage a service from another machine (start/stop) As services write to the event log you can … Click here to continue reading.