Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys

I am hosting my wcf service in IIS.

I have a .svc file in my wcf webproject and in my App_code I have my service.

When I go to editWcf configuration tool and try to create a new service I cannot pick my type from the type browser because upon selection of app_code no file is seen.

Any help?

regards.
Posted
Updated 28-Oct-10 22:53pm
v2
Comments
Dalek Dave 29-Oct-10 4:53am    
Edited for Grammar and Syntax.

Don't put your service in App_code. files in App_code aren't served via Http, so you can't call Webservices of any kind if they're in there. put it in the root of your webproject and see if that helps.

Also:

[Forum discussion of App_code]
 
Share this answer
 
thanks, i have moved my iservice.cs and service.cs files to root of project but still it cant be seen under type browser in wcfconfiguration tool.
regards.
 
Share this answer
 
Comments
jim lahey 29-Oct-10 4:45am    
what about the .svc file?

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