Where's my settings file?

S

ssg31415926

I've got a small web site and I've added some settings in appSettings
which appear in web.config. So far, so good.

I've just added a DLL to the site which was originally written to be
called from a Windows Forms app. The DLL has a settings file
(<name>.dll.config) when I use it in the Windows Forms app. I need to
change the settings but can't find the settings file on the ASP.NET
server. But it seems to be working.

How? And where are the settings?

I'm new to ASP.NET. So far, everything's going well but it's the
stuff not in books that keeps tripping me up!
 
A

Alex Meleta

Hi,

In web.config's appSettings.
And you can even add old config-file to web project with minimal changes,
just update web.config with the string:

<appSettings file="<name>.dll.config"/>

Regards, Alex
[TechBlog] http://devkids.blogspot.com



s> I've got a small web site and I've added some settings in appSettings
s> which appear in web.config. So far, so good.
s>
s> I've just added a DLL to the site which was originally written to be
s> called from a Windows Forms app. The DLL has a settings file
s> (<name>.dll.config) when I use it in the Windows Forms app. I need
s> to change the settings but can't find the settings file on the
s> ASP.NET server. But it seems to be working.
s>
s> How? And where are the settings?
s>
s> I'm new to ASP.NET. So far, everything's going well but it's the
s> stuff not in books that keeps tripping me up!
s>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top