Implementing Azure B2C authentication for multiple TLD websites
A client of ours asked us a while back to implement Azure B2C authentication for their Episerver implementation. The client is running 15+ websites, each on their own TLD for global presence. They are running their website all over the world, from The Netherlands, Germany, Brazil to China. Note, the websites are not running on a separate subdomain, which is implemented out-of-the-box (and allowed) using Azure B2C. In this blog I will describe the hurdles we had to take to get Azure B2C working on multiple TLD websites.
Serving the context
I some times like to give a deeper dive into general practices. Today is one of those days. Context and settings are somethings you have to deal with in every project. We are using default patterns for this. The beauty of Episerver is that you are not stick to weird hacks, you just can implement things as you are used to do (in "normal" .net). The context / state of an app is in our situation usually handled in the IAppContext. A wrapper (and single point of implementation) for all context related things.
QA - Block rendering practices
A collegeau CMS developer asked me a maybe general but very important question the other day. Q; 'When creating blocks, do you tend to put 'structure' markup in block views?' My answer is it depends!