问题描述
在WPF桌面应用程序中是否有任何简单的用户会话示例(或有关此教程的教程)?
Are there any decent examples of (or tutorials on) simple user sessions in a WPF desktop app?
我的应用程序包含一个Entity Framework库,几个内部类库以及一个WPF项目表示层.目前,我们还没有加入任何Web服务或建立WCF层.
My app contains an Entity Framework library, a couple in-house class libraries, and a presentation layer that's a WPF project. We're not presently hooking into any webservices or building a WCF layer.
仍然,人们将使用Citrix帐户登录应用程序-许多人可能使用相同的帐户(那里是客户的设计),因此我想为每次登录创建一个用户会话.在桌面上这有多难处理?我在codeproject上找到了 WPF桌面自动注销示例 ,但没有登录/会话的基本实现.到目前为止,我发现的所有WPF会话信息都是基于浏览器的,主要是访问WCF服务.
Still, people will log into the app using a Citrix account- with many people possibly using the same account (client's design there), so I'd like to create a user session for each login. How tractable is this on the desktop? I've found an Auto logoff example for WPF Desktop on codeproject, but no basic implementations of the logon/session. All the WPF session info I've found so far has been browser based, mostly hitting WCF services.
推荐答案
基于@Matt_West的响应进行搜索,我被引导到一个事实,那就是我不应该在WPF中搜索用户会话管理",而是为了会员服务".完成此操作后,我发现了 WPF中的会员服务的SO线程
Based on searching due to @Matt_West's response, I was guided to the fact that I shouldn't be searching for "user session management" in WPF, but for "Membership Services." Once I did that, I found a SO Thread on Membership Services in WPF
这篇关于WPF桌面中的简单用户会话示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!