7 Aralık 2013 Cumartesi

windows authentication in IISExpress

When i migrated from Visual Studio 2012 to 2013, HttpContext.Current.User.Identity.Name started to return an empty string . To overcome this, i had to turn on Windows authentication and turn off anonymous authentication in applicationhost.config file and restart Visual Studio 2013. (http://stackoverflow.com/questions/4762538/iis-express-windows-authentication)
By the way, the project properties are as follows:

Hiç yorum yok:

Yorum Gönder