|
-
Aug 1st, 2002, 07:00 AM
#1
Thread Starter
Junior Member
web.config for web services
Does anyone know if it is possible to make <appSettings></appSettings> work in a web service?
e.g. <appSettings><add key="myname" value="bob"\>
</appSettings>
I understand I have to change the name of the web config file for a windows application to the application name e.g. myApp.exe.config in order for it to work. However, an ASP.Net web service is not a windows app so I would thing I could utilize the web.config file the IDE includes in the project. I have tried adding the configuration class to the service via Imports System.Configuration but I can not access the class when I type Return ConfigurationSettings.xxxxxxxxx etc. Everything else appears to be available in the web.config file like debugging etc.
Thanks
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
|