c# - I need to invoke a method in WCF before my operation contracts gets called -


i need validate request in operation contracts. request base have user authentication token needs validated every time.

i need invoke method in wcf (basically validate request) before operation contracts gets called. otherwise have write code validate request in operation contract methods.

is there option in wcf this?

wcf offers several extensibility points. check idispatchmessageinspector.afterreceiverequest allows inspect incoming message before dispatched operation.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -