-
Posted to
IIS7 - Configuration & Scripting
by
eunicebiz
on
07-21-2009, 6:25 PM
Smart! That works perfect!
-
Posted to
IIS7 - Configuration & Scripting
by
eunicebiz
on
07-20-2009, 2:50 PM
I have the following code to add a http handler. However, after I run this code, all previously inherited handlers are converted to local and inserted into my web.config file.
If I manully add this http handler through IIS 7 Management Console, I only get one entry to web.config. How may I fix my code to do the same?
Thank you in ...
-
Posted to
IIS7 - Configuration & Scripting
by
eunicebiz
on
07-13-2009, 6:03 PM
I have a windows service, which run through Network Service account. In this windows service, I have a method (c#) which call Microsoft.Web.Administration to get a physical path for a web application hosted on IIS 7 (win2k8 64bit server) :
Site site = serverManager.Sites["Default Web Site"];
Application app = ...