Read EpiServer Url from config file



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/" />

Jul 22, 2016 11:37
Jul 22, 2016 11:51

Thanks a lot Jeroen

Jul 28, 2016 14:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.