+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Upgrading Sitefinity v. 7.1 to be compliant with MVC 4 project

Upgrading Sitefinity v. 7.1 to be compliant with MVC 4 project

2 posts, 0 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    Registered:
    05 Feb 2005
    12 Sep 2014
    Link to this post

    I am trying to add MVC 4 features to my Sitefinity Web App (v. 7.1).

    In order to do that, I have had to do the following:

    1) Add references to EntityFramework

    2) Add references to System.Web.Optimization via NuGet

    3) Upgrade project to .NET v. 4.5

    4) Upgrade the Web.config and add appSettings elements such as UnobtrusiveValidation

    I then used Sitefinity Thunder to add an MVC Widget to the project.  I was able to compile my solution but as soon as I attempted to run the Sitefinity Administrative backend, everything was broken.  I could not access any of the Pages to create a new Content Page in order to add my MVC Widget.

    I regularly develop with ASP.NET MVC in standalone projects so I am not sure how to deploy all of the code that I normally develop into a standard MVC 4 or MVC 5 Sitefinity Widget.

    Please advise. 

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    06 Dec 2016
    17 Sep 2014
    Link to this post
    Hi Samir,

    You can find more information about using of MVC in Sitefinity is available in that article:

    Using ASP.NET MVC in Sitefinity

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered