使用 sqlite 或其他提供商的 ASP.NET 会员资格?

发布于 2024-07-10 02:33:36 字数 445 浏览 6 评论 0原文

有没有人有任何使用 Sqlite 与 ASP.NET 会员资格的示例? 我正在构建一个小型“插入”型 Web 应用程序,并且不想依赖 SQL 数据库来存储用户凭据等。Sqlite 似乎是一个不错的选择,并且我对其在 Elmah; 我也不介意使用 xml 作为数据存储。

另一方面,也许 ASP.NET 成员资格对于基本表单级安全性来说不是一个好的选择? 该应用程序的实施者不需要超过几个用户,目前我认为不需要角色。 我对使用 ASP.NET 成员资格的想法是易于设置和运行; 如果我不需要,为什么要构建安全类,对吧?

当然欢迎任何其他建议; 感谢您的时间。

Does anyone have any examples of using Sqlite with ASP.NET membership? I am building a small "drop-in" type web application and don't want to rely on an SQL database for storing user credentials, etc. Sqlite seems like a good option, and I have been impressed with its performance in Elmah; I wouldn't mind using xml as a data store either.

On another note, perhaps asp.net membership isn't a good choice for basic form level security? The app will not require more then a couple users for those who implement it, and at this time I don't see a need for roles. My thought of using asp.net membership is simplicity to setup and get running; why build a security class if I don't need to, right?

Any other suggestion are surely welcome; thank you for your time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

吃颗糖壮壮胆 2024-07-17 02:33:36

它看起来像 Roger Martin 的项目 - http://www.codeproject.com/KB/ aspnet/SQLite-Providers.aspx - 现在是 SQLite 连接的建议。

这是 Peter Bromberg 建议的 (http://twitter.com/peterbromberg/status/5031854389) Google 上的下一个顶级资源是上面由 Roger Martin 提供的资源,他建议将其作为获取提供程序的地方 (http://galleryserverpro.blogspot.com/2009/08/new-release-adds-support-for-flash.html#comments) 。

考虑到它是半商业产品的一部分(作者正试图将其作为全职工作重新投入工作),看来这将保持最新状态。

编辑1:有关 SQLite 已发布提供程序的排序的更多信息: http://sqlite .phxsoftware.com/forums/p/75/397.aspx

It looks like Roger Martin's project - http://www.codeproject.com/KB/aspnet/SQLite-Providers.aspx - is now the recommendation for SQLite connectivity.

This is suggested by Peter Bromberg (http://twitter.com/peterbromberg/status/5031854389) and the next top resource on Google is the above by Roger Martin, who suggests that as the place to get the provider (http://galleryserverpro.blogspot.com/2009/08/new-release-adds-support-for-flash.html#comments).

Seeing as how it's part of a semi-commercial product (and the author is trying to get back to work on it as a full-time job), it seems this will be kept up to date.

EDIT 1: More information about the ordering of released providers for SQLite: http://sqlite.phxsoftware.com/forums/p/75/397.aspx

一向肩并 2024-07-17 02:33:36

我也是 SQLlite 的忠实粉丝。 我想说,asp.net 会员资格对于基本的东西来说已经足够了。

Eggheadcafe 的 Peter 有一篇关于 sqllite 的正确文章,请查看。
文章

I am a big fan of SQLlite as well. I would say asp.net membership is good enough for the basic stuff.

Peter at Eggheadcafe has this right article about sqllite, check it out.
Article

不知在何时 2024-07-17 02:33:36

要将会员资格提供程序与其他数据库结合使用,请参阅 自定义会员提供商

For using the membership provider with other databases look at a custom membership provider

软糯酥胸 2024-07-17 02:33:36

Roger Martin 的 SQLiteMembershipProvider nuget 包有一个新的、更新的源

https://www.nuget.org/packages/ SQLiteMembershipProvider
源代码: https://bitbucket.org/jkuemerle/sqlitemembershipprovider

There's a new, updated source for Roger Martin's SQLiteMembershipProvider

nuget package: https://www.nuget.org/packages/SQLiteMembershipProvider
sourcecode: https://bitbucket.org/jkuemerle/sqlitemembershipprovider

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文