applicationhost

Microsoft.Web.Administration.ServerManager can't read config sections containing encrypted passwords in applicationHost.config

I have some sites in IIS7 that are configured to run as domain users (MYDOMAIN\someuser). I'm using the Microsoft.Web.Administration namespace to scan my server configuration, but it's throwing an exception when I hit one of these "impersonator" sites: using (ServerManager sm = new ServerManager()) { foreach (Site site in sm.Sites)...

Multiple AppDomain with Web-based Management Consoles

Hi everyone, I am thinking about a system that is based on plugins. I am going to create my plugins in each AppDomain and talk with them via Name Pipes in WCF. But I also want each of my plugins have some sort of management console in asp.net mvc and one management console for my system. How can I implement such a system? So they are o...

CallContext and ApplicationHost

I tried to create an ApplicationHost. But I had errors like SerializationException and FileNotFoundException. Then I found this blog entry, where it's seem to be a remoting problem. In my little application I use the CallContext, so I tried some approaches. When I empty the CallContext before I create the ApplicationHost, it works: Pro...

Using ApplicationHost.CreateApplicationHost() to create an Asp.Net post, while loading assemblies from another location.

I'm trying to use CreateApplicationHost to create an Asp.Net application host for a simple web server, however I'm getting a System.IO.FileNotFoundException when it attempts to create an instance of my marshalling object: host = (MyMarshaller)ApplicationHost.CreateApplicationHost((MyMarshaller), virtualDir, physicalDir); I believe tha...