Click here to Skip to main content
13,003,709 members (74,414 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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.

Posted 27-Sep-12 0:02am
Updated 27-Sep-12 0:29am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170626.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100