Register the Basic settings section

The final step is to register the basic setting.
You do this in the Global.asax file:

C#
using SitefinityWebApp.CustomSettings;
using System;
using Telerik.Sitefinity.Abstractions;
using Telerik.Sitefinity.Configuration.Web.UI.Basic;
using Telerik.Sitefinity.Services;

namespace SitefinityWebApp
{
   public class Global : System.Web.HttpApplication
   {

       protected void Application_Start(object sender, EventArgs e)
       {
           Bootstrapper.Bootstrapped += Bootstrapper_Bootstrapped;
       }

       private void Bootstrapper_Bootstrapped(object sender, EventArgs e)
       {
           SystemManager.RegisterBasicSettings<GenericBasicSettingsView<MyCustomSettings, MyCustomSettingsContract>>("MyConfig", "The Random Variable", "", true);
       }
   }
}
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?