ASP.NET 会员资格的竞争对手?

发布于 2024-12-19 10:25:22 字数 55 浏览 2 评论 0原文

标准 ASP.NET 登录 Web 控件的竞争对手有哪些? 我想建立一个可扩展的网站并管理用户。

What are the competitors for the standard ASP.NET login web controls?
I want to build a scalable site and manage the users.

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

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

发布评论

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

评论(1

亣腦蒛氧 2024-12-26 10:25:22

您有多种选择,其中有 DotNetNuke,它是一个重要的开源用户/登录/权限,CMS 全部​​免费且在 .net 和 sql server 中工作。您也可以转到 Visual Studio 并启动一个新项目,只要您不选择空项目,它就会创建一个带有登录系统的迷你项目,您必须添加数据库信息等。

话又说回来,如果你刚开始,没有什么比学习和自己做更好的了,这相当简单。

  1. 带有用户名、密码、访问类型(管理员、用户)的 sql server 表,
  2. 带有用户名、密码字段的登录表单
  3. 对传递用户名和密码的表进行选择,并查看它是否返回一个值,如果不是组合不正确。
  4. 如果它没有启动会话并在会话中设置用户ID,如果您需要在其他地方使用它,或者只是通过检查每个页面中的会话ID来确保它超时。

这确实很基本,但这就是它的想法。

You have several options, there is DotNetNuke which is a big time opensource user/login/permissions, CMS all free and works in .net with sql server. Also you can go to visual studio and start a new project and as long as you don't choose the empty project it will create a mini project with a login system that you have to add your database info and so on.

Then again if you're starting out there's nothing like learning and doing it yourself, its fairly simple.

  1. sql server table with username, password, accesstype(admin, user)
  2. login form with username, password fields
  3. do a select to table passing username and passwords and see if it returns a value, if not the combo incorrect.
  4. if it doesn't start session and set the user id in session if you need to use it somewhere else or just to make sure that it times out by checking that session id in everypage.

that's reallyyy basic but its the idea of it.

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