OWIN Auth Startup未在IIS中触发 [英] OWIN Auth Startup not firing in IIS

查看:75
本文介绍了OWIN Auth Startup未在IIS中触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2015中创建了一个简单的Web API,并安装并配置它以使用Microsoft.Owin安全性。 当使用默认的IIS Express从VS运行应用程序时,一切正常,但是当我切换到使用本地IIS时,将忽略启动
类。我看到许多人在提供解决方案的许多人发布了同样的问题。我已经尝试了所有解决方案,但没有一个有效。 目标框架是4.5.2。 本地IIS Web应用程序配置为使用带有集成管道配置的AppPool
。 我的操作系统是Windows 10,我使用的是IIS 10.0.10586版。 


请帮忙!谢谢

解决方案

您发布的论坛错误。


http:// forums。 asp.net/1246.aspx/1?Web+API


https://forums.iis.net/



I have created a simple Web API in Visual Studio 2015 and installed and configured it to use Microsoft.Owin security.  When running the app from VS using the default IIS Express, everything works fine, but when I switch to use Local IIS, the Startup class is ignored. I have seen that many people have posted the same issue with many people providing solutions. I have tried all solutions, but none have worked.  The target framework is 4.5.2.  The local IIS web app is configured to use an AppPool with Integrated Pipeline configuration.  My OS is Windows 10 and I am using IIS version 10.0.10586. 

Please help! thanks

解决方案

You are posting to the wrong forum.

http://forums.asp.net/1246.aspx/1?Web+API

https://forums.iis.net/


这篇关于OWIN Auth Startup未在IIS中触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆