How to check EPiServer version of website?

Hi,

Someone's asking me what specific version of our EPiServer site we're using.

How could I check the actual version of CMS, relate, and Mail we're using right now? Where could I check it?

Thanks.

#52141 Jul 08, 2011 3:53
  • The title bar of the CMS edit mode should give you the version info of the site, at least the CMS version. Otherwise you could always check the dll:s in the bin folder or the assembly-redirects in web.config.

    #52143 Jul 08, 2011 7:13
  • Thanks Linus

    #52182 Jul 11, 2011 7:43
  • #148505 Removed, May 16, 2016 9:50
  • In more recent versions, Edit mode only shows: EPiServer CMS - Edit, but Admin mode title does include the version.

    #148515 May 16, 2016 13:47
  • For these cases we usually giving some authorized endpoint (somestimes it does matter what version of your own app is installed):

    public class VersionController : Controller
    {
        [Authorize(Roles = "CmsAdmins")]
        public ContentResult Index(string assemblyName)
        {
            var fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
            var version = fvi.FileVersion;
    
            return new ContentResult { Content = "Current version: " + version };
        }
    }

    #148520 May 16, 2016 15:38
  • The method used to display title (mentioned by Marija) is available as public, static:

     EPiServer.UI.Edit.MasterPages.Frameworks.Framework.CreatePageTitle((string) null, LocalizationService.Current)

    and could be reused in your VersionController:

    public class VersionController : Controller
    {
        [Authorize(Roles = "CmsAdmins")]
        public ContentResult Index(string assemblyName)
        {
            return new ContentResult { Content = "Current version: " + Framework.CreatePageTitle(null, LocalizationService.Current) };
        }
    }

    #148530 May 16, 2016 22:26
First   1   Last