<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Mikael Johansson</title><link href="http://world.optimizely.com" /><updated>2015-03-02T09:42:33.0000000Z</updated><id>https://world.optimizely.com/blogs/mikael-johansson/</id> <generator uri="http://world.optimizely.com" version="2.0">Optimizely World</generator> <entry><title>Easy pagination for any number of lists within a PageType</title><link href="http://blog.scepticnerd.com/?p=48" /><id>This code sample isn&amp;#8217;t big or fancy but I found it a bit nifty when having to paginate multiple lists within a single page, hance I wanted to share this. The solution below is based on using AJAX to get the paginated list but one could also use synchronous calls,&#160;the downside of not using&#160;AJAX is&amp;#8230; &lt;p&gt;&lt;a class=&quot;more-link&quot; href=&quot;http://blog.scepticnerd.com/2015/03/02/easy-pagination-for-any-number-of-lists-within-a-pagetype/&quot;&gt;Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</id><updated>2015-03-02T09:42:33.0000000Z</updated><summary type="html">Blog post</summary></entry> <entry><title>Setting up EpiServer Commerce w CommerceManager</title><link href="http://blog.scepticnerd.com/?p=7" /><id>Setting up CMS Start by creating a new project from the EPiServer visual studio templates which can be found here(https://visualstudiogallery.msdn.microsoft.com/4ad95160-e72f-4355-b53e-0994d2958d3e). &amp;#160; Select the Empty project template and check the checkbox for MVC This will create the public cms website for you along with a database. Next we need to add some nuget packages, so navigate&amp;#8230; &lt;p&gt;&lt;a class=&quot;more-link&quot; href=&quot;http://blog.scepticnerd.com/2015/02/01/setting-up-episerver-commerce-w-commercemanager/&quot;&gt;Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</id><updated>2015-02-01T22:36:04.0000000Z</updated><summary type="html">Blog post</summary></entry> <entry><title>Changing the local database location for CommerceManager</title><link href="http://blog.scepticnerd.com/?p=32" /><id>Begin by adding an InitializationModule to the root of your project from the EpiServer templates. Change the interface inheritance in the file from IInitializableModule to IConfigurableModule (This resides under the namespace EPiServer.ServiceLocation). Implement the new interface and add the following code in the Initialize method: System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + @&quot;\..\db\&quot;); AppDomain.CurrentDomain.SetData(&quot;DataDirectory&quot;, dir.FullName); Sidenote:&amp;#8230; &lt;p&gt;&lt;a class=&quot;more-link&quot; href=&quot;http://blog.scepticnerd.com/2015/02/01/changing-the-local-database-location-for-commercemanager/&quot;&gt;Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</id><updated>2015-02-01T22:34:06.0000000Z</updated><summary type="html">Blog post</summary></entry> <entry><title>Changing the local database location for CMS</title><link href="http://blog.scepticnerd.com/?p=30" /><id>Begin by locating the Global.asax-file, add a new static constructor to this class and define the location of your database(s): static EPiServerApplication() { &#160; System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + @&quot;\..\db\&quot;); &#160; AppDomain.CurrentDomain.SetData(&quot;DataDirectory&quot;, dir.FullName); } This static constructor ensures that the method is run on application start (before EPiServer even loads). This will set the&amp;#8230; &lt;p&gt;&lt;a class=&quot;more-link&quot; href=&quot;http://blog.scepticnerd.com/2015/02/01/changing-the-local-database-location-for-cms/&quot;&gt;Continue reading &lt;span class=&quot;meta-nav&quot;&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</id><updated>2015-02-01T22:32:58.0000000Z</updated><summary type="html">Blog post</summary></entry></feed>