Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6565669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:07:23+00:00 2026-05-25T14:07:23+00:00

I have a website project and in that I added a .svc file with

  • 0

I have a website project and in that I added a .svc file with the following details-

<%@ ServiceHost Language="VB" Debug="true" Service="Communication" CodeBehind="???" %>

Here am not sure what should I put in for “CodeBehind”. As I have put all my service contracts and their implementations in another project and I added that project as a reference to this website. Is this allowed? Or Do I need to have the Codebehind files only in the App_Code folder under website project?

Please suggest if there is a way to specify the CodeBehind file other than placing that in App_Code folder.

Thanks in advance
Sai

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:07:23+00:00Added an answer on May 25, 2026 at 2:07 pm

    you don’t need a codebehind I don’t believe. Just specifying the service is enough, although you need to specify the full namespace of the class which implements the service.

    According to this example, you should be fine doing this if the class is in another referenced assembly, in which case you don’t need the language bit either, only the service part.

    In the example on MSDN they don’t use it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Website project that I'm trying to debug using Fiddler. Fiddler doesn't
I have a website project that I want to build using CruiseControl.net. On one
I have a Website Project in my Visual Studio 2008. I added a Class
I have added a WCF service to an existing ASP.Net web project on our
I have inherited a web site project that makes use of a number of
We have a updatable web site project that is written in c#, it has
I have a project to setup an anonymous feedback form to our website. I
I have a few classes in my current project where validation of Email/Website addresses
i have a problem i am developing an asp.net mvc project. Website is in
My team working on a php/MySQL website for a school project. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.