Blog posts with tag: mvc


  • Mike Matthes

    ViewBag not defined

    I was getting this error when I added my first ViewRendering on a clean install of Sitecore 8: "The name 'ViewBag' does not exist in the current context"
  • Mike Matthes

    Sitecore 8.x MVC Version Conflicts

    Sitecore 8 (Sitecore 8.0 rev. ships with MVC version 5.1.0. If you create a new Visual Studio solution and download MVC from NuGet, you’ll have version 5.2.3 installed. Once you copy your dll into the Sitecore bin directory, you’ll get an error.