Blogs posted in February 2015

PriceEvents v1.1 for EPiServer Commerce released

Feb 27, 2015  


As of EPiServer Commerce 8.15 Price events are now available in the core product. More information:

A new version of PriceEvents has been released with some minor ammendments.

What's new in v1.1

  • The PriceChanged event is now broadcast after the data has been saved to keep the semantics on the event name correct
  • A new PriceDeleting event is available to notify of any price deletions

Enabling events for price changes in EPiServer Commerce

Feb 23, 2015  


As of EPiServer Commerce 8.15 Price events are now available in the core product. More information:

EPiServer Commerce PricingWhen developing a EPiServer Commerce solution it may be necessary to listen for events that let us know pricing has changed. By default EPiServer Commerce does not broadcast an event when prices change so I wanted to put a solution together that allowed developers to subscribe to events in a similar way that we can for content events in EPiServer.

So what use does this have? I can think of a number of uses where listening to events on pricing may be useful:

  • Logging - Prices are sensitive and you can use price save events to log who changed the prices
  • Indexing - If you are using a tool such as EPiServer Find you may be indexing price information with your product data. The price events allow you to re-index individual items as soon as the price as changed
  • Integration - You may wish to kick off a process or send a message to an external system as soon a price changes

Claims helper block for EPiServer

Feb 18, 2015  

This post describes a simple claims helper block I put together. This block can come in useful if you are using federated authentication and would like to inspect all claims for the current user. 

I created this whilst developing the solution for implementing federated security in EPiServer using Auth0.

Allowing users to log in to the EPiServer UI with Auth0

Feb 16, 2015  

EPiServer Auth0In my previous post I described how its possible to implement federated security in EPiServer using Auth0. However the steps described on allow users to log into your site with Auth0. It's not possible to log into the EPiServer UI using the described steps. The post describes how to extend the implementation to allow users logging in via Auth0 to use the EPiServer UI.

This is due to the fact that when using federated security EPiServer respects the claim to check access rights. However many providers do not issue these claims so we need an Auth0 rule to create some roles then do a little work in EPiServer to map them into claims.

Implementing federated security in EPiServer using Auth0

Feb 16, 2015  

Auth0 logo, copyright Auth0This post describes how to allow federated security in EPiServer using Auth0. Auth0 is an identity broker that's extensible, enterprise class and reduces the friction between identity infrastructure and developers. I'm not affiliated with Auth0 in any way so this post is written from my own (admittedly very good) experience with Auth0. The post contains a number of step by step instructions and is intended to be an example on how to use Auth0 with EPiServer. The original demo was presented in November 2014 at the EPiServer UK customer and partner day.

EPiServer debugging tools

Feb 06, 2015  

DebugThis is a quick post about some useful debugging tools available when working on custom development within an EPiServer site. Per Bjurstrom has already blogged about EPiServer 7: Startup Performance. This revealed the URL "/<episerverUI>/Shell/Debug/ShowTimeMeters" which helps you look up how long your initialisation modules take to load.