✔️Solved: No DbContext was found in assembly 📕 Asp.Net Core 2.0 MVC

preview_player
Показать описание
Error text:
No DbContext was found in assembly 'ArtikelWeb'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic.
and
The entity type 'Products' requires a primary key to be defined.
Рекомендации по теме
Комментарии
Автор

THANK YOU! thank you! thank you! thank you! thank you soooo much!

simaghoreyshi
Автор

I don't have startup.cs, where should I put my connection string, I have global.asax and web.config and a folder called app_start where I have routeconfig.cs bundleconfig.cs filterconfig.cs?

bogdanbogdyy
Автор

I did everything but still getting the error

vhusani