Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET WCF
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 27-Sep-12 0:02am
Pravinjas1.4K
Edited 27-Sep-12 0:29am
v2

1 solution

Rate this: bad
good
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.
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2014
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