.Net 6 Blazor Server CRUD with WebApi, EntityFramework,Database first Approach

  Рет қаралды 9,743

Coding Jackpot

Coding Jackpot

2 жыл бұрын

Source Code : www.buymeacoffee.com/codingja...
you will learn .net6 Blazor server create update delete operations using webapi with entityframework and database first approach

Пікірлер: 11
@muhammadawabahmed7363
@muhammadawabahmed7363 Жыл бұрын
You are very good teacher.
@DhirenPathak
@DhirenPathak Жыл бұрын
Sir, You are Good Teacher , Can you please More Videos on MAUI Blazor - (Sqlite and Also WEB API) ???
@harrisonwell1719
@harrisonwell1719 11 ай бұрын
How to add authentication and authorization in the web api
@lorenzmichels9740
@lorenzmichels9740 2 жыл бұрын
When I try adding a record, it is refused because It always tries to use Id=0. The Id-field in the database is set to identity (it wasn't during the scaffold). What am I doing wrong? When the table is empty or I manually change the Id value in the database, the record wil be added.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
make the Id column as primary key in the sql table and update the scafold and then try again it should work.. dont set the id column inside the code any where
@lorenzmichels9740
@lorenzmichels9740 2 жыл бұрын
@@CodingJackpot I have done your suggestions, but still it doesn't work. Is your code in an online repository so that I can compare where I've gone wrong?
@lorenzmichels9740
@lorenzmichels9740 2 жыл бұрын
Solved: Despite Re-scaffolding, there still was an entity.Property for the Id-field --> entity.Property(e => e.Id).ValueGeneratedNever();
@netrunner1987
@netrunner1987 2 жыл бұрын
Is there a github for this? I got lost at 22:07.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
www.buymeacoffee.com/codingjackpot/e/77866
@netrunner1987
@netrunner1987 2 жыл бұрын
@@CodingJackpot ty
@Iris-Vxm
@Iris-Vxm Жыл бұрын
when i try to add an element i get : System.Text.Json.JsonException: 'The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.' Inner Exception: JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
.Net 6 Blazor Server CRUD Without Web Api
22:49
Coding Jackpot
Рет қаралды 7 М.
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 36 МЛН
Gym belt !! 😂😂  @kauermotta
00:10
Tibo InShape
Рет қаралды 18 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 222 М.
.Net 6 Cascading DropDown List Blazor Server EF Databse First Approach
49:46
Blazor Tutorial | CRUD With Blazor, Step By Step | .NET 7
2:26:31
Julio Casal
Рет қаралды 54 М.
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 177 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,2 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,5 МЛН