<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fredrik Haglund's blog &#187; TFS</title>
	<atom:link href="http://blog.fredrikhaglund.se/blog/tag/tfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fredrikhaglund.se</link>
	<description>Chatter about EPiServer, ASP.NET, CSS and Web Development.</description>
	<lastBuildDate>Tue, 28 Jun 2011 13:37:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Configuration Management and EPiServer CMS 6</title>
		<link>http://blog.fredrikhaglund.se/blog/2010/03/10/configuration-management-and-episerver-cms-6/</link>
		<comments>http://blog.fredrikhaglund.se/blog/2010/03/10/configuration-management-and-episerver-cms-6/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 20:00:00 +0000</pubDate>
		<dc:creator>Fredrik Haglund</dc:creator>
				<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[CM]]></category>
		<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[EPIServer 6]]></category>
		<category><![CDATA[episerver.config]]></category>
		<category><![CDATA[episerver.datastore]]></category>
		<category><![CDATA[episerver.shell]]></category>
		<category><![CDATA[EPiServerFramework.config]]></category>
		<category><![CDATA[TFS]]></category>

		<guid isPermaLink="false">http://blog.fredrikhaglund.se/blog/2010/03/10/configuration-management-and-episerver-cms-6/</guid>
		<description><![CDATA[This blog post is based on the experience of upgrading one EPiServer CMS 5 project and creating a new one from scratch based on a release candidate of EPiServer CMS 6 and things may change before the release. New configuration files Web.config contained a lot of settings for EPiServer CMS that is now split into [...]]]></description>
			<content:encoded><![CDATA[<p>This blog post is based on the experience of upgrading one EPiServer CMS 5 project and creating a new one from scratch based on a release candidate of EPiServer CMS 6 and things may change before the release. </p>
<h3>New configuration files</h3>
<p><em>Web.config</em> contained a lot of settings for EPiServer CMS that is now split into several files. Unfortunately another 250 lines of configuration is also added increasing the burden to manage the configuration.</p>
<h4>EPiServerFramework.config</h4>
<p>This file contains mapping between host header name and site and default language. This information was previously located in <em>configuration/episerver/sites/site/siteHosts</em>-tag.</p>
<p>Notice that the EpiServer framework automatically updates this file with machine specific information which makes it harder to put under version control but EPiServer will work even if the file is read-only (you get some exceptions in the log files and maybe temporary version of the files). </p>
<p>It is needed by all developers, staging and QA so one strategy could be to put it on version control directly or check-in a file with another name or location copy it during the post build event.</p>
<h4>episerver.config</h4>
<p>This is basically everything previously located in <em>configuration/episerver</em>-tag in <em>web.config</em>. It is connected using the configSource attribute in the same way as <em>connectionStrings.config</em>-file.</p>
<p>It contains the same information as before except that <em>siteHosts</em>-tag is migrated to <em>EPiServerFramework.config</em>-file.</p>
<p>In addition to the paths in <em>configuration/episerver/virtualPath/providers/add</em>-tag another machine specific attribute has been added on the <em>site</em>-tag called <em>licenseFilePath</em>. </p>
<p>This file must be put under version control but if the machine specific <em>licenseFilePath</em> it is present it will be hard to get it to work well.</p>
<h3>New configuration</h3>
<p>There are new sections in <em>web.config</em> and for <em>episerver.shell</em> and <em>episerver.datastore</em>. </p>
<h4>episerver.shell</h4>
<p>You need to add you modules here if you want to add your own things to the new menu system or add gadgets to the new Dashboard.</p>
<h4>episerver.datastore</h4>
<p>Even if you do not use the datastore yourself EPiServer does for XForms and other features that was previously handled by the now deprecated <em>objectstore</em>. You need to make sure that you change the <em>connectionStringName</em>-attribute to match the one your site is using.</p>
<p>Since it is possible to have different values on connectionStringName-attribute on <em>configuration/episerver/sites/site/siteSettings</em>-tag in an Enterprise setup this can be problematic.</p>
<h3>Change of configuration does not restart application</h3>
<p>Both <em>episerver</em> and <em>episerver.framework</em> configuration section has restartOnExternalChanges attrubute set to false.</p>
<p>This is annoying because you have to remember to manually do a <em>iisreset</em> or change <em>web.config</em> to trigger a restart so your changes take effect.</p>
<h3>New Site/License Information feature in Admin Mode</h3>
<p>There is a new feature that enables you to upload, activate or request a demo license in admin mode. <strong>This feature should <u>not be used by developers</u> since it adds machine specific information episerver.config. </strong>If you do and check in the changes your co-developers will get a file that does not work on their computer.</p>
<p>My suggestion is to continue using the manual approach and add the <em>Licence.config</em>-file to the application root folder your self. Remeber that if you want to put your license files under version control it is possible to do that very easily because EPiServer will look for “<em>License.config</em>” first and then “<em><strong>MACHINENAME</strong>License.config</em>” so just rename your <em>license.config</em>-file and check it in.</p>
<h3>Location of EPiServer User Interface is changed during upgrade</h3>
<p>Notice that all location and VPP paths for EPiServers User Interface are changed during upgrade. If you path to edit mode was <em>/secret/edit</em> before it will now be <em>/secret/<strong>CMS</strong>/edit</em>. There is no redirect so bookmarks or hard coded links in your application to edit mode may break.</p>
<h3>Language files</h3>
<p>Notice that you no longer can translate the whole EPiServer User Interface yourself (or override some translations) by changing xml-files in the lang folder. The new Dashboard feature (aka. Shell, Online Center) is using binary resource assemblies.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fredrikhaglund.se/blog/2010/03/10/configuration-management-and-episerver-cms-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

