I have a web api 2 application where I am trying to configure somevalue on runtime for every request. So basically my application needs to look up the value from other service api which changes about 15 times during the day based on that it needs to log the paralytics (the requirement sounds bit wired but that's what it is!).
1st Approach: I thought I can retrieve the value from Owin startup class but not sure if I can make it configurable on every request.
2nd Approach: The another way I am thinking to do is to have the attribute for every action but that means I will have to remember to apply that attribute to every new action that I create.
So I am looking for best approach to handle this as I am new to web api!