I have a requirement to create a wrapper WCF in order to point to the Old service reference and new Service reference based on a Key. I am working on a legacy systems and I have no idea how to move forward on this.
My requirement is like https://someURL.svc?appkey=key1/key2
If I pass key1 , the service reference should be pointed to old1. If I pass key2 , the service reference should be pointed to new1.
https://someURL.svc?appkey=key1/key2 , this will act as a wrapper and inside this we will configure 2 service end points.
I need to know How can I get this key and configure service expose service point based on this.
Could you please throw some light on this how to approach this problem. I haven't been working on WCF for quite a long time?