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

Support Filters for RazorPages #6124

Closed
sebastienros opened this issue Apr 12, 2017 · 3 comments
Closed

Support Filters for RazorPages #6124

sebastienros opened this issue Apr 12, 2017 · 3 comments

Comments

@sebastienros
Copy link
Member

Right now filters are not executed for Razor Pages.

I use filters to inject HTML content in the views based on external rules.
Examples:

  • Widgets based on the current context (User, url, time of day) independently from the view
  • Inject static resources like Scripts, Styles in the Layout based on the components that are executed during the page rendering
@pranavkm
Copy link
Contributor

Presumably this is means action and result filters. We support, Resource, Auth and exception filters in RazorPages as of now.

@rynowak rynowak added this to the 2.0.0-preview2 milestone Apr 13, 2017
@rynowak
Copy link
Member

rynowak commented Apr 13, 2017

In this case we're talking about result filters. We'll likely have a story similar to action filters, but different. Result filters will probably 'just work'.

@rynowak
Copy link
Member

rynowak commented May 26, 2017

688e518

Result filters added

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants