Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i Have web application & wcf service application,

every one will do hosting wcf service in IIS & consuming hosted wcf service in Web Application

Client requirement is

Single virtual folder in IIS for web application, in that only need place wcf service file and

need to call that service in web application.

is it possible to implement WCF client & service in same application?

can any one help me
Posted
Comments
Naz_Firdouse 8-Apr-13 7:24am    
you have have service project within the client solution and refer that local service... and when you deploy the client, it refers the service within that solution...

1 solution

Hi
Yes you can host Web Application and Web Service in single directory .

See Like this

Create directory "WebSite" and then create "Webservice" directory inside this .Then host your website and give path to website .

Now browse and give path

http;//localhost/AliasName/Login.aspx
http;//localhost/AliasName/Webservice
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900