![]() ![]() Classes are implemented by the IIS WMI provider in the MicrosoftIISv2 namespace. Like other options like services, computer details, processes, etc., IIS can also be controlled by WMI. For example, an enterprise organization might place its human resources Web site and its finance Web site on the same server, but in different application pools. Use multiple application pools when you want to help ensure that applications and Web sites are confidential and secure. Any Web directory or virtual directory can be assigned to an application pool. An application pool is a group of one or more URLs that are served by a worker process or set of worker processes. We can separate different Web applications and Web sites into groups known as application pools. IIS supports HTTP, HTTPS, FTP, FTPS, SMTP and NNTP. Internet Information Services, IIS is an extensible web server created by Microsoft for use with Windows family. This code uses both C# and WMI methods to provide a robust application which will work in 99.99% of environments (0.1% exception may exist on very highly secured environments). WMI provides us vast methods to accomplish the task. Even though method provides simple 3 lines of code to do that, still we are in need of a cleaner code which can perform the action under restricted environments as well. There are many ways to check status, stop, start the application pools on remote servers. This tip aims to achieve that with any IIS installed destination server. There are situations where we would need to restart IIS application pools remotely via C#. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |