Search Results for

    Show / Hide Table of Contents

    Namespace Umbraco.Cms.Web.Common.Filters

    Classes

    AllowHttpJsonConfigrationAttribute

    AngularJsonOnlyConfigurationAttribute

    Applying this attribute to any controller will ensure that it only contains one json formatter compatible with the angular json vulnerability prevention.

    BackOfficeCultureFilter

    Applied to all Umbraco controllers to ensure the thread culture is set to the culture assigned to the back office identity

    DisableBrowserCacheAttribute

    Ensures that the request is not cached by the browser

    EnsurePartialViewMacroViewContextFilterAttribute

    This is a special filter which is required for the RTE to be able to render Partial View Macros that contain forms when the RTE value is resolved outside of an MVC view being rendered

    ExceptionViewModel

    JsonDateTimeFormatAttribute

    Applying this attribute to any controller will ensure that it only contains one json formatter compatible with the angular json vulnerability prevention.

    JsonExceptionFilterAttribute

    ModelBindingExceptionAttribute

    An exception filter checking if we get a ModelBindingException or with the same model. In which case it returns a redirect to the same page after 1 sec if not in debug mode.

    OutgoingNoHyphenGuidFormatAttribute

    StatusCodeResultAttribute

    Forces the response to have a specific http status code

    UmbracoMemberAuthorizeAttribute

    Ensures authorization is successful for a website user (member).

    UmbracoMemberAuthorizeFilter

    Ensures authorization is successful for a front-end member

    UmbracoUserTimeoutFilterAttribute

    This will check if the user making the request is authenticated and if there's an auth ticket tied to the user we will add a custom header to the response indicating how many seconds are remaining for the user's session. This allows us to keep track of a user's session effectively in the back office.

    UmbracoVirtualPageFilterAttribute

    Used to set the UmbracoRouteValues request feature based on the Umbraco.Cms.Web.Common.Routing.CustomRouteContentFinderDelegate specified (if any) for the custom route.

    ValidateUmbracoFormRouteStringAttribute

    Attribute used to check that the request contains a valid Umbraco form request string.

    In This Article
    • Classes
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX