CRUD Operation with .Net Core, MVC, Code First and Visual Studio Code

preview_player
Показать описание
Its a basic CRUD operation application built with .Net Core framework using Code First approach for database and IDE with Visual Studio Code

Packages:
------------------
PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.0-preview3-35497"

DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.1.0-preview1-final"

For Scaffolding:
------------------------
dotnet aspnet-codegenerator controller -name EmployeeController -m Employee -dc EmployeeContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
Рекомендации по теме
Комментарии
Автор

Scaffolding isn't working here. I've add all the most recent packages. Could you help me? I Couldn't find the resolution anywhere.

Building project ...
[Trace]: Executing external command:
dotnet build --configuration Debug --framework net6.0

Scaffolding failed.
Add package to the project as a NuGet package reference.

but i have codegereration design at my project:

<PackageReference Version="6.0.8" />

brunomiguelgroth
Автор

How to use bootstrap?
Please make video

SachinYadav-qegb
Автор

Lol, in our class we've spent so much creating the crud by hand. And now after 4 days of working on my finals, there is a goddam command that does everything. Why did I not know this hahaha

dinguuuus
Автор

I have this erro HEELP to run comand dotnet ef migrations add initialScript
Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=5.0.0.0, Culture=neutral, Could not find or load a specific file. (0x80131621)

andersonmurdog
Автор

Unable to see anything clearly as the video is in very low resolution.

ecstasy
Автор

I didnot get startup.cs, can you tell me the error...?

nasinagoparna
Автор

hey man just wanted to know what are the extensions you are using? Please let me know it will be really helpful and by far enjoying your video
😃😃

debankurbhattacharjee
Автор

Hi man thank you for effort I am wondering If our model has related another model then will this work ?

capacitygame
Автор

man you should paste that connection string material in your feed also so that we can copy-paste It too.

nikhilvardhantawania
Автор

Can you please tell what extensions you are using for visual studio code.

ajaybharatkolla
Автор

please tell me more about the connection string

paulchristianalbia
Автор

but are you using net framework ?, when I create a mvc project it ask me for the net framework... I was looking for a net core tutorial

lusho
Автор

Scafolding was very useful. But i want to make a webapi. Will this work ?

kidsworldforfun
Автор

Where we have to use namespaces pls reply

srividhya