Views: | 34981 |
Number of votes: | 10 |
Average rating: |
We are pleased to announce that after thorough investigation we can now officially confirm that EPiServer CMS 6.0 supports running on ASP.NET 4 as a platform. It is also possible to work with EPiServer CMS projects in Visual Studio 2010, although there does not yet exist an integration package with it. The integration with Visual Studio 2010 is scheduled for the next release of EPiServer CMS.
ASP.NET 4 introduces a number of features that improve core ASP.NET services such as output caching and session-state storage. With ASP.NET 4, web forms controls now render clean, semantically correct, and CSS friendly HTML markup. In ASP.NET 4.0, there is a new concept of Generate From Usage - this generates properties, methods, classes, and other types based on existing code. Built-in URL routing functionality allows you to expose clean, search engine friendly, URLs and increase the traffic to your website. ViewState within applications is smaller and can now be more easily controlled.
In order to run EPiServer CMS 6 on ASP.NET 4.0 you will have to make certain changes to your configuration files.
The following steps will guide you through the procedure:
1: <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<Reference Include="System.ComponentModel.Composition" >
<HintPath><location of episerver bin> \System.ComponentModel.Composition.dll</HintPath>
</Reference>
Most of these changes will be made automatically if you upgrade your solution using the Visual Studio 2010 upgrade functionality – but you need to do them manually to upgrade a running production environment.
The following information was added to this article after further investigation regarding the compatibility of LiveMonitor with EPiServer CMS 6 and ASP.NET 4.
In order to ensure that an updated EPiServer CMS 6 site will be compatible with Live Monitor, please check the following:
<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />Related information
System requirements for EPiServer CMS 6.0
Wouldn't it be nice if this was included in new downloads of EPiServer? (Getting tired of doing this manually, and the NuGet package supposed to do this for me doesn't seem to work.)
Thank you for the information!
tag setting the . Default it is 3.5.
I addition to get my EPiServer CMS 6.1.379.0 running in a Net 4.0 environment I needed to manually change the
Now it works like a charm using VS2008 (but with .NET 4.0 features).
Thanks allan this worked for me.
the manual part with migrations + upgrades does prove to painful but 'auto' anything can go wrong too without u knowing what changed.
Suppose it lets u know the INS n Outs of episerver more n more.
I have installed BVN.404Handler version 2.2 on an CMS 6 project which runs on IIS 7 and .Net Framework v4.0. I get the same error when I start the project in VS2010
1) The export 'BVNetwork.FileNotFound.CustomRedirects.CustomRedirectInitialization (ContractName="EPiServer.Framework.IInitializableModule")' is not assignable to type 'EPiServer.Framework.IInitializableModule'.
Resulting in: Cannot set import 'EPiServer.Framework.Initialization.InitializationEngine.Modules (ContractName="EPiServer.Framework.IInitializableModule")' on part 'EPiServer.Framework.Initialization.InitializationEngine'.
Element: EPiServer.Framework.Initialization.InitializationEngine.Modules (ContractName="EPiServer.Framework.IInitializableModule") --> EPiServer.Framework.Initialization.InitializationEngine
I have done the workaround, in the step 6 it points to right "CMS's dll" for System.ComponentModel.Composition.dll. The dll which has been installed on my PC, has the product version 2009.22.10.0. I am not sure whether it is right DLL.
I appreciate any pointers.
This was just what I needed, thanks!