Freshly updated add-ons for Episerver CMS 10

casper.rasmussen/ November 22, 2016/ Add-on/ 0 comments

Episerver’s recent release of Episerver CMS 10 requires ‘add-on contributors’ to revisits their code to mitigate potential breaking changes, which may have negatively impacted the released feature. To that note, I am happy to announce that all my add-ons now have been updated to support Episerver CMS 10. What’s new in the recently released versions? Nothing but Episerver compatibility has

Read More

Dealing with IPlugin exceptions in Episerver Commerce 10

casper.rasmussen/ November 16, 2016/ Episerver Commerce/ 0 comments

Very recently, Episerver released a new major version by introducing Episerver CMS 10 and Episerver Commerce 10. When major versions are released, we immediately start upgrading some of our sandbox platforms. While upgrading these platforms to Episerver Commerce 10, we stumped upon a interesting exception that I believe could confuse for some developers. Mediachase.Commerce.Customers.Plugins.AutoInstallMetaDataModule must be a valid class implenting

Read More

Let your WebApi understand the language context of your request

casper.rasmussen/ November 15, 2016/ Uncategorized/ 7 comments

Working with multi lingual formatting is fairly simple in Episerver CMS. It’s simply a matter of relying on a set of key implementations, such as ContentLanguage.PreferredCulture or CultureInfo.CurrentUICulture, when explicitly formatting an object or struct to it’s localized representation. One detail, which I’ve seen being left out by developers, is the fact that code executed in the context of an

Read More

How to render an Episerver ContentReference via your WebApi

casper.rasmussen/ November 1, 2016/ Content Types and Properties, Episerver CMS/ 0 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

Episerver meetup in New York City

casper.rasmussen/ October 20, 2016/ Uncategorized/ 0 comments

I am very happy to announce the first Episerver Meetup, at Valtech, in New York City. It will be hosted at Valtech’s amazing New York office, which is located in the vibrant Meatpacking District – more precisely at 416 W 13th St, Suite 309, New York, NY 10014. Episerver and Valtech will be presenting some new and exciting things, and

Read More

Exclude Episerver Web APIs from Swagger

casper.rasmussen/ October 6, 2016/ Episerver CMS, Episerver Find/ 0 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

Customize how Best Bets are applied to external content

casper.rasmussen/ September 30, 2016/ Episerver Find/ 0 comments

A Episerver Find search index can contain a combination of Episerver content – such as pages and blocks served via content providers -, external content – via connectors – and custom objects that’s pushed via custom indexing. Out of the box, Best Bets in Episerver Find nicely supports that a search administrator can promote a given Episerver page or a piece of

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