ProductMaintenance.exe.config 加密数据库连接信息
Enterprise Library 快速上手教程中的错漏纠正。
在Enterprise Library的快速上手教程中,关于DataAccess(c#)的最后一个例子,是加密配置文件中的数据库链接信息。
教程中写道:Open the ProductMaintenance.exe.config file in the project bin\Debug directory located here. Note the connection strings are encrypted.
意即配置文件:ProductMaintenance.exe.config中的数据库链接信息,已经被加密。其实不然。被加密的文件时ProductMaintenance.vshost.exe.config文件。当然,如果你要发布,把原有的ProductMaintenance.exe.config这个文件删除,把ProductMaintenance.vshost.exe.config文件的名称改成响应的名称即可。这就是已经加密过的配置文件了。
相关经验
- ProductMaintenance.exe.config 加密数据库连接信息
- 安装Enterprise Library4.0 SetUpQuickStartsDB.bat 提示:" count 字段不正确 "
- Microsoft Enterprise Library 3.1 中文教程之:DataAccessQuickStarts.sql 乱码
- ProductMaintenance.exe.config 加密数据库连接信息
- 安装Enterprise Library4.0 SetUpQuickStartsDB.bat 提示:" count 字段不正确 "
- Microsoft Enterprise Library 3.1 中文教程之:DataAccessQuickStarts.sql 乱码
- ProductMaintenance.exe.config 加密数据库连接信息
- ProductMaintenance.exe.config 加密数据库连接信息
- mssql 返回最后插入的标识列的值@@identity
- 01064079666网站备案审核电话