以前都是同事setup好IIS我來用,今天自己整了個,才發現很多門道。
比如說,authentication中默認只有這幾種:
我的一個project必須使用windows authentication。那咋辦捏?
到control panel>(category下的)programs>turn windows features on or off
剛打開時是沒有勾選 windows authentication的。勾選上。另外我還選了basicauthentication等等幾個。
然後重啓IIS。
注意這裏的重啓不是點擊下面這個restart:
而是把IIS的界面關掉,再打開。
然後就有了: