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 Жыл бұрын
You are very good teacher.
@DhirenPathak Жыл бұрын
Sir, You are Good Teacher , Can you please More Videos on MAUI Blazor - (Sqlite and Also WEB API) ???
@harrisonwell171911 ай бұрын
How to add authentication and authorization in the web api
@lorenzmichels97402 жыл бұрын
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.
@CodingJackpot2 жыл бұрын
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
@lorenzmichels97402 жыл бұрын
@@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?
@lorenzmichels97402 жыл бұрын
Solved: Despite Re-scaffolding, there still was an entity.Property for the Id-field --> entity.Property(e => e.Id).ValueGeneratedNever();
@netrunner19872 жыл бұрын
Is there a github for this? I got lost at 22:07.
@CodingJackpot2 жыл бұрын
www.buymeacoffee.com/codingjackpot/e/77866
@netrunner19872 жыл бұрын
@@CodingJackpot ty
@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.