Overview of the Magic Paths for Episerver Shell Menu Items

casper.rasmussen/ January 3, 2017/ Add-on, Episerver CMS/ 0 comments

Episerver relies on magic paths (via naming conventions) to enable developers to place custom plugin extensions in the out-of-the box Episerver Shell. Over time, most Episerver developers has decompiled Episerver’s code to recollect these conventions. For that reason, the intent with this post is to outline the common paths, which are useful in most scenarios. First off, if you aren’t familiar with

Read More

Extend Expandable Enums in Episerver Commerce

casper.rasmussen/ December 29, 2016/ Episerver Commerce, Uncategorized/ 0 comments

Episerver Commerce relies on expandable enumerations to create Business Foundation definitions of important entities – such as contact groups and credit card options. You may be thinking, what does that mean? From a helicopter perspective, it’s needed because Episerver, by default, ships with a definition of entities. Let me provide an example. Contact groups, which out-of-the-box maps to Customer, Partner and Distributor, are defined via

Read More

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