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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:01:03+00:00 2026-05-27T20:01:03+00:00

I have two projects FOO and BAR Inside of BAR i have a class

  • 0

I have two projects FOO and BAR

Inside of BAR i have a class

public static class CheckInServiceFactory
{
    public static ICheckInService GetInstance()
    {
        var factory = new ChannelFactory<ICheckInService>("CheckInService");
        return factory.CreateChannel();
    }
}

Inside of FOO i have the calling code

var searchResults = CheckInServiceFactory.GetInstance();

Also inside of FOO I have an appconfig which has “CheckInService” endpoint set up.

My question is, How does the CheckInServiceFactory know to lookin in FOO’s appconfig for the endpoint?

Why doesn’t it look for it in BAR’s config file (which btw its not there so i thought this would blow up)

  • 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-27T20:01:04+00:00Added an answer on May 27, 2026 at 8:01 pm

    All configuration files are always in the executing application. If that’s an .EXE file of some sort, then they are in application.exe.config. If it’s a web application, then that’s web.config.

    Library files’ (.dll) config are never used.

    It has been that way since Day 1.

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

Sidebar

Related Questions

I have two projects, a Cocoa iPhone application and a static library which it
We have two projects that are both class libraries. Project 1 is a VS
I have two .NET libraries: Foo.Bar and Foo.Baz. Foo.Bar is self-contained, while Foo.Baz references
I have two projects, Foo Engine and Foo Webapp. Obviously, to run the webapp,
Situation I have two .NET solutions ( Foo and Bar ) and a common
I have two projects, the DLL project which has all my logic and data
I have two projects: A/B. Project A is the project that contains all of
I have two projects in the same server, their settings conflict in the session.auto_start,
I have two projects in my Solution. One implements my business logic and has
I have two projects in my solution   1- asp.net web project.   2-

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.