• Recent Posts

    • Extensions and helpers library for EPiServer

      Posted on February 14, 2014 in EPiServer

      Over the last 4-5 projects my team has been working with EPiServer 7 and 7.5 using ASP.NET MVC. We've ended up creating some useful methods and helpers that we used in all those projects, that we've found to be very valueable and time saving. This library is now in a stable version that we're excited to open source and let everyone use. Read the whole post here

      Continue reading this entry →
    • EPiServer Find On-Premise Setup

      Posted on February 11, 2014 in EPiServer

      After setting up 5 different On-Premise servers for EPiServer Find I started writing down some notes on how to set it up and some gotchas I had a long the way. Read the whole post here.

      Continue reading this entry →
    • NuGet package restore and custom feeds

      Posted on July 10, 2013 in EPiServer, Visual Studio

      Here's a quick tip for future reference. When enabling NuGet package restore (in Visual studio: right click your solution file and choose Enable NuGet Package restore). Benefit of this is that you don't have to commit all the packages files to source control, which can be quite a few (more information here: Using NuGet without committing packages to source control). Now to the problem at hand, this will work great locally for custom feeds like nuget.episerver.com that you already have added to NuGet, but on your build server you'll get a build error for packages not on nuget.org. The fix...

      Continue reading this entry →
    • Add powerful image resizing, cropping and manipulation support to your EPiServer website

      Posted on January 19, 2013 in ASP.NET, EPiServer

      I've used this module in several of my projects, both EPiServer and standard ASP.NET applications. Image Resizer is open source and contains the core module with a bunch of plugins on top that add extra features, you can also purchase, for a very reasonable fee, additional plugins with even more support. Personally I've used many of the performance and cloud plugins with great success. Installation All the plugins, including the core, are available through NuGet. You can easily add it to your project by either using the NuGet dialog or using the command: Install-Package ImageResizer. Note that this will...

      Continue reading this entry →
    • Strongly typed access to your page data objects inside ItemTemplate

      Posted on May 10, 2012 in ASP.NET, EPiServer

      Here's a little quick tip on how I usually set up my code to get strongly typed access to my page types inside Repeaters, ListViews, PageLists etc. I use PageTypeBuilder in all my projects so I'm going to use it in the examples here as well, but you could just use the regular PageData objects instead (with a little more code). ...

      Continue reading this entry →
    • Manually upgrading the database from EPiServer Commerce R2 SP1 to EPiServer Commerce R2 SP2

      Posted on May 9, 2012 in EPiServer

      Here's an overview over the SQL scripts you need to execute to manually upgrade your sites commerce database from EPiServer Commerce R2 SP1 to EPiServer Commerce R2 SP2. C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\Setup\cms_db_upgrade.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_ApplicationSystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_BusinessFoundation_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_CatalogSystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_MarketingSystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_MetaDataSystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_OrderSystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_Reporting_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_SecuritySystem_update.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\MediachaseECF\Data\DeploymentPackage\SqlScripts\Update\ecf_db_Users_upgrade.sql C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\EPiServer Commerce 1.1.2.62\Setup\ecf_products_ProductsQuery.sql Here's the whole tech-note: Upgrading EPiServer Commerce from version 1 R2 SP1 to 1 R2 SP2. What I usually do is upgrade locally, check everything into source control, deploy...

      Continue reading this entry →
    • Faster EPiServer sites – image optimization

      Posted on May 6, 2012 in ASP.NET, EPiServer

      Continuing on our goal to get the fastest EPiServer site possible, let's take on images, specifically images that editors upload. In my experience even after launching a site that scores almost a complete score with YSlow, Page Speed etc, after having editors work on the site for a couple of months the site usually slows down quite a bit. One of the main reasons I've found for this is that not all editors think about optimizing images for the web. To make it easier for our editors Geta as developed a simple tool that runs as a...

      Continue reading this entry →
    • Using the ASP.NET Web API Framework with EPiServer

      Posted on February 23, 2012 in ASP.NET, EPiServer

      With the ASP.NET Web API framework we can easily build restful API's that allow us to expose our data to a whole bunch of different clients, everything from rich JavaScript applications to Flash or mobile apps. The cool thing about the Web API framework is that you don't need ASP.NET MVC 4 to run it, we can easily get everything we need with NuGet and then deploy it to our server without having to install anything extra on the server. Getting started Our EPiServer site needs to run .NET 4 for this to work, for this tutorial I installed a local copy...

      Continue reading this entry →