2011年10月30日

PetShop 4.0知识点:加密和解密Web.config文件的配置节

摘要: PetShop 4.0 中Web.config文件中的连接字符串是加密的,需要进行解密才能看到。这个问题PetShop 4.0的ReadMe文件中有说明:Encrypting and Decrypting the Connection StringsRun <Pet Shop 4 Install Folder>\EncryptWebConfig.bat orDecryptWebConfig.bat to encrypt or decrypt connection strings inWeb.config.Note: If you select the “Full Install” 阅读全文

posted @ 2011-10-30 19:23 WestGarden 阅读(515) 评论(0) 推荐(0)

PetShop 4.0知识点:base 关键字用于从派生类中访问基类的成员

摘要: //base 关键字用于从派生类中访问基类的成员://调用基类上已被其他方法重写的方法。//指定创建派生类实例时应调用的基类构造函数。//基类访问只能在构造函数、实例方法或实例属性访问器中进行。using System;using System.Collections.Generic;using System.Text;namespace keywords_base{ class Program { static void Main(string[] args) { DerivedClass md = new DerivedClass(); DerivedClass md1 = new Der 阅读全文

posted @ 2011-10-30 11:08 WestGarden 阅读(290) 评论(0) 推荐(0)

导航