November Happy Hour will be moved to Thursday December 5th.

Episerver 8.2 version and ASP.Net MVC 5 compatible?

Vote:
 

Hi, 

Can you please let me know if Episerver 8.2 version is compatible with ASP.Net MVC 5. We are in development phase and initially we have ASP.Net MVC 4 in our project. Everything worked fine. However, post ASP.Net MVC 5 upgrade, the edit mode content tree is not loading. It loads up empty all the time. However, admin mode works fine and the default home page loads up on the right hand side.

There are no javascript errors, no server errors in fiddler as well. I'm still digging in further, but just thought post the request to experts, in case if I'm missing anything.

Below is the web.config setting, in case if that is helpful:


      
        
        
        
        
        


      
    
#120079
Apr 09, 2015 23:16
Vote:
 

According to the the System requirements for EPiServer 7.5 CMS, MVC 5 is supported so I would be very surprised if 8.2 didn't support MVC 5.

/Marcus

#120081
Apr 09, 2015 23:24
Vote:
 

I have used it with MVC 5 and it worked fine and I have also added a feature request for the visual studio extension that it should use mvc5 instead of mvc4 and they are going to change that.

#120085
Apr 10, 2015 7:27
Vote:
 

It deffintly works with MVC5 make sure you have the corrent versions in your diffrent web.config files. Both the main file in the root but also for views. I have had the problem with visual studio not updating al the config-files when upgrading.

I would sugest you install a  new empty website and upgrade that one to MVC 5 then diff your config-files. When I get these kind of errors I always fallback to checking an defualt installation website. From time to time you can get strange error and ending up with the need for installing stuff on your computer that are missing. A default installation should work.

#120087
Edited, Apr 10, 2015 7:44
Vote:
 
<p>Eric did a great post on this&nbsp;</p> <p>http://world.episerver.com/blogs/Eric-Pettersson/Dates/2014/10/problem-with-web-config-after-upgrade-between-mvc-4-and-mvc-5-5-2-0-0-and-3-0-0-0-and-missing-intellisense-in-visual-studio/</p> <p></p> <p>and you could also look at this page to verify that you have changed all config files</p> <p>http://www.asp.net/mvc/overview/releases/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2</p>
#120092
Apr 10, 2015 8:20
Vote:
 
<p>Here it say officially that 8 supports MVC 5</p> <p>http://world.episerver.com/documentation/Items/System-Requirements/System-Requirements---EPiServer/</p>
#120191
Apr 13, 2015 14:14
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.