c# - Remove Authentication from Web api on Localhost -
i have odata web api on visual studio using ado.net framework. getting authentication window on chrome, removed authorize parts controllers , web.config file, yet window asking username , password coming.
how remove ?
my web.config file has
<system.web> <authentication mode="windows"> <forms requiressl="true" /> </authentication> <authorization> <allow roles="myservice" /> <deny users="*" /> </authorization>
which removed still authentication window opening. lot help.
use none
mode authentication-element. default value when not specify windows
. more information asp.net authentication can found here
<authentication mode="none"> <!--<forms requiressl="true" />--> </authentication>
Comments
Post a Comment