<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Stefan Forsberg</title> <link>https://world.optimizely.com/blogs/Stefan-Forsberg/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>In memory IContentRepository – The genealogy of pages</title>            <link>http://www.popkram.com/blog/?p=2296</link>            <description>This post is part of a series of post where I try to implement an in memory IContentRepository. The tests for this posts are found here and here. This post will look at the last members of the IContentLoader interface for a while, namely GetDescendents and GetAncestors. First thing that pop out is that Descendents &amp;#8230;</description>            <guid>http://www.popkram.com/blog/?p=2296</guid>            <pubDate>Mon, 02 Sep 2013 20:38:17 GMT</pubDate>           <category>Blog post</category></item><item> <title>In memory IContentRepository – Getting children</title>            <link>http://www.popkram.com/blog/?p=2271</link>            <description>This post is part of a series of post where I try to implement an in memory IContentRepository. The tests for this posts are found here. In this post we&amp;#8217;ll continue to look at another member of the IContentLoader interface, namely the GetChildren method. There&amp;#8217;s an interesting method with the signature But since we, like &amp;#8230;</description>            <guid>http://www.popkram.com/blog/?p=2271</guid>            <pubDate>Thu, 29 Aug 2013 20:26:39 GMT</pubDate>           <category>Blog post</category></item><item> <title>In memory IContentRepository – Getting a page</title>            <link>http://www.popkram.com/blog/?p=2267</link>            <description>This post is part of a series of post where I try to implement an in memory IContentRepository. The tests for this posts are found here. When getting a page we&amp;#8217;re using the IContentLoader interface. In this post we&amp;#8217;ll focus in the most simple case, to load a page by a page reference and not &amp;#8230;</description>            <guid>http://www.popkram.com/blog/?p=2267</guid>            <pubDate>Tue, 27 Aug 2013 21:05:20 GMT</pubDate>           <category>Blog post</category></item><item> <title>Testing IContentRepository</title>            <link>http://www.popkram.com/blog/?p=2254</link>            <description>If you want to test against IContentRepository you have some different options. 1. Database This is basically the same thing as when you&amp;#8217;re running the site. In your test project you start up episerver in a console mode and each query/command is executed against the database in the same way it would have been if &amp;#8230;</description>            <guid>http://www.popkram.com/blog/?p=2254</guid>            <pubDate>Tue, 27 Aug 2013 21:04:38 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 patch 2, MVC and session state</title>            <link>http://www.popkram.com/blog/?p=2202</link>            <description>When my colleague Niklas Melinder applied patch 2 for EPiServer 7 he ran into trouble when the site was deployed to our acceptance server. The site started to throw &amp;#8220;System.InvalidOperationException: The SessionStateTempDataProvider class requires session state to be enabled.&amp;#8221;. Since our acceptance environment runs with sessions state switched off it was pretty clear what caused &amp;#8230;</description>            <guid>http://www.popkram.com/blog/?p=2202</guid>            <pubDate>Sat, 20 Apr 2013 13:22:45 GMT</pubDate>           <category>Blog post</category></item><item> <title>API when creating page data used for tests</title>            <link>http://www.popkram.com/blog/?p=2187</link>            <description>Some context: when using an in memory implementation of IContentRepository (most likely in a test scenario) you need to create pages that are involved in the tests. I&amp;#8217;m not quite sure which approach I fancy so I thought I&amp;#8217;d ask you. Given that these two snippets produces the same result, do you find one &amp;#8220;better&amp;#8221; [...]</description>            <guid>http://www.popkram.com/blog/?p=2187</guid>            <pubDate>Sun, 24 Feb 2013 14:19:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>One reason why I don’t like service locator</title>            <link>http://www.popkram.com/blog/?p=2177</link>            <description>Let&amp;#8217;s say I want to use the new (brilliant) ISelectionFactory to easily create a list of something for the editor to choose. The data the editor uses is fetched from EPiServers IContentRepository. Unfortunately this won&amp;#8217;t work since the class is not created from the container. Instead we get an error in edit mode saying the [...]</description>            <guid>http://www.popkram.com/blog/?p=2177</guid>            <pubDate>Mon, 18 Feb 2013 11:26:28 GMT</pubDate>           <category>Blog post</category></item><item> <title>UI-testing (EPiServer): SpecFlow</title>            <link>http://www.popkram.com/blog/?p=2080</link>            <description>This post is not going to be about what BDD / Specification by example is and the benefits of it but more of a quick start with doing UI-testing in a SpecFlow manner. Installing SpecFlow Although it&amp;#8217;s not technically necessary I&amp;#8217;d advice you to add the SpecFlow extension to Visual Studio. This is added through [...]</description>            <guid>http://www.popkram.com/blog/?p=2080</guid>            <pubDate>Tue, 29 Jan 2013 11:24:21 GMT</pubDate>           <category>Blog post</category></item><item> <title>UI-testing (EPiServer): the need for speed</title>            <link>http://www.popkram.com/blog/?p=2034</link>            <description>Executing our two test takes around 20 seconds. If you&amp;#8217;ve run the test you&amp;#8217;ve noticed that a lot of the test time is actually spent on opening a new browser window. One way to mitigate this is to use the same browser throughout all the test which opens before the first test and closes after [...]</description>            <guid>http://www.popkram.com/blog/?p=2034</guid>            <pubDate>Fri, 25 Jan 2013 19:32:13 GMT</pubDate>           <category>Blog post</category></item><item> <title>UI-testing (EPiServer): improving the test(s)</title>            <link>http://www.popkram.com/blog/?p=2014</link>            <description>The code we ended up with in the previous post works but it&amp;#8217;s hardly optimal. There are some tasks that are performed in each and every UI test. For instance, before the test start up the browser and maximize it and after the test close the browser. If we put this common tasks in a [...]</description>            <guid>http://www.popkram.com/blog/?p=2014</guid>            <pubDate>Thu, 24 Jan 2013 19:49:35 GMT</pubDate>           <category>Blog post</category></item><item> <title>UI-testing (EPiServer): up and running</title>            <link>http://www.popkram.com/blog/?p=1994</link>            <description>I&amp;#8217;ve blogged previously about UI-testing. The purpose of that series of posts was to share information I&amp;#8217;d gathered in the process of testing but I never really got around to writing about how to get started. Inspired by the Selenium testing tools cookbook I want to write some very hands-on posts so let&amp;#8217;s get started. [...]</description>            <guid>http://www.popkram.com/blog/?p=1994</guid>            <pubDate>Wed, 23 Jan 2013 09:53:52 GMT</pubDate>           <category>Blog post</category></item><item> <title>What’s in EPiServers container?</title>            <link>http://www.popkram.com/blog/?p=2036</link>            <description>I was curious what&amp;#8217;s registered in the StructureMap container by EpiServer themselves. StructureMap comes with the helpful method WhatDoIHave() which spits out everything registered. I formatted that list to make it slightly prettier Here&amp;#8217;s the list from the above code. Rumor has it that you need to have this list memorized if you are to [...]</description>            <guid>http://www.popkram.com/blog/?p=2036</guid>            <pubDate>Fri, 18 Jan 2013 22:10:20 GMT</pubDate>           <category>Blog post</category></item><item> <title>Testing strategies for EPiServer now and in the future</title>            <link>http://www.popkram.com/blog/?p=1945</link>            <description>&lt;p&gt;This post discusses some different approaches you can take to testing your EPiServer site. Unfortunately it won’t give you answers to the eternal question “what to test?”. While it’s always boring to do the typical consultant “it depends” it’s very hard to give general guidelines what to test, when to do it and what approach [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1945</guid>            <pubDate>Wed, 10 Oct 2012 21:08:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 Preview – EditorDescriptor ui type and wrapper type</title>            <link>http://www.popkram.com/blog/?p=1924</link>            <description>&lt;p&gt;I’ve been exploring the possibility to change how the new on page editor behaves and this is what I’ve found so far (wow, that was an uninspired introduction even for me). The following standard page with two PropertyNumber (int) will server as the base for the exploration. The template for this is a plain MVC [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1924</guid>            <pubDate>Tue, 11 Sep 2012 21:54:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 Preview – An adaptable content repository</title>            <link>http://www.popkram.com/blog/?p=1862</link>            <description>&lt;p&gt;I’ve blogged previously on why you’d want to create your “IDataFactory” and how decorators can help you keep your code clean. In this post I’ll expand on that subject. A tale of five children A given node contains five children. Two of these (in grey) are not visible in menues and two (in pink) are [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1862</guid>            <pubDate>Fri, 24 Aug 2012 18:34:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 Preview – On StructureMapDependencyResolver</title>            <link>http://www.popkram.com/blog/?p=1864</link>            <description>&lt;p&gt;With the DI support coming in EPiServer 7 SM sooner or later is going to try and resolve a dependency and fail to do so. Most likely this is due to a container configuration issue and this is where the StructureMapDependencyResolver that ships with the MVC template preview falls slightly short. Not that it won’t [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1864</guid>            <pubDate>Wed, 22 Aug 2012 22:47:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 Preview – container support</title>            <link>http://www.popkram.com/blog/?p=1829</link>            <description>&lt;p&gt;If you’ve read my blog during the years you’ll know that I’ve blogged at time or two about dependency injection and Ioc-containers. The biggest problem with this that always saddened me a bit was that I could almost never spend any time talking about why I liked it and how much easier they made my [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1829</guid>            <pubDate>Wed, 20 Jun 2012 06:42:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 Preview – migration</title>            <link>http://www.popkram.com/blog/?p=1800</link>            <description>&lt;p&gt;I’ve previously written about the migration support in PTB 2 migrations. In Falcon EPiServer have added their own migration support. Let’s start with a simple page type And then we’ll give it a value Changing the property name If we were to change the property name EPiServer have no real way of knowing what the [...]&lt;/p&gt;</description>            <guid>http://www.popkram.com/blog/?p=1800</guid>            <pubDate>Tue, 19 Jun 2012 16:14:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>Reviewing pages in EPiServer – identifying commentable areas</title>            <link>http://www.popkram.com/blog/?p=1780</link>            <description>(If this post seems out of context, return to introduction post and hopefully it will make more sense) How to identify commentable areas As described previously an article is made up of both an article page type as well as one more more chapter page types. The chapter page contains a xhtml editor in which [...]</description>            <guid>http://www.popkram.com/blog/?p=1780</guid>            <pubDate>Sun, 18 Mar 2012 11:38:42 GMT</pubDate>           <category>Blog post</category></item><item> <title>Building a little chat for EPiServer using SignalR</title>            <link>http://www.popkram.com/blog/?p=1764</link>            <description>Recently I saw a forum thread over at EpiServer world that asked for chat functionality and since I had previously toyed around with the basic idea I decided to write a quick POC. Like Fredrik says it can be implemented using SignalR. SignalR is in their own words an &amp;#8220;async signaling library for .NET to [...]</description>            <guid>http://www.popkram.com/blog/?p=1764</guid>            <pubDate>Thu, 01 Mar 2012 23:07:03 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>