Asp.Net Dynamic Entities Website in VS 2013 ُError: ASP.DefaultEntityTemplate RRS feed

  • Question

  • User1922541779 posted

    Hi  following Pluralsight course I created Asp.Net Dynamic Entities Website in VS 2013. I added the package Microsoft.Aspnet.DynamicData.EFProvider from NuGet. I am getting compile error: Could not load type 'ASP.DefaultEntityTemplate'. This error points to Default.ascx template page directive. 

    <%@ Control Language="C#" CodeBehind="Default.ascx.cs" 
        Inherits="ASP.DefaultEntityTemplate" %>

    and the code behind declaration is:

    namespace ASP {
        public partial class DefaultEntityTemplate :
            System.Web.DynamicData.EntityTemplateUserControl {
            private MetaColumn currentColumn;

    Thursday, July 4, 2019 1:13 PM

All replies

  • User475983607 posted

    My best guess is you named the Web Page the same as the Entity.  Otherwise, you are showing an ASPX page directive which has nothing to do with Dynamic Entities.

    Thursday, July 4, 2019 2:19 PM