마지막으로 해결책을 얻었습니다. 그것은 작동
<modules>
<remove name="FormsAuthentication" />
<add name="WSFederationAuthenticationModule" type="System.IdentityModel.Services.WSFederationAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
<add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
</modules>
다음과 같이 정체성을 기반으로 요구를 들어
, 우리는 webconfig에 구성해야합니다.
고맙습니다 .............
으로 실패한 것은 클레임 기반 모델을 사용하는 것으로 보이는 MVC5의 요구 사항인지 확인하십시오. – Tim
죄송합니다 ... –
귀하가 지정한 web.config 섹션은 vs2013 미리보기 MVC5 템플릿의 web.config에 없습니다. 그래서 질문은, MVC5에서 새로운 클레임 기반 모델을 사용하고 있다면 내가 지정한 web.config 모듈 섹션을 가지고 있어야합니까? 및/또는 Windows 폼 인증이 웹 사이트에서 비활성화되어야한다고 가정합니다. – Tim