Category Archives: Episerver CMS

How to render an Episerver ContentReference via your WebApi

casper.rasmussen/ November 1, 2016/ Content Types and Properties, Episerver CMS/ 2 comments

ASP.NET MVC and the Razor Engine that is used to render Episerver content is, in combination, an excellent text and HTML template-rendering engine. Together, they make it easy to merge text, model data, and code to produce HTML output. Merging these three parts, through a WebApi, may seem odd to some people.. but it can indeed be beneficial in some (rare)

Read More

Exclude Episerver Web APIs from Swagger

casper.rasmussen/ October 6, 2016/ Episerver CMS, Episerver Find/ 1 comments

Swagger, one of the worlds most popular ways to document exposed Web APIs, is a great asset to all projects that defines publicly exposed APIs. It unveils the endpoints that’s available for integration from external systems or client-side code. By default, Swashbuckle – Swagger uses ASP.NET Web API IApiExplorer to get a sense of all registered ApiControllers across your assemblies.

Read More

How to build middleware for next level authentication in Episerver

casper.rasmussen/ September 16, 2016/ Episerver CMS, Episerver Commerce/ 2 comments

Episerver continuously improves all aspects of our platform. One area that definitely – and unfortunately – lacks attention, for native support, is the authentication part, which out of the box relies on the old ASP.NET Membership framework. Let me be honest, I don’t like ASP.NET Membership. ASP.NET Identity and the OWIN specification, via Katana, is, in my humble opinion, the

Read More

Episerver Add-on: Streamline dummy images with generated placeholders

casper.rasmussen/ September 8, 2016/ Add-on/ 0 comments

Episerver provides editors and administrators with great digital asset management capabilities. It definitely serves the purpose.. especially if they are in possession of all the required assets at the time content and platform is built. Exactly that issue – a typical chicken egg situation – often proves to be problematic during development of CMS experiences. The issue is a twofold one: My

Read More

Restrict Content Types to specific site in Multi-site Setup

casper.rasmussen/ August 5, 2016/ Content Types and Properties, Uncategorized/ 2 comments

Episerver’s multi-site feature is a really powerful feature when dealing with enterprise solutions. It supports the need to create more than one site running on a single instance (code base). I have, quite recently, used this feature to create dedicated brand experiences and a loyalty program site for a unified Commerce experience. We are often facing the same issue when

Read More

Episerver Add-on: Get notifications when Scheduled Jobs fail

casper.rasmussen/ July 11, 2016/ Add-on, Episerver CMS/ 1 comments

Episerver’s new User Notification System is a powerful tool in the search of bridging the gap between a client’s CMS and Commerce platform – facilitating authoring and administering – and their existing collaboration and communication platforms. It is, by default, possible to extend the Episerver platform with customized notification managers for e.g. Slack and Yammer. It’s all really cool.. but it kind off assumes that

Read More

How to Intercept the download of a Media file

casper.rasmussen/ June 12, 2016/ Content Types and Properties, Episerver CMS/ 2 comments

Intercepting the download process of MediaData in Episerver can be helpful when e.g. tracking of downloads or lead generation features are requested by clients. Previously our Episerver teams has numerous times been requested to implement scenarios that ensures valuable visitor information are collected before a file-download is processed. I won’t cover the actual generation or download tracking, but I will

Read More

Episerver driven MVC Temp Data in Digital Experience Cloud

casper.rasmussen/ June 5, 2016/ Episerver CMS, Episerver Commerce, Uncategorized/ 2 comments

Our solutions are expected to work in a stateless environment where session affinity (sticky sessions) is disabled. ASP.NET MVC, which is the .NET web foundation of most Episerver projects, are considered stateless with a few exceptions. One of them is their persistence of temporary data across requests. Getting management of temporary data in a distributed setup is fairly simple. There are

Read More

Episerver Add-on: Simple way to ease localization

casper.rasmussen/ May 31, 2016/ Add-on, DOJO/ 2 comments

There is no doubt in the fact that Episerver is well suited for managing localization of content. Localization of the site copy – being e.g. global elements and labels – and site content – being block/page content – is, natively supported via a combination of language branches and xml-resource files. Many Episerver developers agrees that relying on static XML Resource

Read More

Optimized Language support in Episerver Commerce

casper.rasmussen/ May 22, 2016/ Content Types and Properties, Episerver Commerce/ 0 comments

Catalog authoring were with Episerver Commerce 7.5 aligned with the authoring experience known from Episerver CMS. It made the life of development and authoring easier and gave our clients a long list of benefits. There are still features that are not supported due to the underlying Commerce engine and the usage of Meta Data Plus. One of them is the

Read More