Sometimes you may consider using controllers for all blocks, instead of just having the view engine select the correct view. As far as I know the only real difference is performance. But how much will performance be affected if you choose to use controllers for all blocks? TL;DR: around 10% better performance without controller, according … Continue reading Performance when using controllers for blocks
Episerver CMS
Use PowerShell to set up an Episerver environment in Azure
Remember the time when setting up an Episerver environment took hours? I don't mean your local dev-environment, I mean a test or production environment with IIS and SQL server. Maybe you got access to one or two freshly installed Windows machines where you needed to install windows features, IIS addons, SQL server, et.c. And more … Continue reading Use PowerShell to set up an Episerver environment in Azure
A super simple geo-coordinates property for Episerver
This blog post shows how to extend Episerver with a property where editors can enter an address that will be converted to latitude/longitude. It's the latitude/longitude value that is saved. Suggestions for addresses/locations will be shown while typing. If you want to show a location on a map you need to know the coordinates for … Continue reading A super simple geo-coordinates property for Episerver
Episever CMS 10 exam tips
A few day ago I passed the Episerver CMS 10 certification exam. Here are some tips if you plan to do the same. Note that this is not a full list of the knowledge areas. This is just a list of the areas that (I'm pretty sure) are new to the CMS 10 exam: Episerver Forms. … Continue reading Episever CMS 10 exam tips
Episerver – How to know a block’s position in a content area
Sometimes you want to render a block differently depending on what position it has in a content area. Per Magne Skuseth presented a solution some years ago. Here's a couple of alternate ways of solving the same issue. Know the index of a block using a controller Add a tag (e.g. "IndexInContentArea") when rendering the content … Continue reading Episerver – How to know a block’s position in a content area
Mixed-mode OWIN authentication for Episerver editors
Since the beginning of time, or at least since I had my first Episerver experience (Episerver 4.62), it has been possible to use the Multiplex membership- and roleprovider. The multiplex-providers lets you use more than one membership- and roleprovider. A common scenario is to enable logins for both users that are saved in Episerver´s local SQL database, and … Continue reading Mixed-mode OWIN authentication for Episerver editors
Single sign on to Episerver with ADFS, using OWIN and WS-Federation
Recently I needed build a solution that made it possible for editors to log in to Episerver as both "local SQL users" and AD users, using ADFS. I didn't have much experience with ADFS, Federated security, Claims-based identity or OWIN. So, it was a steep learning curve for me. I wasn't able to google a solution, … Continue reading Single sign on to Episerver with ADFS, using OWIN and WS-Federation