c# - 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.
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 ?
解决方案
推荐阅读
- python - google colab上的Keras嵌入层set_weights()错误
- sql - Oracle SQL - 此处不允许使用组功能
- reactjs - 如何将输入与状态数组进行比较,以防止重复输入
- r - 为什么我的骰子总和分布在 R 输出中的总和不正确,一旦我们达到 15+骰子(使用星形和条形计数逻辑)
- html - 如何在src 中使用模型属性的值?
- javascript - 在 iOS 上的移动 Chrome 上以 JavaScript 下载文件
- r - 如何为单元格平均 R 单元格中两个数据帧的值
- python - 从计数向量有效地计算“类 x 特征”计数
- python - 如何将熊猫数据框转换为 NumPy 数组
- r - R rolling_origin () 预测:如何使用测试数据仅在切片上执行滚动窗口