Greetings,
I have been searching for a few days now and cannot figure out how to
pass a value to the constructor of my class or web service. My
situation is like this, I have a config file that I want to load that
holds database connection settings. My service scope will be
Application. I would like to pass the location of the config file to
the service when it starts so it can set up the appropriate connections
to the database based on the values in the config file. If any more
information is needed I would be happy to provide.
Thanks,
Josh Potter
- Passing values to class constructors Josh Potter
-