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 ? enter image description here

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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -