Documentation Center

Reference for API changes

A number of classes, interfaces, properties and methods have moved or been replaced in SDL Digital Experience Accelerator 1.1. All items mentioned here are now deprecated, and most have been replaced.

Changed classes and interfaces

Old class name or interface nameNature of change
BaseRendererCustomer renderers inheriting from this class are no longer supported.
IRendererFunctionality now in methods of HtmlHelper extensions: DxaRegion and DxaEntity.
IContentResolverReplaced with ILinkResolver and IRichTextResolver.
IContentProviderSignature changed significantly.
IStaticFileManagerFunctionality expressed through the IContentProvider.GetStaticContentItem method.
IEntityReplaced with EntityModel.
IPageReplaced with PageModel.
IRegionReplaced with RegionModel.
ModelTypeFunctionality expressed through the Model.GetType() method.
PageBaseReplaced with PageModel.
RegionReplaced with RegionModel.
WebPageReplaced with PageModel.

Changed properties and methods

Old method name or property nameNature of change
BaseController.GetViewDataReplaced with Model.MvcData.
BaseController.GetViewTypeThere is no need to override this method.
BaseController.ModelTypeReplaced with Model.GetType().
BaseController.ProcessModelReplaced with BaseController.EnrichModel.
BaseController.RendererDeprecated only.
ContextEngine.BrowserReplaced with GetClaims<BrowserClaims>().
ContextEngine.DeviceReplaced with GetClaims<DeviceClaims>().
ContextEngine.OperatingSystemClaimsReplaced with GetClaims<OperatingSystemClaims>().
HtmlHelperExtensions.ConfigReplaced with Localization.GetConfigData.
HtmlHelperExtensions.DownloadReplaced with Html.DxaEntity or Html.Media.
HtmlHelperExtensions.GetResponsiveImageUrlReplaced with Url.ResponsiveImage.
HtmlHelperExtensions.GetYouTubeEmbedDeprecated only.
HtmlHelperExtensions.GetYouTubePlaceHolderDeprecated only.
HtmlHelperExtensions.YouTubeVideoReplaced with Html.DxaEntity or Html.Media.
IEntity.EntityDataReplaced with XpmMetadata.
IEntity.PropertyDateReplaced with XpmPropertyMetadata.
IPage.AppDataReplaced with MvcData.
IPage.RegionsReplaced with PageModel.Regions.
IRegion.AppDataReplaced with MvcData.
IRegion.ModuleReplaced with MvcData.AreaName.
IRegion.RegionDataReplaced with XpmMetadata.
IStaticFileManager.CreateStaticAssetsMethod is obsolete.
Localization.DomainDeprecated only.
Localization.PortDeprecated only.
Localization.ProtocolDeprecated only.
Markup.EntityReplaced with Html.DxaEntityMarkup.
Markup.PropertyReplaced with Html.DxaPropertyMarkup.
Markup.RegionReplaced with Html.DxaRegionMarkup.
Region.ItemsReplaced with RegionModel.Entities.
SiteConfiguration.AddViewModelToRegistryReplaced with BaseAreaRegistration.RegisterViewModel.
SiteConfiguration.DefaultLocalizationReplaced with Localization.IsDefaultLocalization.
SiteConfiguration.GetConfigReplaced with Localization.GetConfigValue.
SiteConfiguration.GetViewModelRegistryKeyDeprecated only.
SiteConfiguration.GlobalConfigurationReplaced with Localization.GetConfigValue.
SiteConfiguration.InitializeNot needed.
SiteConfiguration.IsHtmlDesignPublishedReplaced with Localization.IsHtmlDesignPublished.
SiteConfiguration.IsStagingReplaced with Localization.IsStaging.
SiteConfiguration.LastSettingsRefreshReplaced with Localization.LastRefresh.
SiteConfiguration.LoadReplaced with Localization.Refresh.
SiteConfiguration.LocalConfigurationReplaced with Localization.GetConfigValue.
SiteConfiguration.LocalizationsReplaced with SiteConfiguration.LocalizationResolver.
SiteConfiguration.MediaUrlRegexReplaced with Localization.IsStaticContentUrl.
SiteConfiguration.RefreshReplaced with Localization.Refresh.
SiteConfiguration.SetLocalizationsNot needed.
SiteConfiguration.SiteVersionReplaced with Localization.Version.
SiteConfiguration.StaticFileManagerDeprecated only.
SiteConfiguration.ViewModelRegistryReplaced with ModelTypeRegistry.GetViewModelType.
WebPage.IncludesReplaced with Regions.