<appSettings> <add key="FlagWebAPI" value="true"/> </appSettings>
public bool FlagWebAPI { get { bool flag; flag = Boolean.Parse(ConfigurationManager.AppSettings["FlagWebAPI"]); return flag; } set { } }
<?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <appSettings> <add key="FlagWebAPI" value="true"/> </appSettings>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)