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 5957919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:28:09+00:00 2026-05-22T18:28:09+00:00

I am just trying to get to grips with using WCF, and I am

  • 0

I am just trying to get to grips with using WCF, and I am wandering if someone could tell me if I have the right idea with endpoints.

I have been working through the videos on msdn, and now I am wandering about the way to configure WCF Service. The scenario is if I have multiple IServices, e.g. such that I have an IThis and IThat, and the client needs the access both (note: they will be using net.tcp),

  • IThis handles database querying and,

  • IThat handles calculations independent of the database,

I assume that I have to define separate Endpoints for IThis and IThat, that are referenced in the client separately. Or would I create an overall IThisAndThat Service that gets referenced in the client and contains the functionality for both??

Or is are the other ways for developing and handling WCF Services with multiple IServices? While I’m asking can you define base address for tcp or only http?

~Thanks all, any help or pointers would be great.

  • 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-22T18:28:10+00:00Added an answer on May 22, 2026 at 6:28 pm

    I assume that I have to define
    separate Endpoints for IThis and
    IThat, that are referenced in the
    client separately. Or would I create
    an overall IThisAndThat Service that
    gets referenced in the client and
    contains the functionality for both??

    You can do both:

    • you can create a separate service implementation class – one for IThis, another one for IThat
    • or you can create a single service implememtation class that implements both IThis and IThat

    That choice is entirely up to you.

    For every service implementation class that you have, you can define any number of endpoints you wish to have. So if you have an ThisService implementing IThis, you can define a HTTP and a TCP endpoint for that, and you also have a ThatService that implements IThat for which you define a TCP endpoint. That’s totally up to you.

    BUT: you can only define your endpoints for each service implementation class – if you have a ThisAndThatService implementing both service contracts, you cannot define 3 endpoints for IThis and two different ones for IThat – the endpoints you define are per service implementation class.

    While I’m asking can you define base
    address for tcp or only http?

    Yes, absolutely – you can define a base address for each of the various addressing schemes (http, net.tcp, net.msmq, net.pipe and so forth).

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

Sidebar

Related Questions

I have been trying to get to grips with Hibernate's inverse attribute, and it
I'm just trying to get into the benefits of using CSS vs. tables, but
I am trying to get to grips with BDD web development in Ruby using
I'm fed up with this. I've been trying to just get a grip on
I am trying to get to grips with OOP, and just want a little
just trying to get my head around Rx I am using Rx to poll
trying to get to grips with the code of a system that has been
Just trying to get to grips with the new Rails 3.1 way of managing
I'm just starting to get to grips with web development and trying to build
I'm trying to get the grips of using prototypal inheritance. Here is the code

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.