|
-
October 4th, 2005, 08:17 PM
#1
web services and web.config
Hey guys,
Question about configuration for web services. I have a web.config, with an "appSettings" section and some key/value pairs for basic configuration of my web service. But, when I use ConfigurationSettings.AppSettings["key"], it is looking at the app.config of the application calling the web service. This makes sense to me, but my question is - what is the best way to store and access configuration information that is general to the web service? Even somewhere where I can put a filepath in that points to a confugration file would be satisfactory.
I checked something one of our other programmers did to configure a web service, and they had hard coded the path to an XML file into the web service and included a nice comment "config.xml should reside in the application path...".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|