问题描述
我在寻找如何将STS在.NET 4.5使用WCF的例子。
I'm looking for Examples of how to a STS in .Net 4.5 using WCF.
所以情况是我有我想要写一个STS来验证和获取索赔存储在传统的SqlMembershipProvider数据库架构,我们都知道其数据的MVC 4 Web应用程序的爱。
So the scenario is I have a MVC 4 web app that I want to write an STS to authenticate and get claims that stores its data in the traditional SqlMembershipProvider database schema that we all know and love.
我猜STS可以是简单的WCF服务。
I'm guessing the STS could be a simple WCF service.
我GOOGLE了四周,但只能找到的东西,展示了如何做到这一切的时候WIF从核心框架分开。即之前被嵌入在.NET 4.5
I've googled around but can only find stuff that shows how to do all this when the WIF was separated from the Core Framework. I.e. before it was embedded in .Net 4.5
推荐答案
编写您的解决方案可能不会像你期望的那样容易。看看这是一个.NET STS。我猜想使用它会在你的情况即可,这是非常积极的发展。
Writing your solution may not be as easy as you expect it to be. Have a look at https://github.com/thinktecture/Thinktecture.IdentityServer.v2 which is a .NET STS. I guess using it will suffice in your case and it is very actively developed.
这篇关于使用WCF到STS在.NET 4.5中如何实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!