首页 > 解决方案 > Asp Web API Basic Auth not working when installed in iis server

问题描述

Asp Web API is working in VS Studio (normal get and service call with Auth) . But When i install same service (Copy and paste Bin) in IIS Server . Only Normal get data function is working , when try to call service call with Auth Getting 401 Error. enter image description here

Link i used to add Basic Auth in Web API :basic-authentication-in-web-api

Both Anonymous Authentication and Basic Authentication enabled in IIS.

Any idea ?

Update

Mycroft Doc mark http call as not secure , so is it getting blocked ? image basic-authentication

标签: c#iisasp.net-web-api

解决方案


推荐阅读