Add WCF service as link from website project to webapplication project -


In my solution I have a "website" project and "web applications" project. In the I website project, The WCF service is under. Therefore by default it keeps the MyService.cs file under the My_Cervice folder.

Now I am trying to add this same WCF service as the link file to my webpage project. But [.svc & amp; .CCC] website is in two different places in the project, it is not being taken as a service in the webapp project.

Any solution to this problem? Any ideas or ideas?

Thank you in advance,

I think your best bet is completely your class library The WCF service must be separated in the assembly (* .svc.cs code-behind or code in the App_code directory), and then WCF service assembly from your various projects and web sites.


Comments