Hi,
i want to read the episerver URL from config file and save it in viewbag in mvc.
i want to read the below highlighted URL from config file like we normally read from config.
httpCacheability="Public" uiEditorCssPaths="~/Static/css/Editor.css" urlRebaseKind="ToRootRelative" pageUseBrowserLanguagePreferences="false" uiShowGlobalizationUserInterface="true" subscriptionHandler="EPiServer.Personalization.SubscriptionMail,EPiServer" uiMaxVersions="20" pageValidateTemplate="false" uiUrl="~/EPiServer/CMS/" />
EPiServer.Configuration.Settings.Instance.UIUrl
See http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/Configuration/Reading-application-settings-programmatically/
Thanks a lot Jeroen
Hi,
i want to read the episerver URL from config file and save it in viewbag in mvc.
i want to read the below highlighted URL from config file like we normally read from config.
httpCacheability="Public" uiEditorCssPaths="~/Static/css/Editor.css"
urlRebaseKind="ToRootRelative" pageUseBrowserLanguagePreferences="false"
uiShowGlobalizationUserInterface="true" subscriptionHandler="EPiServer.Personalization.SubscriptionMail,EPiServer"
uiMaxVersions="20" pageValidateTemplate="false" uiUrl="~/EPiServer/CMS/" />