IIS Settings using C# RRS feed

  • Question

  • Hi All,

    I need to do some settings programatically on IIS using C#.

    Following are my requirements.

    1)For each site/applications/virtual directory open the list of providers, available for Windows authentication (Providers). Set providers in following sequence: Negotiate is a container that uses Kerberos as the first authentication method, and if the authentication fails, NTLM is used

    2)For each site/applications/virtual directory configure useAppPoolCredentials to True

    3) For each site/applications/virtual directory configure useKernalMode to False when we have SPN registered to the domain account.

    can anyone help?

    Thursday, January 31, 2019 10:57 AM

All replies

  • You should post to the IIS forums. Someone there has most likely done it.


    Thursday, January 31, 2019 1:42 PM
  • Hello, 

    What you expecting as a HELP? Looking for same one who will parse and re-write web.config in each directory? I think you can do this on your own... 

    Sincerely, Highly skilled coding monkey.

    Thursday, January 31, 2019 2:30 PM