[ACCEPTED]-Help: How to enable Windows Authentication on ASP.NET Development Server?-iis
In order to configure IIS Express security 1 settings:
- look for the IIS express symbol in the taskbar (system tray).
- Right click and select "All Applications".
- Click on the name of the site you want to change (although I believe the change is site wide)
- Click on the path in the config section below (it will open the applicationhost.config file)
- Search for the authentication section and make your changes
Example changes can be found here:
http://toadcode.blogspot.ca/2011/08/security-config-in-iis-express.html
ASP.Net Development Server is very limited. It 11 only serves requests originating from the 10 same machine that it is running on, and 9 it will not serve files that are outside 8 of its application scope. It is based on 7 the Cassini server. Cassini does not support 6 WCF web services. Documentation for ASP.Net 5 Development Server says that it does support 4 NTLM. If you are just browsing to a page 3 from the local machine it should work fine 2 unless the page is referencing an unavailable 1 resource.
check out http://msdn.microsoft.com/en-us/library/58wxa9w5.aspx for more info.
I would install and configure IIS on your 10 local dev machine and use that in preference 9 to using the inbuilt webserver. To use local 8 IIS to debug select "User Local IIS web 7 server" on the web tab of the project properties. Using 6 IIS rather than the inbuilt webserver also 5 means that you can configure your app in 4 exactly the same way as it will be configured 3 on the production server and this will reduce 2 the no of potential surprises when you move 1 to the production environment.
The solution to my authorization issue was 3 to go into the F4 project properties and 2 set the following:
Anonymous Authentication: Disabled
Windows Authentication: Enabled
Apparently these properties 1 update the IIS applicationHost.config directly.
http://provenstyle.com/blog/2015/10/02/Visual-Studio-2015-Windows-Authentication-And-IIS-Express/
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.