Last post Apr 14, 2010 02:33 AM by PamidiVenkat
Apr 13, 2010 10:45 PM|viki_singh|LINK
I am developing a web application where I am using WCF service. The app architecture is like this.
Pres. Layer->Service Layer->BL Layer->DAL Layer
from Pres. Layer, user select the site name, based on site name it retrieves the server name, port number and db name. then It sends all the info to service layer and retrieve the data.
Whenever i access any OperationContract, I need to pass server name, port number and db name and required parameter.
It looks difficult. Is there anyother way to find handle this situation.
Apr 14, 2010 02:33 AM|PamidiVenkat|LINK
you can expose your service as Restful service and through URL you can pass required details. Based on user selection you can get required details. Build URL ,
In Config URL might be For Example,
While calling service you can write method to Build URl based User selection and call for Service.