IIS App Pool Identity Internet Settings

active-directoryapplication-poolsiis-6

How does an IIS App Pool determine its Internet Settings?

I'm specifying a custom identity under which to host a .NET web application, a service account that is part of our Active Directory domain.

When the application runs, it needs to make HTTP requests to other servers. This action causes it to read web and proxy settings from some location, but I can't understand where it goes for this information.

Does it look:

  • At the default account's settings on that box?
  • At the default profile on the AD server?
  • Its own local/roaming profile?
  • A combination of the above?
  • Somewhere completely different?

Best Answer

Thought .Net used WinHTTP, eventually, under the covers. (NETSH WINHTTP SH PROXY)

Generally, though, I'd suggest it's best to be explicit about it in the web.config, via the defaultProxy element: http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx

Avoids all that nasty identity-based stuff.