Framework Services Namespaces in Visual Studio
The namespaces in the .NET Framework for interacting with a variety of back-end server resources include:
- System.Diagnostics - consists of classes that allow you to debug your application and to trace the execution of your code. For more information, see the Trace and Debug classes. System.Diagnostics also provides classes that allow you to start system processes, read and write to event logs, and monitor system performance using performance counters. For more information, see the Process, EventLog, and PerformanceCounter classes.
- System.DirectoryServices - consists of classes that provide easy access to the Active Directory from managed code. The classes in this namespace can be used with any of the Active Directory service providers. The current providers are: Internet Information Services (IIS), Lightweight Directory Access Protocol (LDAP), Novell NetWare Directory Service (NDS), and Windows NT. For more information about the Active Directory, see Directory Services.
- System.IO - provides classes, including the FileSystemWatcher class, which listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
- System.Management - provides classes for managing information and events about the system, devices, and applications instrumented to the Windows Management Instrumentation (WMI) infrastructure.
- System.Messaging - provides classes that allow you to connect to message queues on the network, send messages to queues, and receive or peek (read without removing) messages from queues.
- System.ServiceProcess - provides classes that allow you to install and run services. Services are long-running executables that run without a user interface. They can be installed to run under a system account that enables them to be started at computer reboot. Services whose implementation is derived from the processing in the ServiceBase class can define specific behavior for start, stop, pause, and continue commands, as well as behavior to take when the system shuts down.
- System.Timers - provides the server-based Timer component, which allows you to raise an event on a specified interval.
In the Visual Studio Documentation
- Monitoring Performance Thresholds
- Provides basic information on monitoring Microsoft Windows performance thresholds.
- Logging Application, Server, and Security Events
- Provides additional information on monitoring Windows 2000 event logs by reading information from and writing information to them.
- Creating Messaging Components
- Discusses how to use the MessageQueue component to incorporate message-based communication into your application.
- Introduction to the .NET Framework Class Library in Visual Studio
- Provides an overview of the namespaces in the .NET Framework.
- Monitoring and Managing Windows Processes
- Provides an overview of the Process component and how you can use it to interact with system resources.
- Tracing and Instrumenting Applications in Visual Basic and Visual C#
- Provides an overview of the trace feature and how you can use it to generate output from your applications.
- Creating Active Directory Components
- Provides an overview on how you can use the DirectorySearcher and DirectoryEntry components to retrieve information from Active Directory file systems.
- Reacting to File System Events
- Provides an overview of how to use the FileSystemWatcher component to monitor directories for changes and react to these changes when they occur.
- Monitoring Windows Services
- Describes how to use the ServiceController component to interact with existing services.
- Creating Timer-Based Server Tasks
- Describes how to use the server-based Timer component to react to periodic events on a server.
- Programming with Components
- Presents a high-level overview of component programming and authoring.
- Introduction to ASP.NET Web Applications in Visual Studio
- Provides an overview of the components of an ASP.NET Web application, including Web Forms and XML Web services, and how Visual Studio helps you create a Web application.
- Message Queuing (MSMQ)
- Provides an entry point into the Message Queuing documentation in the Platform SDK.
- Directory Services
- Provides an entry point into the Active Directory documentation in the Platform SDK.
- Event Logging
- Provides an entry point into the Event Logging documentation in the Platform SDK.