Try our conversational search powered by Generative AI!

Support for intercepting services without inheriting implementation

Fixed in

EPiServer.CMS.Core 9.10.0

(Or a related package)

Created

May 18, 2016

Updated

Jan 07, 2022

Area

CMS Core

State

Closed, Fixed


Description

Sometimes, it is useful to be able to intercept (or decorate) a service, for example to add caching or logging around a service call. An interceptor should replace the existing service in the IOC container but also have access to the intercepted service.

See SDK for details on how to use this API.