How do I programmatically set Integrated Windows Authentication in IIS on a .NET web service?

Posted by arc1880 on Stack Overflow See other posts from Stack Overflow or by arc1880
Published on 2010-04-18T07:11:56Z Indexed on 2010/04/18 7:13 UTC
Read the original article Hit count: 287

Filed under:
|
|
|
|

I have a web service project that needs to be set to use Integrated Windows Authentication after installation. Normally, I would install the web service, then manually go to IIS and make sure the box is checked for Integrated Windows Authentication. There has to be a way to do this through code. I have looked up on using the Installer class. It looks like this is something I could use, but I have not found anything on setting properties programmatically in IIS.

© Stack Overflow or respective owner

Related posts about c#

Related posts about integrated