ServiceEndpoint class
namespace: Serenity.Services assembly: Serenity.Net.Web
Subclass of controller for service endpoints
public abstract class ServiceEndpoint : ControllerBase, IActionFilter, IAsyncActionFilter,
IDisposable
Public Members
| name | description |
|---|---|
| Dispose() | |
| virtual OnActionExecuted(…) | Called after the action method is invoked. |
| virtual OnActionExecuting(…) | Called before the action method is invoked. |
| virtual OnActionExecutionAsync(…) | Called before the action method is invoked. |
Protected Members
| name | description |
|---|---|
| ServiceEndpoint() | The default constructor. |
| Cache { get; } | Gets the cache from the request context |
| Context { get; set; } | Gets the request context |
| Localizer { get; } | Gets the localizer from the request context |
| Permissions { get; } | Gets the permission service from the request context |
| virtual Dispose(…) | Releases all resources currently used by this Controller instance. |
See Also
- Source: ServiceEndpoint.cs