URGENT & EASY.....WCF Service Library and App.config file

I noticed that you can not have a app.config file in with the WCF Service Library. But you want to have the app.config file in the Host (app hosting the WCF service).

So my question is...I have some Paths and file search criteria that I wanted to include in the app.config file for the WCF Service Library. Since I am not able to have a app.config file what would I be able to have or do to solve this?
LVL 2
NewMom2BrandonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

p_davisCommented:
you can still use the app.config for the service host
0
p_davisCommented:
ConfigurationManager.AppSettings["whateverthekeyis"]

you can access other key values through the configurationmanager.--

hopefully i am understanding what you are needing.
0
NewMom2BrandonAuthor Commented:
I tried putting my values in like normal. However...it gives errors along the lines of needing the endpoint in the config file.

0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

NewMom2BrandonAuthor Commented:
I am not needing it for the service host  but for the "Service itself"
0
p_davisCommented:
are you not putting your endpoints in the config file?
0
p_davisCommented:
yes you can still get at the service host app.config file from the services
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NewMom2BrandonAuthor Commented:
Thank you! I can't believe I didn't try that
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.