| false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
description="Stores and retrieves membership data from the local Microsoft Access database file"/>
</providers>
</membership>
… …
* connectionStringName: 数据库连接串的名字(数据库连接串定义在web.config).
* passwordFormat : include Encrypted and Clear. The default value is Hashed.
* 使用Web Site Administration Tool 可以自动生成相关的Web.Config的Configuration.
2.7. The New Browser and Mobile Device Controls
2.7.1. Brower Definitions
由于运行环境问题, 比如: 由于asp.net 输出不一定是IE浏览, 比如要在Mobile Device上浏览. 在asp.net 2.0上不需要重要做一套支持Mobile Device浏览的UI, 可以通过配置相关的Configuration来定义浏览输出.
2.7.2. Mobile Device Controls
1) Standard form- and page-based controls, such as the bullet list and FileUpload controls
2) Rich controls, such as the DynamicImage control and the Wizard control
3) Login and authentication controls, used in conjunction with the ASP.NET authentication and access control features
4) Navigation controls, such as the tree view and site map controls, and counters
5) Data access and display controls designed to display relational data, XML data, and data held in other formats
6) Mobile device controls, such as the phone call and pagination controls
2.8. Cache and Application Configuration
2.8.1. Cache Configuration
1) SQLCache
利用Command Line 工具aspnet_regsqlcache.exe 配置SQLCache(具体使用参数可以查看help)
2) ASP.NET Cache
ASP.NET将一些缓冲数据存于SQL AspNet_SqlCacheTablesForChangeNotification表中.
在Web.Config里需要设置SQL Server Cache Dependency
<configuration> <connectionStrings> <add name="Northwind" connectionString="server=localhost; database=Northwind; uid=sa;pwd=00password" /> </connectionStrings> <system.web> <caching> <sqlCacheDependency enabled="true"> <databases> 上一页 [1] [2] [3] [4] [5] 下一页 |