Vulnerability in EPiServer.Forms
I'm using following im my project
but after EPiServer 9 upgrade, i'm getting that "Context" is not available in the "EPiServer.BaseLibrary" any more. So what shall I do ?
BaseLibrary and Implementation assemblies were removed in EPiServer v9. Use:
Valdis, if i want to change the ContentLanguage, if I set it as follow,is it correct ?
var culture = new CultureInfo("no");
ContentLanguage.PreferredCulture = culture;
I would be cautious with this.. What is usage scenario for you? Why you are changing content language? Are you switching to different language in the site or need to fetch content in different langauge?
I'm using this code in a situation where switching to different language in the site
There is a possibility of setting it is as
but i'm not sure which one to use