开发者

WIF and ASP.NET and ASP.NET MVC on a single app

开发者 https://www.devze.com 2023-03-15 14:20 出处:网络
I have a web site I\'d like to switch to ADFS/WIF (Windows Identity Foundation). The web site has some ASP.NET MVC and other regular (WebForms) ASP.NET.

I have a web site I'd like to switch to ADFS/WIF (Windows Identity Foundation).

The web site has some ASP.NET MVC and other regular (WebForms) ASP.NET.

I've seen examples for MVC and examples for WebForms, but how can I have a blend of both flavors of ASP.NET living 开发者_Go百科side by side in the same web site (same domain) which still supporting WIF for SSO in each?


WIF doesn't care whether the app. is ASP.NET or ASP MVC. Just bind your app. to ADFS using FedUtil and it will work. FedUtil just changes the web.config.

You'll lose your current authentication pages (in the sense they won't be invoked) but the rest of the app. is untouched and will work as per normal.

If your app. is not currently claims-based, you'll have to make changes to consume the claims.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号