Service Behavior Equivalent in ASP.NET WEB API

962 views Asked by At

I am modifying an existing WCF service to a WEB API. In the WCF service, we have some operation behaviors that checks the validity of session id passed in SOAP header.Do we have any equivalent for Operation Behaviors in WEB API, which will get invoked before and after actual service call?

1

There are 1 answers

0
Uriil On BEST ANSWER

In WebAPI it's called ActionFilters, please look at documentation about them