Frequent used IOC Services in EPiServer 7 CMS – EPiServer CMS note

From: Important IOC Services in EPiServer CMS – EPiServer CMS note.

A list of the most frequent used IOC services for the CMS
Usage

ServiceLocator.Current.GetInstance<ServiceType>();

Services

DisplayChannelService – Handle display channels
IContentLoader – Load Content
IContentRepository – CRUD operations for content
IContentVersionRepository – Handles versions of IContent
ILanguageBranchRepository – Handle language branches
IPageCriteriaQueryService – Searches in content
LocalizationService – Handle translations
PageTypeRepository – CRUD operations for page types
UrlResolver – route helper to get URLs for content

Leave a Reply

Your email address will not be published. Required fields are marked *