Using DelegatingHandler Web API in MVC

I wrote a DelegatingHandler for cookie based authentication in my web API project. Now I see that I need several mvc controllers. Can I use the same handler for them? If not, what is the mvc equivalent of DelegatingHandler?

+4
source share
1 answer

The only equivalent is a global filter.

If you use OWIN, it can be used, but it is still in beta.

+3
source

Source: https://habr.com/ru/post/1498550/


All Articles