Geeks With Blogs
IDynamic being dynamic in an ever changing world

I have come to a crossroad recently since I got a new laptop at home and was wondering what some peoples solutions are to the problem I am faced with.

Basically, I have desktop and a laptop development machines at home. Sometimes if I go on the road I will work on a  project on the laptop, and while at home on the desktop.

In my domain layer, I have a configuration file that needs to change depending on the environment. So for my most recent project the environments would be, DESKTOP, LAPTOP and WEBHOST since this project will be deployed to a webhost4life account.

I am curious as to how other people solve this problem. I see some code project articles that have 3 sets of configurations for each scenario but this seems a little repetitive and unweilding.

Anyone that can give me their 2 cents would be greatly appreciated!

Posted on Sunday, April 29, 2007 12:45 PM | Back to top

Comments on this post: Managing Web.Config settings on different machines

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Sean Chambers | Powered by: