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?
In WebAPI it's called ActionFilters, please look at documentation about them