Recent Posts
-
Add powerful image resizing, cropping and manipulation support to your EPiServer website
Posted on January 19, 2013 in ASP.NET, EPiServerI'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, EPiServerHere'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 EPiServerHere'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, EPiServerContinuing 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, EPiServerWith 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 → -
Open Source MobilePack version 1.0
Posted on February 8, 2012 in EPiServerI'm proud to announce that MobilePack is now in version 1.0 (stable). The team (@athraen, @jacobkhan and me) have been hard at work fixing bugs and adding new features for this release. New features/bug fixes Storing resized images for 7 days (default) in VPP for faster access Added ability to disable server image resizing Offline Manifest for using the site offline Ability to have different redirects for different language versions of a page Ability to turn off server-side image resizing Now running jQuery Mobile 1.0.1 Switching between normal/mobile and mobile/normal site now works for sub-domains as well Better language support for Google Maps location page type Not...
Continue reading this entry → -
Geta.oEmbed version 1.2 is out
Posted on November 19, 2011 in EPiServerDue to a changes in the oEmbed API I'm using for this module (it got bought by Embedly), I've updated the code to use the new API instead. The biggest change on your part is that you need to register on Embedly to obtain a key for the API. Registration To get the key register on this page: Embedly Pricing Plan, if you scroll to the bottom you'll see the free version which should be plenty for most uses (there is among other things a restriction on the number of requests). After the registration you should receive the key in...
Continue reading this entry → -
Faster EPiServer sites – client side performance
Posted on October 9, 2011 in ASP.NET, EPiServerFirst part of a new series where I'm going to focus on performance and scaling. I'm going to go through all the best practices we as EPiServer developers should know about, not only to create EPiServer sites that are fast, but ultra-fast. I'm going to use the Overlook hotel sample site. The goal is of course to make it ultra-fast! To follow along you should have the overlook site installed and setup. Let's get started! Client side performance I'm using Firefox as my main developer browser, I'll also be using three great addons for Firefox: Firebug, YSlow, and Page Speed. If...
Continue reading this entry →
-
