When building a website you will inevitably need to store configuration data somewhere. In today's post, I'm going to cover the options available to you when you use Sitecore.
<add key="SettingName" value="true" />
var value = ConfigurationManager.AppSettings["SettingName"];
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
<setting name="SettingName" value="true"/>
var value = Sitecore.Configuration.Settings.GetSetting("SettingName")
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge