ASP.NET Core MVC 2022 - 3. Installing Entity Framework + DB Context

preview_player
Показать описание
ASP.NET Core MVC 2022 .NET 6 - Installing Entity Framework + DB Context

Рекомендации по теме
Комментарии
Автор

20:10 The "Thank you god" was hilarious hahaha. Db are easy to mess up

spencersedano
Автор

The easy at which you explain abstract concepts is amazing. I'm still learning the C# course. Hoping to start with this soon. Thank you for for sharing your knowledge

taibabdillahi
Автор

Teddy, you are going to land me a job. I can feel it!

matthewmadore
Автор

8:39 "Please don't do this to me" We have ALL been there. Thanks for providing great info and a daily laugh.

hennessyypapi
Автор

amazing content, learning alot today :D

ahmetyilmaz
Автор

Thank you, this video really helped me to complete my project.

primiey
Автор

Thank you sir, that video help me alot! ☺

tuanvi
Автор

Hi Teddy, I am not able to seed data using the command dotnet run seeddata on Powershell, is there any other way of doing the same?

MaheejaElpula
Автор

after seeding i got only clubs and 4 addresses, but there are no 2 left addresses and races at all. Help please

eizeed
Автор

I'm getting error in builder. Configuration. GetconnectionString with green underline 〰️

sabaricharanelango
Автор

hello how do you do? after dot run seeddata syntax how to fix dotnet run seeddata
Couldn't find a project to run. Ensure a project exists in C:\Users\Guba Dev\source\repos\WebAppcore, or pass the path to the project using --project.

rtcqtex
Автор

i unable to find the connection string

vanshikasingh
Автор

I can relate to "Thank you God"🙌🙌🙌🙌

tjunohambeka
Автор

Hey Teddy, I have the error shown in your vid 'The relationship from 'Club.AppUser' to 'AppUser' with foreign key properties {'AppUserId' : string} cannot target the primary key {'Id' : int} because it is not compatible. Configure a principal key or a set of foreign key properties with compatible types for this relationship.'

paulmccauley
Автор

Thanks for like usefull video but if you explain Seed data how is it working, ot will be good. Because most of think copy and paste did

elchinmirzayev
Автор

Hi, teddy thanks for everything. Seeddata has two fails unfortunately. How can I fix it ? fail :
fail:

furkanakbyk
Автор

Hi teddy can you please explain seed data ?

aythienutties
Автор

I'm working on vs not Microsoft Visual Studio and I couldn't open up SQL server object explorer on it thus couldn't find the connection string, is there any other way to get the data base connection string ?

bushraw
Автор

Hey, Teddy! At the dawn of my programming career I bread namespaces in one single project, continuesly typed Ctrl+. for addiing "using mynamespces" in almost every module of the project. At one point I ask myself a question: "Why?". Why do I have to have multiple namespaces in one project? I could not give to myself a resonable answer and since then I follow one simple style: one local project - one namespace no mattter how many folders and subfolders I have in it... Maybe it helps You too to get rid of all those bunch of useless namespaces...

MyAutist
Автор

I have problem with Update-database:
Error Number:2714, State:6, Class:16
There is already an object named 'Adresses' in the database

Failed executing DbCommand (333ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE [Adresses] (
[Id] int NOT NULL IDENTITY,
[Street] nvarchar(max) NOT NULL,
[City] nvarchar(max) NOT NULL,
[State] nvarchar(max) NOT NULL,
CONSTRAINT [PK_Adresses] PRIMARY KEY ([Id])
);

What can i do with it ?
Can I delete migration and try again ?

Marcin