Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

CRUD operations using single HTML file in .net core application

$
0
0

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?

Thanks

Jo


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>