Questions tagged [web-administration]

Microsoft's API for administering IIS in .NET.

The Microsoft.Web.Administration API:

contains classes that a developer can use to administer IIS Manager. With the classes in this namespace, an administrator can read and write configuration information to ApplicationHost.config, Web.config, and Administration.config files.

The classes in the Microsoft.Web.Administration namespace contain a series of convenient top-level objects that allow the developer to perform administrative tasks. The different logical objects available include sites, applications, application pools, application domains, virtual directories, and worker processes. You can use the API to obtain and work with the configuration and state of these objects and to perform such actions as creating a site, starting or stopping a site, deleting an application pool, recycling an application pool, and even unloading application domains.

80 questions
-1
votes
2 answers

PowerShell - web administration - get just the 443 bindings - having trouble

I have this code that gets me site bindings which is great. But it gets me all bindings. Is there anyway to filter it so I just get the 443 bindings? Import-Module Webadministration Foreach ($Site in get-website) { Foreach ($Bind in…
LifeMy333
  • 21
  • 3
-1
votes
1 answer

How link a subdomain to the different server ip?

I have my primary domain, bogdan.co, that is linked via NS records to my hoster (hts.ru). Now I want to create a sub-domain cloud.bogdan.co, that should be hosted at my owncloud server on specified port: 91.122.34.89:2207. How can I make this?…
-1
votes
1 answer

wmi query not returning data for a specific server

I have below perl script to get sites information from different servers. The script is working fine except for one server. #!C:/perl/bin/perl use strict; use Win32::OLE('in'); # WMI access and optimised flags use constant…
Mohammad Nadeem
  • 9,134
  • 14
  • 56
  • 82
-2
votes
1 answer

How can I do it in C#?

How to set output caching for an application in IIS? Programmatically
MaviLe
  • 15
  • 2
1 2 3 4 5
6