Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

deploy .net web application on IIS5 with multiple configuraion files

Posted on 2013-05-21
2
Medium Priority
?
379 Views
Last Modified: 2013-06-13
Hi:

I need to deploy a web application to a server with various configuration files under Config folder, such as:
app.config.DEBUGWebA
app.config.RELEASEWebA
app.config.DEBUGWebB
app.config.RELEASEWebB
...etc.

When users access http://myserver/WebA, config file of WebA should be used; if users access http://myserver/WebB, config file of WebB should be picked up and used.

How can I pull this off? My server runs Win XP and IIS 5.1

Thanks.
0
Comment
Question by:sdc248
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 1000 total points
ID: 39188606
Hi,

I think you have to create separate config files and deploy it across the server accordingly!

You can also check this blog post on working with multiple config files - http://weblogs.asp.net/jalpeshpvadgama/archive/2011/03/23/working-with-more-then-one-web-config-files-in-asp-net-application.aspx

As far as i know, you cannot achieve what you wish just with configuration. It won't happen automatically!

Hope it helps u...
0
 

Author Closing Comment

by:sdc248
ID: 39246015
Sorry for the late reply.
I think you're right. I did what you suggested and the project has been completed.
Thanks.
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question