关于WCF会话管理的问题 [英] Question about session management in WCF

查看:61
本文介绍了关于WCF会话管理的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我想询问WCF的会议

我在大项目上工作,这个项目在3部分工作(服务器,客户端应用程序,管理系统)



服务器是客户端和WCF服务的内容数据库,用于保存和分析服务器和客户端应用程序之间的所有客户请求。



所以我想创建基于服务器的管理系统,可以观察和控制会话。



例如我有客户端(A)这个,我想通过IP地址阻止这个客户端服务。那么我怎样才能阻止客户端(A)在使用该服务时(实时阻止)。



我可以通过添加数据库来添加字段调用(客户端权限),但是当我更改数据库中的字段时这是有效的,但这种方式只有在客户重新连接到服务时才有效。

解决方案

本文应该对您有所帮助 WCF服务行为示例:IPFilter - 允许/拒绝按IP地址访问 [ ^ ]

Hi guys

I want to ask about sessions in WCF
I work on big project and this project work on 3 part ( Server, Client app, Management system )

The server it's content databases for clients and WCF service that's holding and analysis all customer requests between server and client app.

So i want to create Management system that's based on server and can watch and control sessions.

For example i have client (A) this and i want to block this client from service by IP address. So how can i block client (A) from using the service when he work on it specifically ( on real time block ).

I can do this using database by adding field call (client permissions ) but it's work when i change the field on database but this way work only if customer do reconnect to service.

解决方案

This article should help you WCF Service Behavior Example: IPFilter - Allow/Deny Access by IP Address[^]


这篇关于关于WCF会话管理的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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