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

  • Home
  • SEARCH
  • 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 8028987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:17:56+00:00 2026-06-05T00:17:56+00:00

On adding a service reference to my class file, another config file called app.config

  • 0

On adding a service reference to my class file, another config file called app.config is added to the class. Where should the endpoints be defined? Should they be in solution’s config file or the new config file created in class?

  • 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-06-05T00:17:58+00:00Added an answer on June 5, 2026 at 12:17 am

    The endpoints defined in server(web.config) is to expose the web service to others.
    The endpoints defined in Client(app.config) is to specify which service should the app connect to.
    So you must define the endpoint in both client and Server
    PS the binding configuration should be identity in both web.config and app.config.

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

Sidebar

Related Questions

Sometimes adding a WCF Service Reference generates an empty reference.cs and I cannot reference
I am trying to consume a WCF service in a class library by adding
I am adding a reference to a web service. In the web service I
My app-config.xml has a definition for my UserDao bean: <bean id=userDao class=com.blah.core.db.hibernate.UserDaoImpl> <property name=sessionFactory
How to avoid duplicating data contracts when adding service reference to project? and if
Is there anyway I can invoke a WCF service without adding service reference or
I've created the default WCF Service in VS2008. It's called Service1 public class Service1
I can not work this out. I have a class library called 'ABC.Service'. In
I am adding a service reference in VS.NET 2010 using http://[orgname].api.crm.dynamics.com/XrmServices/2011/Organization.svc?wsdl URL but it
Just need to know when adding a service reference to a WCF service in

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.