WebConfigurationManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to configuration files for Web applications.
public ref class WebConfigurationManager abstract sealed
public static class WebConfigurationManager
type WebConfigurationManager = class
Public Class WebConfigurationManager
- Inheritance
-
WebConfigurationManager
Methods
GetSection(HttpContext, String) |
Retrieves the specified configuration section from the application's configuration file in relationship to the specified context. |
GetSection(HttpContext, String, Type) |
Retrieves the specified configuration section by using the specified configuration section type from the application's configuration file in relationship to the specified context. |
GetSection(String) |
Retrieves the specified configuration section from the current application's configuration file. |
GetSection(String, String, String) |
Retrieves the specified configuration section by using the Web site name, virtual path, and section path. |
GetSection(String, String, String, Type) |
Retrieves the specified configuration section by using the Web site name, virtual path, section path, and run-time type. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for