I defined a WebApi which takes the credetianls from the browser, it works.
After deploying it I have to edit the Authentication on the server from Anonymouns
to Windows
. I tried to add <authentication mode="Windows"/>
to the Web.Config.Release but it doesn't change...
Why? Suggestions?
Web.Release.Config authentication attribute
805 views Asked by Emaborsa At
1
The
.Release.Config
file is not a.Config
file as such - it's a file that describes how to transform the defaultWeb.Config
file into a newWeb.Config
file for release.So, you don't simply add nodes to it - you need to specify the modifications you want to make using the defined syntax for this - see https://msdn.microsoft.com/library/dd465318(v=vs.100).aspx
In your case, you probably want something like: