Magnus Stråle
Feb 11, 2010
  5517
(0 votes)

Changes in the initialization system from EPiServer CMS 6 RC1

For some background you may want to take a look at http://world.episerver.com/Blogs/Magnus-Strale/Dates/2009/12/The-new-initialization-system---How-to-write-an-initialization-module-and-advanced-topics/ and especially the feedback which was entirely correct.

The presence of an IsInitialized property that should not be touched by the initialization module that you write is counter-intuitive. I also saw some internal confusion as to how the IsInitialized property should be handled and we have therefore decided to remove it and move the state handling into the initialization engine instead.

The blog post referred to above will be edited shortly to reflect the changes, which are:

  1. The IsInitialized property has been removed.
  2. There is an IsInitialized method on InitializationEngive that takes an IInitializableModule and returns true if that module has been properly initialized.

Note that this is a breaking change from EPiServer CMS 6 RC1! At the very least you will need to recompile your code if you have written your own initialization module. It is also highly recommended that you remove the IsInitialized property from your module implementation.

Feb 11, 2010

Comments

Please login to comment.
Latest blogs
Optimizely Forms: You cannot submit this form because an administrator has turned off data storage.

Do not let this error message scare you, the solution is quite simple!

Tomas Hensrud Gulla | Oct 4, 2024 | Syndicated blog

Add your own tools to the Optimizely CMS 12 admin menu

The menus in Optimizely CMS can be extended using a MenuProvider, and using the path parameter you decide what menu you want to add additional menu...

Tomas Hensrud Gulla | Oct 3, 2024 | Syndicated blog

Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024