Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Big Rock: Filters for Razor Pages #6070

Closed
@rynowak

Description

@rynowak

Pages should use basically the same filter types as controllers, but should expose some unique functionality in place of action filters. In general a pages developer will want to accomplish the same kinds of things with filters as a controller/action developer.

This includes:

  • authorization (authZ filters)
  • middleware-like behavior (resource filters)
  • scoped exception handling (exception filters)
  • decorating the execution of results (result filters)
  • manipulating action arguments (action filters)

We'll want to provide a little something extra for pages, likely to do with manipulating handler methods 👍

There's a lot more to do here, because designing a new filter type, we need to decide how filters get configured when you have a mix of pages/page-models/handler-methods/application-model.

Related items:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions