Link to home
Start Free TrialLog in
Avatar of cbrune
cbrune

asked on

Need Help Refactoring please.

I need help with my authentication dll.  I am trying to read settings from the authenication.config inside the class library.  I am trying to write a strategy pattern to access different authenticatons methods, whether I want to use AD, Database, and etc.  Can someone please help me.

its located on my google drive.
https://drive.google.com/file/d/0B6LKujct8rieRXpjc1ZMbm13TTA/view?usp=sharing
Avatar of kaufmed
kaufmed
Flag of United States of America image

Do you have a specific question?
Avatar of cbrune
cbrune

ASKER

I can't grab the app settings from authentication.config in the authentication config settings.. How do I?
You put app settings in your main configuration file--i.e. the one that goes with the main executable. The configuration system doesn't read anything but that, even if you include additional configs. You can manually read the config, but it's usually easier/quicker to just include the settings in the main config.
Avatar of cbrune

ASKER

But how do I have a secondary config and read files from there??
ASKER CERTIFIED SOLUTION
Avatar of FarWest
FarWest

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial