I need to deploy the same WCF service on multiple virtual directories with the same site on IIS. Does this cause a problem, if I have the same namespace for all these instances?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In BizTalk – the duplicate namespace would matter, but with IIS Virtual Directories as a boundary there should be no issues.
You could register a service using multiple endpoints via MVC service routing and avoid creating virtual directories altogether.
If you are using classic service activation with physical SVC files, you should be able to point each virtual directory to the same physical location where the SVC files exist.