vs-devserver

Active Directory authorization: IIS vs Visual Studio Dev server

前提是你 提交于 2019-12-10 17:43:14
问题 I have a web project that uses Active Directory authorization (All controllers marked with AuthorizeAttribute ). In web.config i have following authentification section: <authentication mode="Windows" /> <authorization> <deny users="?" /> </authorization> The problem is: When i run project under Visual Studio Development Server everything goes fine, it pops authorization window, after entering login/password i can see all site contents. But, when i try to run it under IIS (7.5) authorization

Visual Studio Development Server using wrong port

折月煮酒 提交于 2019-11-28 06:49:06
Related to a previous issue that I thought was resolved and actually isn't... My Visual Studio 2008 installation may be a bit messed up, I think. When my ASP.NET project is set up to use VS Dev Server with a fixed port, I get the "Port in use" error described in the linked question . When my project is set up to use a random (auto-assigned) port number, it works, but it launches the browser using a port number 3 less than the actual Dev Server port number (e.g. if the port number is 1903, the browser launches to http://localhost:1900/ ) If I make changes to the project settings, they do not

Visual Studio Development Server using wrong port

余生长醉 提交于 2019-11-27 01:30:51
问题 Related to a previous issue that I thought was resolved and actually isn't... My Visual Studio 2008 installation may be a bit messed up, I think. When my ASP.NET project is set up to use VS Dev Server with a fixed port, I get the "Port in use" error described in the linked question. When my project is set up to use a random (auto-assigned) port number, it works, but it launches the browser using a port number 3 less than the actual Dev Server port number (e.g. if the port number is 1903, the