Skip to main content

OfficeWorkSessionProcessing Class

Process work sessions in an application in stateless mode.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Spreadsheet.v24.2.dll

Declaration

public class OfficeWorkSessionProcessing :
    IActionFilter,
    IFilterMetadata

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

Object
OfficeWorkSessionProcessing
See Also