Asp.net登录控件 [英] Asp.net login control

查看:85
本文介绍了Asp.net登录控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b

您能帮助我找一下存储用于ASP.NET默认登录控制的凭据信息吗?



等待你最早的回复。



谢谢

Hi
Can you pls anyone help me to find where are the credential information storing for login control of ASP.NET default?.

waiting for your earliest response.

thanks

推荐答案

参考 - ASP.NET登录控件概述 [ ^ ]。
引用:

存储登录信息



登录(会员)信息存储在数据库中。默认情况下,这是Web应用程序的App_Data文件夹中的ASPNETDB.mdf文件中的本地数据库。可以通过以下方式创建数据库:



您可以使用网站管理工具手动配置成员资格和角色,从而自动创建数据库。有关详细信息,请参阅演练:创建具有成员资格和用户的网站登录 [ ^ ]。



当第一个用户注册并创建一个帐户时,如果数据库尚不存在,ASP.NET将创建数据库自动。此选项不提供为用户指定角色的方法。

Storing the Login Information

Login (membership) information is stored in a database. By default, this is a local database in the ASPNETDB.mdf file in the App_Data folder of the Web application. The database can be created in the following ways:

You can use the Web Site Administration Tool to configure membership and roles manually, which automatically creates the database. For more information, see Walkthrough: Creating a Web Site with Membership and User Login[^].

When the first user registers and creates an account, and if the database does not already exist, ASP.NET creates the database automatically. This option does not provide a way to specify roles for a user.


这篇关于Asp.net登录控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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