<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5211228043243414701.post3298565695578561474..comments</id><updated>2011-08-11T16:11:00.545+02:00</updated><category term='Personal'/><category term='AOP'/><category term='Web dev'/><category term='J2ME'/><category term='Visual Studio'/><category term='GWT'/><category term='Microsoft'/><category term='MVC'/><category term='Antipatterns'/><category term='HowTo'/><category term='.Net'/><category term='ASP.net MVC'/><category term='Apple'/><category term='Exploring JavaScript'/><category term='C++'/><category term='Software Design'/><category term='Projects'/><category term='Mac'/><category term='iOS'/><category term='Spring'/><category term='Clean Code'/><category term='Windows OS'/><category term='Android'/><category term='Unit Testing'/><category term='Design Patterns'/><category term='jQuery'/><category term='Smelly Code'/><category term='refactoring'/><category term='jFace'/><category term='interesting apps'/><category term='Software testing'/><category term='martial arts'/><category term='Software Architecture'/><category term='Java'/><category term='OSX'/><category term='Best Practices'/><category term='Google'/><category term='Open Source'/><category term='Blogging'/><category term='C#'/><category term='VBA'/><category term='RCP'/><category term='iPhone'/><category term='WCF'/><category term='Linux'/><category term='mobile dev'/><category term='Eclipse'/><category term='functional programming'/><category term='lessions learned'/><category term='annotated'/><category term='webclips'/><category term='Agile Development'/><category term='JavaScript'/><category term='Tech vids'/><category term='ASP.net'/><category term='Entity Framework'/><category term='Silverlight'/><title type='text'>Comments on Juri's TechBlog: Best practices: Deploying webapps (contd.)</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.js-development.com/feeds/3298565695578561474/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211228043243414701/3298565695578561474/comments/default'/><link rel='alternate' type='text/html' href='http://blog.js-development.com/2009/03/best-practices-deploying-webapps-contd_20.html'/><author><name>Juri Strumpflohner</name><uri>https://profiles.google.com/104904743888756261987</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-Q7MhUS4Qmsc/AAAAAAAAAAI/AAAAAAAAC5k/QAy7ju1ZGXY/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5211228043243414701.post-7535580602808250822</id><published>2009-04-12T19:43:00.000+02:00</published><updated>2009-04-12T19:43:00.000+02:00</updated><title type='text'>Hi,&lt;br&gt;I see your point. Well in principle I would...</title><content type='html'>Hi,&lt;BR/&gt;I see your point. Well in principle I would say that if these settings are related to the environment where the application resides (e.g. dev, staging, production) then it would also make sense to have them in a different file.&lt;BR/&gt;But of course I completely agree with you when you say that if you open the web.config that you immediately want to see all of the configuration at a glance and not follow links to references setting files. Also having different configuration files is somewhat dangerous since it quickly may become nasty and difficult to maintain. The less config files you have the better it is.&lt;BR/&gt;The risk you have with the single, "manually managed" web.config is just that you may make changes locally, commit it to the repository, but then your team colleague publishes the app the next morning, without having recognized your changes..&lt;BR/&gt;&lt;BR/&gt;From a "correctness" point of view I would say that having environment-related settings in different files would make sense, however I think it also very much depends on ones specific needs and also preferences.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211228043243414701/3298565695578561474/comments/default/7535580602808250822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211228043243414701/3298565695578561474/comments/default/7535580602808250822'/><link rel='alternate' type='text/html' href='http://blog.js-development.com/2009/03/best-practices-deploying-webapps-contd_20.html?showComment=1239558180000#c7535580602808250822' title=''/><author><name>Juri Strumpflohner</name><uri>http://www.blogger.com/profile/00030320835964434266</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://juri.strumpflohner.googlepages.com/myfoto.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.js-development.com/2009/03/best-practices-deploying-webapps-contd_20.html' ref='tag:blogger.com,1999:blog-5211228043243414701.post-3298565695578561474' source='http://www.blogger.com/feeds/5211228043243414701/posts/default/3298565695578561474' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-677632238'/></entry><entry><id>tag:blogger.com,1999:blog-5211228043243414701.post-5614758158651485718</id><published>2009-04-11T01:51:00.000+02:00</published><updated>2009-04-11T01:51:00.000+02:00</updated><title type='text'>We are using this approach for our connection stri...</title><content type='html'>We are using this approach for our connection strings as well. But we have to many different other settings between dev, staging and production...&lt;BR/&gt;So we still have 3 web.config files. But we need to deploy manual steps only if we change something in them.&lt;BR/&gt;&lt;BR/&gt;What would you suggest if you have a lot of different settings?&lt;BR/&gt;&lt;BR/&gt;E.g. Move all of these in separate file?&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;DefaultFromAddress&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;X@X.com&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;CloseDate&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;03/31/2009 23:59:00&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;OpenDate&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;03/02/2009 23:59:00&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;NRMABCCAddress&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;XX.XX@X.com.au&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;GlobalExceptionMailTo&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;xxxxx@ssw.com.au&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;ReportService&amp;quot;&lt;BR/&gt;        serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;http://XXXX:80/ReportServer/xx.asmx&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;      &amp;lt;setting name=&amp;quot;GlobalExceptionMailToAdditional&amp;quot; serializeAs=&amp;quot;String&amp;quot;&amp;gt;&lt;BR/&gt;        &amp;lt;value&amp;gt;xxxxx@ssw.com.au&amp;lt;/value&amp;gt;&lt;BR/&gt;      &amp;lt;/setting&amp;gt;&lt;BR/&gt;&lt;BR/&gt;What I don&amp;#39;t like about that, If I open web.config I want to see immediately whats going on, without opening other files.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5211228043243414701/3298565695578561474/comments/default/5614758158651485718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5211228043243414701/3298565695578561474/comments/default/5614758158651485718'/><link rel='alternate' type='text/html' href='http://blog.js-development.com/2009/03/best-practices-deploying-webapps-contd_20.html?showComment=1239407460000#c5614758158651485718' title=''/><author><name>Peter Gfader</name><uri>http://www.blogger.com/profile/07780415437484280285</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://www.gfader.com/images/gfader-peter.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.js-development.com/2009/03/best-practices-deploying-webapps-contd_20.html' ref='tag:blogger.com,1999:blog-5211228043243414701.post-3298565695578561474' source='http://www.blogger.com/feeds/5211228043243414701/posts/default/3298565695578561474' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1204957544'/></entry></feed>
