Adding User Controls that uses MVC inside Siteinifty - On Premise – Configurations & Setup - On Premise – Configurations & Setup - Progress Community
 On Premise – Configurations & Setup

Adding User Controls that uses MVC inside Siteinifty

  • Adding User Controls that uses MVC inside Siteinifty
  • Hi,

    I'm trying to display user control that build using ASP.net MVC inside Sitefinity 4.0 but i always got this error,

    _appstart.cshtml" does not exist.
    Parameter name: virtualPath


    basically this happen once i added the following namespaces to the web.config

    <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>


    So is there any steps i should to to achieve this integration.

    Thanks,
    Peter Bahaa Youssef
    Technical Solution Architect (Integrant)
  • Hello Peter,

    Officially we do not support direct integration with Sitefinity and we have not tested this scenario. From the error it looks like that there is issue with the location of the initialization code you use.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items