This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ===================================================================== | |
| -- CMS 11 -> CMS 13 upgrade: site/application name pre-flight | |
| -- Surprises #5 and #6 from: | |
| -- "Two more database surprises when upgrading from CMS 11 to CMS 13" | |
| -- (follow-up to "Four database surprises...", June 2026) | |
| -- | |
| -- USE AT YOUR OWN RISK. Read every statement before running it. | |
| -- Run against a COPY first. Take a backup. You know the drill. | |
| -- | |
| -- Verified against EPiServer.CMS 13.1.0. Application names are |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using EPiServer.Framework; | |
| using EPiServer.Framework.Initialization; | |
| using EPiServer.LinkAnalyzer; | |
| using EPiServer.ServiceLocation; | |
| namespace Pure.MVC.Business.InitializationModules | |
| { | |
| [InitializableModule] | |
| [ModuleDependency(typeof(EPiServer.Web.InitializationModule))] | |
| public class LinkValidatorConfiguration : IConfigurableModule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.ComponentModel.DataAnnotations; | |
| using EPiServer.Core; | |
| using EPiServer.DataAbstraction; | |
| using EPiServer.DataAnnotations; | |
| using EPiServer.Web; | |
| namespace SettingsSearchDemo; | |
| // ── Tab definitions ────────────────────────────────────────────────────────── | |
| // Optimizely resolves GroupName strings via a class decorated with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.DataAbstraction; | |
| using EPiServer.PlugIn; | |
| using EPiServer.Scheduler; | |
| using EPiServer.Security; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.DataAbstraction; | |
| using EPiServer.PlugIn; | |
| using EPiServer.Scheduler; | |
| using EPiServer.Web; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @using BlazorLabs.Cms.BlazorComponents | |
| @using EPiServer.Framework.Web.Mvc.Html | |
| @using System.Diagnostics.Metrics | |
| <!DOCTYPE html> | |
| <html lang="@(Model.CurrentPage.Language)"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=10" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @page "/sitestatistics" | |
| @using EPiServer.Web | |
| @using MudBlazor.Charts | |
| @inject IContentLoader _contentLoader | |
| @inject IContentTypeRepository _contentTypeRepository | |
| @inject ISiteDefinitionRepository _siteDefinitionRepository | |
| <h3>Some basic site content metrics</h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @using EPiServer.Globalization | |
| @using EPiServer.Web | |
| @using EPiServer.Web.Routing | |
| @inject IContentLoader _contentLoader | |
| @inject IContentRepository _contentRepository | |
| @inject UrlResolver _urlResolver | |
| @inject LanguageResolver LanguageResolver | |
| <MudPaper Class="outer-paper" Width="100%" Height="100vh" Elevation="0"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @using BlazorLabs.Cms.BlazorComponents | |
| @using EPiServer.Framework.Web.Mvc.Html | |
| @using System.Diagnostics.Metrics | |
| <!DOCTYPE html> | |
| <html lang="@(Model.CurrentPage.Language)"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=10" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.ServiceLocation; | |
| using EPiServer.Validation; | |
| using EPiServer.Web.Routing; | |
| using HtmlAgilityPack; | |
| using Pure.Core.Models.Media; | |
| using System; | |
| using System.Collections.Generic; |
NewerOlder