使用asp.net成员身份登录wcf [英] login in wcf using asp.net membership

查看:72
本文介绍了使用asp.net成员身份登录wcf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用asp.net成员资格提供wcf中的登录服务,那么我该怎么做呢?plz plz plz帮助我

i want to make login service in wcf using asp.net membership provide so how can i do that plz plz plz help me

推荐答案

Google的第一个结果: http://www.dotnetfunda.com/articles/article784-membership-provider- with-wcf.aspx [ ^ ]
Google''s first result: http://www.dotnetfunda.com/articles/article784-membership-provider-with-wcf.aspx[^]


我过去这样做的方法是用您自己的标准成员资格提供程序覆盖.

在此处从Microsoft下载当前的成员资格提供程序源:
http://download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi [
The way I have done this in the past is to override the standard membership provider with your own.

Download the current membership provider source from Microsoft here:
http://download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi[^]

Once you have done this you could simply replace the data access section of the membership provider with some service calls. In effect you would be using your WCF service as a data access proxy and then use the membership provider in your website as the business logic and service communication layer.


这篇关于使用asp.net成员身份登录wcf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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