| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What's New in ASP.NET ConfigurationASP.NET Web Forms ASP.NET Configuration This topic describes important changes and new features added to ASP.NET Web pages for version 2.0 of the .NET Framework. ASP.NET version 2.0 includes a configuration management system that provides new tools and interfaces as well as expanded configuration settings. New administration tools and a new API for configuration management allow you to create and change configuration settings without directly editing raw XML data. The following sections in this topic briefly describe what is new in the ASP.NET 2.0 configuration management system:
ASP.NET MMC Snap-inThe Microsoft Management Console ( MMC ) snap-in for ASP.NET provides a graphical user interface ( GUI ) for manipulating ASP.NET configuration settings at the global, Web site, and application levels on the local computer. The tool prevents you from making invalid settings, allows you to control whether settings can be inherited by Web applications, and helps you manage the dependencies between levels of the configuration hierarchy. The ASP.NET MMC snap-in is integrated with the Internet Information Services ( IIS ) Manager snap-in, making it easy to work with IIS settings and ASP.NET configuration settings that apply to a Web site or application. The ASP.NET MMC snap-in appears as an ASP.NET tab on the property sheet of a virtual directory. Web Site Administration ToolThe Web Site Administration Tool allows you or anyone with administrative privileges for a Web site to use a Web browser to manage the ASP.NET application locally or remotely. Unlike the MMC snap-in, the Web Site Administration Tool allows you to delegate administrative tasks to anyone with privileges for a particular Web site, even though he or she might not have administrative privileges for the computer. For ease of use, the Web Site Administration Tool includes a tabbed interface with tabs for Security, Profile, Application, and Provider. ASP.NET Configuration APIA new ASP.NET management API allows you to read and write configuration settings as strongly typed managed code objects. You can work with any configuration file at any level of the configuration hierarchy, on the local computer or a remote computer. Using the ASP.NET configuration API, you can write utilities that manage Web site and application configuration settings programmatically without directly editing the XML in the configuration files. You can also use the ASP.NET configuration API to automate deployment tasks, such as creating applications, creating configuration settings, and configuring multiple computers with the same script. Additionally, the ASP.NET configuration API allows the IIS management tools to integrate easily with the ASP.NET configuration system. The ASP.NET MMC snap-in and the Web Site Administration Tool help you manipulate configuration settings by using the ASP.NET configuration API. New Configuration SettingsMany ASP.NET features require additions to the ASP.NET configuration schema. Some features require additions to existing sections, while other features require new sections. The following table describes the new configuration elements in ASP.NET 2.0. These schema additions are reflected in the new ASP.NET configuration API, the ASP.NET MMC snap-in, and when appropriate, the Web Site Administration Tool.
Viewing the Configuration Schema and Default SettingsYou can view the ASP.NET configuration schema by using the documentation in ASP.NET Configuration Settings, or you can view the Machine.config.comments and Web.config.comments files that are located in the %SystemRoot%\Microsoft .NET\Framework\versionNumber\CONFIG directory. These files are not used by the configuration system to configure applications, but they contain lists of default settings and useful comments. Browser CapabilitiesThe browserCaps section has been deprecated in the .NET Framework version 2.0. For backward compatibility, the configuration settings in this section are still effective if they are set at the application level, but they are merged with the information that is contained in browser definition files ( .browser ), which are located in the %SystemRoot%\Microsoft.NET\Framework\versionNumber\CONFIG\Browsers directory and in any existing application-level App_Browser folders. For more information, see Browser Definition File Schema ( browsers Element ). |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme