ASP. net2.0 technical insider (error correction)

Source: Internet
Author: User
The configuration in p236 is incorrect, as shown in the following example: Code Is not executed. From this point of view, the quality of Tsinghua Publishing is really a problem. In this book, there seems to be one or more places like this, and the content is similar. Use the following code:

< Configprotecteddata >
< Providers >
< Add name = " Connectionstring " Type = " System. configuration. rsaprotectedconfigurationprovider, system. configuration, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a, processorarchitecture = msil "
Keycontainername = " Mykeycontainername "
Usemachinecontainer = " True "   />
</ Providers >
</ Configprotecteddata >

reference: ASP. NET 2.0: encrypting connection strings
http://blogs.vertigosoftware.com/snyholm/archive/2005/12/16/1746.aspx
http://msdn2.microsoft.com/en-us/library/yxw286t2.aspx
Chinese
http://msdn2.microsoft.com/zh-cn/library/yxw286t2.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.