如何在没有asp.net Web管理工具的情况下编辑存储在aspnetdb中的用户详细信息?

发布于 2024-08-25 04:50:36 字数 153 浏览 5 评论 0原文

我有使用 asp.net 成员资格的 asp.net MVC 应用程序。我使用 Asp.Net 网站管理工具从本地系统配置了用户详细信息。现在我已经在服务器中部署了该站点,我需要更改密码。现在,App_Data 文件夹中有 ASPNETDB.MDF 文件。

如何编辑详细信息?

I have asp.net MVC application which uses asp.net membership. I configured the user details from local system using Asp.Net web site administration tool. Now I have deployed the site in server and I need to change the password. Now I have the ASPNETDB.MDF file in the App_Data folder.

How to edit the details?

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

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

发布评论

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

评论(3

倾城花音 2024-09-01 04:50:36

您可以做以下几件事之一。您可以将 MDF 从站点复制到本地计算机,然后更改其中的详细信息,然后将 MDF 复制回来,或者您可以使用 SqlMembershipProvider.ChangePassword 方法。

You could do one of a couple of things. You can copy the MDF from the site to the local machine, and then change the details there, then copy the MDF back over, or you can implement a web page that changes the password using the SqlMembershipProvider.ChangePassword method.

于我来说 2024-09-01 04:50:36

如果您看到正在进行的编辑,那么将 ASP.Net MVC 会员入门工具包 添加到您的项目是一个很好的起点必需的。

Adding ASP.Net MVC Membership Starter Kit to your project is a great place to start, if you see ongoing edits being required.

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