Independent Web.config for different applications

D

Dominic Messenger

I have a webservice that is implemented as an IIS application. What I
now need to do is scale this up as 10 separate webservices (identical
codebase), with 10 different web.config files as 10 separate IIS
applications. I can do this by copying the code 10 times, and
providing unique config files, but this is prone to error.

What I want to be able to do is have a single code base, and override
the web.config on an application by application basis. The base
web.config can contain default information, with each application
storing it's unique settings separately.

How do I go about this ? I understand the Configuration inheritance
model, but everything talks about virtual directories - what I want
are separate, independent applications, accessed independently.
 
G

Guest

Can't you just have a hierarchical web.config file? This is fairly easy to
achieve.
You need to create a section handler.
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top