Configuration ASP.Net Tutorial

<%@ page language="C#" %>
<%@ import namespace="System.Web.Management" %>

    
    void Page_Load(object sender, System.EventArgs e)
    {
        string appPath = this.Request.ApplicationPath;    
        Configuration config = Configuration.GetConfigurationForUrl(appPath);
        AppSettingsSection appSettings = config.AppSettings;
        foreach (string key in appSettings.Settings) {
            this.Response.Write(string.Format("{0} = {1}", key, appSettings.Settings[key]));
        }
    }
    



    Untitled Page