您可以使用Windows应用程序的asp.net成员资格提供? [英] Can you use the asp.net membership provider in a windows application?

查看:131
本文介绍了您可以使用Windows应用程序的asp.net成员资格提供?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Asp.Net成员提供了一些明确的用途在一个Web应用程序。我想试图利用一些在Windows应用程序(更具体地说WPF)的功能。有谁知道是否有可能使用一个Windows应用程序的核心功能?我大多只是寻找它的创建数据库表,维护用户,角色和配置文件。我显然没有需要使用内置的Web控件(如登录)。

The Asp.Net membership provider has some clear uses in a web app. I am thinking about trying to leverage some of the features in a windows application (more specifically WPF). Does anyone know if it is possible to use the core features in a windows app? I am mostly just looking for it to create my database tables, and maintain users, roles, and profiles. I obviously do not need to use the built-in web controls (e.g. Login).

推荐答案

我有一个WinForm的应用程序,会谈的DotNetNuke(DNN)。 DNN使用了Asp.net成员资格提供程序,因此源将适用于使用该成员资格提供程序以及其他应用程序。这是一个非常简单的应用程序,所以你应该能够很容易地读取源。

I have a winform app that talks to DotNetNuke (DNN). DNN uses the Asp.net membership provider, so the source will work for other apps that use that membership provider as well. It's a very simple app, so you should be able to read the source easily.

<一个href="http://www.systemwidgets.com/Blog/tabid/61/articleType/ArticleView/articleId/138/categoryId/18/DotNetNuke-user-manager-Winform-App.aspx" rel="nofollow">http://www.systemwidgets.com/Blog/tabid/61/articleType/ArticleView/articleId/138/categoryId/18/DotNetNuke-user-manager-Winform-App.aspx

您应该能够适应与WPF工作的源泉。

You should be able to adapt the source to work with WPF.

这篇关于您可以使用Windows应用程序的asp.net成员资格提供?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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