Programming Microsoft ASP.NET 4 - Dino Esposito [58]
providerName="System.Data.SqlClient" />
You can manipulate the contents of the section by using Connection names are also used within the configuration file to link a connection string to other sections, typically the Note You are not really forced to place all of your connection strings in the The Encryption of configuration sections is optional, and you can enable it for any configuration sections you want by running a command-line tool, as you’ll see later in this chapter in the section Managing Configuration Data. You can specify the type of encryption you want by selecting the appropriate provider from the list of available encryption providers. The .NET Framework 4.0 comes with two predefined providers: DPAPIProtectedConfigurationProvider and RSAProtectedConfigurationProvider. The former uses the Windows Data Protection API (DPAPI) to encrypt and decrypt data; the latter (the default provider) uses the RSA encryption algorithm to encrypt and decrypt data. Most configuration sections that are processed by the managed configuration system are eligible for protection. The The enableCaching="true|false" /> The scriptResourceHandler element allows you to specify whether script files embedded as resources in a given application assembly are to be cached or compressed. Both options are false by default. The content of the The The The
ASP.NET lets you encrypt specific sections of configuration files that might contain sensitive data. It does that through industry-standard XML encryption. XML encryption (which you can learn more about at http://www.w3.org/TR/xmlenc-core) is a way to encrypt data and represent the result in XML.
This section contains elements that configure AJAX-related services and control their behavior. The section is laid out as shown here: