CRUD operations using single HTML file RRS feed

  • Question

  • Hi

    I am trying to create a .net core application using entity framework. I would like to have all CRUD operations in a single HTML file. When I try to put it together, I am getting an error saying my model class is not IEnumerable. If I separate the Views and add the model class with IEnumerable tag, it works fine.

    Can you please guide me how to resolve this issue? Will it work, if I use web api for  getting data for display purpose and use jQuery/angular?



    • Moved by CoolDadTx Sunday, July 23, 2017 8:48 PM ASP.NET related
    Sunday, July 23, 2017 3:18 PM

All replies