Initialization modules are Episerver equivalent of adding code in Application_Start within your Global.asax. Writing your own initialization modules allows you to trigger custom code on application startup. This section covers how to create an initialization modules as well as several code examples of useful modules you might want to consider integrating into your website.
I overheard a colleague complaining about how he had wasted his whole afternoon tediously trying to debug an issue we had in an InitializationModule. We had a standard MVC web project and he was hitting Debug in Visual Studio, firing up Cassini and [...]
Making the CMS as user friendly as possible is one of the main keys of delivering a successful project that the business and the content editors love. One big annoyance for content editors is not having your pages and block properties tabs sorted in [...]
Today's post is a quick one that may help save someone a few hours of head scratching. On a recent project, we had a requirement to update the Episerver site definition with the current hostname via code. I thought it would be a brilliant idea to d[...]
On every project, you'll need certain configuration code to run when your website is loaded for the first time. In EpiWorld, this is done by something called an InitializationModule. Before we delve into how initialization modules work, we should p[...]