Skip to main content

OfficeWorkSessionProcessing Class

Process work sessions in an application in stateless mode.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public class OfficeWorkSessionProcessing :
    ActionFilterAttribute

Remarks

Add the OfficeWorkSessionProcessing attribute to an application in stateless mode or when you apply recommendations from the https://github.com/DevExpress/aspnet-office-solutions example.

If an application is not used in stateless mode, adding the OfficeWorkSessionProcessing attribute does not affect DevExpress controls’ functionality in other scenarios.

You can set the OfficeWorkSessionProcessing attribute for a certain controller…

[OfficeWorkSessionProcessing]   
public class HomeController : Controller

… or you can register it for the whole application.

public class FilterConfig {
    public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
        ...
        filters.Add(new DevExpress.Web.Mvc.OfficeWorkSessionProcessing());
    }
}

Inheritance

See Also