Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I am developing services using WCF. I have created separate new WCF application therefore I can host/deploy it on IIS(Independant on any site).

I have to do some database operation in these services therefore I will require SQLHelper class(As I am using SQL helper for SQL DB interfacing). BUT I can not add App_Code folder in this application. I have manually added App_Code folder BUT I am not getting reference of these classes in my service.

Please let me know the solution as I am new to WCF.

Thanks
Posted
Updated 27-Sep-12 0:29am
v2

1 solution

If the SQL Helper Class is a seperate Project. Then Just add the reference of the Project to you WCF Application Project. Or Add the SQL Helper Project Dll as Reference to the WCF Project. You do not have to create an App_Code folder. For WCF Application all the binaries goes to the bin folder itself automatically when you deploy it.
 
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