Try our conversational search powered by Generative AI!

Read EpiServer Url from config file

Vote:
 

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

#151455
Jul 22, 2016 11:37
Vote:
 
#151456
Jul 22, 2016 11:51
Vote:
 

Thanks a lot Jeroen

#151558
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.