如何在asp.net网站上利用aspnetdb数据库实现高效数据管理?
- 内容介绍
- 文章标签
- 相关推荐
本文共计301个文字,预计阅读时间需要2分钟。
我使用asp.net+3.5创建了网站。现在,我使用Membership API和aspnetdb数据库为其添加了成员支持。我已经在我的本地机器上完成了所有测试。现在,在将网站上传到服务器时,需要考虑A选项。
现在我使用Membership API和aspnetdb数据库为其添加了成员支持.
我已经在我的本地机器上完成了所有测试.
现在,在将此站点上传到服务器时,需要考虑aspnetdb的问题.即;如何在服务器端提供此数据库?
注意:这是我的第一个网站. 我自己只是在寻找答案.
我发现以下内容可能会对您有所帮助:
www.studiocoast.com.au/knowledgebase/article-6-aspnet-using-sql-server-instead-of-aspnetdbmdf.aspx
“When developing applications in
ASP.NET 2.0, the default option for
roles and users is to use a local SQL
database in the App_Data directory.This works fine locally, but will
bring up an error when uploaded to a
production server. To fix this the
ASP.NET membership information needs
to be stored in a dedicated SQL Server
database.”“ASP.NET includes a program called
Aspnet_regsql.exe which you can run
locally to configure your database.
More information on the program can be
found here:07001″
本文共计301个文字,预计阅读时间需要2分钟。
我使用asp.net+3.5创建了网站。现在,我使用Membership API和aspnetdb数据库为其添加了成员支持。我已经在我的本地机器上完成了所有测试。现在,在将网站上传到服务器时,需要考虑A选项。
现在我使用Membership API和aspnetdb数据库为其添加了成员支持.
我已经在我的本地机器上完成了所有测试.
现在,在将此站点上传到服务器时,需要考虑aspnetdb的问题.即;如何在服务器端提供此数据库?
注意:这是我的第一个网站. 我自己只是在寻找答案.
我发现以下内容可能会对您有所帮助:
www.studiocoast.com.au/knowledgebase/article-6-aspnet-using-sql-server-instead-of-aspnetdbmdf.aspx
“When developing applications in
ASP.NET 2.0, the default option for
roles and users is to use a local SQL
database in the App_Data directory.This works fine locally, but will
bring up an error when uploaded to a
production server. To fix this the
ASP.NET membership information needs
to be stored in a dedicated SQL Server
database.”“ASP.NET includes a program called
Aspnet_regsql.exe which you can run
locally to configure your database.
More information on the program can be
found here:07001″

