如何将客户端应用程序服务与WCF身份验证服务集成? [英] How do I integrate Client Application Services with the WCF Authentication Service?

查看:80
本文介绍了如何将客户端应用程序服务与WCF身份验证服务集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Membership Services保护.NET 4 WPF客户端的安全.

VS 2010中的客户端应用程序服务似乎与用于成员资格服务的AJAX应用程序服务包装程序(即AXD)集成在一起.

用于会员资格服务的WCF包装程序(即WCF身份验证服务)与我的设计更加一致.

除非我遗漏了一些东西,否则我发现的将客户端应用程序服务与WCF身份验证服务集成的所有示例都将服务配置为支持AJAX和WCF包装器,然后将客户端配置为使用AJAX包装器.

谁能指出我一个使用WCF身份验证服务的客户端应用程序服务示例?

I''m trying to secure a .NET 4 WPF client with Membership Services.

Client Application Services in VS 2010 appears to integrate with the AJAX Application Services wrappers (i.e. AXDs) for Membership Services.

The WCF wrapper for Membership Services, i.e. the WCF Authentication Service, is more consistent with my design.

Unless I''m missing something all the examples I''ve found for integrating Client Application Services with WCF Authentication Services configure the services to support both the AJAX and WCF wrapper then configure the client to use the AJAX wrapper.

Can anyone point me at a Client Application Services example that uses the WCF Authentication Service?

推荐答案

符合会员资格的客户端应用程序服务WCF包装器是从来没有建造.您必须使用AJAX包装器.

我发现Israel Aece撰写了一篇有关客户端应用程序服务的文章,该文章解释了如何执行此操作.这篇文章是葡萄牙语的.谷歌还是找到了.这些家伙应该像他们一样富有.

请注意,我已经为此进行了数十次搜索.我终于使用了来自客户端app.config和WCF web.config文件中的一堆关键词和阶段...

ClientAuthenticationMembershipProvider
"System.Web.ApplicationServices.AuthenticationService"
Authentication_JSON_AppService
看看是否有文章同时包含两个版本.

基本上,您可以让Client Applicition Services向导为AJAX包装器生成app.config设置,然后将设置更改为指向WCF包装器,例如启用WCF身份验证服务时创建的SVC文件.

我还没有尝试过.如果它不起作用,我将为这篇文章改正.
a Client Application Services compliant WCF wrapper for Membership Services was never built. You must must use the AJAX wrappers.

I found an article by Israel Aece about Client Application Services that explains how to do it. The article is in Portuguese. Google found it anyway. Those guys deserve to be as rich as they are.

Note that I''ve done dozens of searches for this. I finally used bunch of key words and phases from from both the client app.config and WCF web.config files...

ClientAuthenticationMembershipProvider
"System.Web.ApplicationServices.AuthenticationService"
Authentication_JSON_AppService
to see if any articles included both versions.

Basically you let the Client Applicition Services wizard generate the app.config settings for the AJAX wrappers then change the settings to point at the WCF wrappers, e.g. the SVC files you created when you enabled the WCF Authentication Services.

I haven''t tried this yet. If it doesn''t work I''ll corret this post.


这篇关于如何将客户端应用程序服务与WCF身份验证服务集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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