Introduction to Server Components in ASP.Net
controls that you find in the toolbox of the Visual Studio.Net can also
be considered as server components and the difference being that they
have a user interface whereas a pure server component does not have the
In Classis ASP you could have created server components, which are DLL files and you need to register them using the regserv32 command line utility to use it in your ASP applications whereas in ASP.Net you need not register the server components that you have created. You can simply put the server components in the bin folder found in the root of the ASP.Net application. The ASP.Net application will automatically refer to the server components in the bin folder when they are used.
In the Visual Studio.Net toolbox you can find many components for data access in the Data tab. When you drag the components from the Data tab to the web form in the design mode, you can see the components in place in the components tray. When you drag a control from the toolbox to the web form and if you see the component tray appear, then you can know the control that you have dragged is a component, which means that it doesnt have a user interface. There is a components tab in the tool box. The different server components that you can find in the components tab of the toolbox are:
FileSystemWatcher: This server component is used to watch for any changes in a particular directory or a file in a directory. The server component can watch for files in local computer or even remote computer. You can use this server component to watch for changes such as change in the name of the file, the date on which the file was last written, the changes in attributes etc.
EventLog: This server component is used to access or customize the event logs. You can use this server component to read and write an existing event log in the server.
Process: This server component is used to access the process that is running on a system. This server component is used to start, stop, control and monitor applications. You can also get information such as the amount of memory the process is using.
ServiceController: This server component is used to connect to an existing service and to control the behavior of that service.
There are other server components such as DirectoryEntry, DirectorySearcher, MessageQueue, PerformanceCounter, Timer, and ReportDocument found in the components tab of the toolbox of Visual Studio.Net which are used in ASP.Net.
to our mailing list and receive new articles Note
: We never rent, trade, or sell my email lists to Visit
.NET Programming Tutorial Homepage ______________________________________________________
to our mailing list and receive new articles
: We never rent, trade, or sell my email lists to
Visit .NET Programming Tutorial Homepage
|How to Define Custom Error Pages for Error Handling In ASP.Net Application| Role of Web gardens and web farms in ASP.NET | Understanding Purpose and Usage of "event" Class Member Modifier in C# (C Sharp) | Understanding the Structure and Content of Web.Config File | Usage of C# (C Sharp) Query Keywords group, by, into | Usage of C# (C Sharp) Query Keywords join, on, equals, let |Usage of C# (C Sharp) Query Keywords orderby, ascending, descending | Usage of C# (C Sharp) Query Keywords select, from, where, in | Usage of Lambda Operator (=>) in C# (C Sharp) |Using C# (C Sharp) as a tool for object oriented programming | Using Dictionaries in .Net An Overview | Using WCF for providing web service |