web.config
Web.config Settings Editor Control
Submitted by Ben Hodson on Thu, 02/26/2009 - 11:18
This control provides a "drag and drop" way to dynamically view and edit application and database connection settings in a Web.config file for an ASP.NET website. The control can be dropped onto a blank ASPX page and by default, it will display editable controls for all the settings in the <appSettings> and <connectionSettings> sections of the Web.config file.
Get Authentication Mode from Web.Config file
Submitted by Ben Hodson on Sun, 08/17/2008 - 21:00
If you want to find out programmatically what authentication mode the current ASP.NET website is running under you can actually read it from the web.config file using the code below.
System.Web.Configuration.AuthenticationSection section =
(System.Web.Configuration.AuthenticationSection)System.Web.Configuration.WebConfigurationManager.GetSection("system.web/authentication");Popular Articles
Last viewed:
- GridView ObjectDataSource LINQ Paging and Sorting
- Fix for Firefox click() event issue
- Data Access Layer using SqlDataReader and C# - Code Explanation
- SQL Script to Create and Update a Database
- C# Download File with Progress Bar
- Tutorial for Configuring Silverlight 4, Entity Framework and WCF RIA Services in Separate Component Assemblies (DLL’s)

Recent comments
14 hours 1 min ago
1 day 13 hours ago
3 days 14 hours ago
4 days 4 hours ago
4 days 15 hours ago
4 days 20 hours ago
5 days 45 min ago
1 week 21 hours ago
1 week 1 day ago
1 week 4 days ago