Name |
Description |
EpiserverWebApiOutputCacheAttribute |
OutputCacheAttribute for Web API that invalidates the cache when Episerver content changes. Caching is disabled in debug-mode (<compilation debug="true"> in web.config) by default. |
EpiserverWebApiOutputCacheAttribute.CacheValue |
|
ValidateWebApiModelAttribute |
Checks if any of the parameters is null or has bad modelstate. Returns HttpStatusCode.BadRequest in both cases. It is strongly advised to use dto objects, and hide your possible null objects to the model object. |
WebApiLanguageAttribute |
Sets Episerver default language context according to a method parameter value. Default language parameter names: "language", "languageId", "epslanguage". |