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