.NET 8 Web API & Entity Framework 🚀 Full CRUD Course (with Code-First Migrations & SQL Server)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

ความคิดเห็น • 142

  • @christopherjimenez7315
    @christopherjimenez7315 3 หลายเดือนก่อน +5

    Thank you so much! I struggled for 2 days finding full complete tutorials on creating a full CRUD web API and your tutorial helped so much. Learned about the syntax and what tools to use!

  • @bernardodomeneghetti9673
    @bernardodomeneghetti9673 5 หลายเดือนก่อน +2

    You reached a level of trust for me that, i like the video before i start watching it, and at the end i think with my self, "yes, i knew it".
    Congrats for your content, and hugs from Brazil to you, honestly, your channel is the most recommended by me for my friends! Even those who doesn't speak english hahahahaha

    • @PatrickGod
      @PatrickGod  5 หลายเดือนก่อน

      Wow, thank you so much! Really appreciate that!😊

  • @saifsaif8580
    @saifsaif8580 8 หลายเดือนก่อน +5

    since morning i stucked with some errors/exceptions after coming here i got the solution
    thank you so much for a great course

  • @eduard.mkrtchyan
    @eduard.mkrtchyan 3 หลายเดือนก่อน +2

    It's just amazing course for beginners. Good job!

    • @PatrickGod
      @PatrickGod  3 หลายเดือนก่อน +1

      Thank you! Appreciate it. 😊

  • @КениМаккормик-ч5ц
    @КениМаккормик-ч5ц 6 หลายเดือนก่อน +1

    Thank you very much for the video tutorial, it became much clearer. It’s a pity that they didn’t use DTO as an example and didn’t break it down into services. I'm waiting for new videos

  • @ВладимирСтруков-о7л
    @ВладимирСтруков-о7л 21 วันที่ผ่านมา +1

    You're best teacher bro.

    • @PatrickGod
      @PatrickGod  16 วันที่ผ่านมา

      Wow, thank you so much!

  • @nelsonrivers8546
    @nelsonrivers8546 9 หลายเดือนก่อน +8

    Thank you. Be great if you could do the Database-First implementation whenever you show the Code-First implementation.

    • @ebarednaxela
      @ebarednaxela 3 หลายเดือนก่อน

      I think it's related but not necessary. Database-First is used on existing database model to convert it to classes, useful when migrating application, e.g. .Net 7 apps to .Net 8

  • @dariosarti2791
    @dariosarti2791 7 ชั่วโมงที่ผ่านมา

    Do you have any video describing all the architectural components of a full fledged blazor application (code-first preferably) like: Service, Controller, Context, Model, Database, Fronteend framework. Also with explanation on how do they work together from the higher view and when do we use each of them?

  • @scubaaddict
    @scubaaddict 6 หลายเดือนก่อน +2

    Will Be great to see an example using CRUD and modal popup dialogs

  • @pw.70
    @pw.70 หลายเดือนก่อน

    Excellent info, Patrick. Thank-you. Just to add - it may be a good idea not to use the "api/[controller]" naming convention as this may result in breaking changes when releasing updates; it's almost always safer to use a fixed route name.

  • @greghanson7047
    @greghanson7047 8 หลายเดือนก่อน +5

    Absolutely spectacular tutorial. Thank you.

    • @PatrickGod
      @PatrickGod  8 หลายเดือนก่อน

      You're very welcome! Thank you!

  • @facekidEN
    @facekidEN 15 วันที่ผ่านมา +1

    Thank you so much for this very helpfull video !!

    • @PatrickGod
      @PatrickGod  15 วันที่ผ่านมา

      You're so welcome! 😊

  • @michaelrafales2782
    @michaelrafales2782 3 หลายเดือนก่อน

    Fantastic lesson. You are helping understand this so well!! Thank you so much!

  • @tapewormerbinkosti3141
    @tapewormerbinkosti3141 7 หลายเดือนก่อน

    6:19 Well yeah, REST is very well standardized. Great tutorial!

  • @enigma2886
    @enigma2886 6 หลายเดือนก่อน +1

    This is such an onpoint video. Amazing work !

  • @2pro735
    @2pro735 10 หลายเดือนก่อน +10

    Hello
    Thank you very much for your videos.
    If possible a tutorial on.
    Custom authentication from scratch.
    Use of Tokens & Cookies.
    and put Claims authentication on the server and client side.
    Thank you very much.

  • @AzimyPc
    @AzimyPc 2 หลายเดือนก่อน

    Danke Für das toll Unterricht

  • @hashemirafsan7982
    @hashemirafsan7982 หลายเดือนก่อน

    I really appreciate your effort. As a beginner of .NET i learned lot of things from this video. I have one question about PUT request. Why don't you put ID on the route? is it .NET approach or anything?

  • @estivendejesuspadillasantos
    @estivendejesuspadillasantos 7 หลายเดือนก่อน

    I loved how you guess my thoughts in the minute 40:30 about the "List"😆

  • @Glockodile
    @Glockodile 10 หลายเดือนก่อน +6

    Hey Patrick great video, I know most of the stuff you do on Blazor is WebAssembly, is it possible you could do a video on how to add single account identity to a project that you configured without it at project creation, and you already have a database with a connection string?
    Thanks,
    Jordan

  • @lucasfernandes1657
    @lucasfernandes1657 4 หลายเดือนก่อน +1

    Amazing, thank u sooooo

  • @greyabeing443
    @greyabeing443 10 หลายเดือนก่อน +13

    can you create a playlist with all .NET 8 videos

    • @PatrickGod
      @PatrickGod  10 หลายเดือนก่อน +8

      Here it is: th-cam.com/play/PLF1jhYUTnHo4xzSbrznUEAsIl7upw3X7K.html Enjoy! ❤

  • @abraaovinicius7671
    @abraaovinicius7671 6 หลายเดือนก่อน +1

    Man this is insane, thanks, so much thanks i love you.

    • @PatrickGod
      @PatrickGod  6 หลายเดือนก่อน

      Glad I could help😊

  • @terencejoubert1320
    @terencejoubert1320 6 วันที่ผ่านมา

    Thanks for the great video Patrick. For Create/POST endpoint, you mentioned that the best way to do it is through a DTO that we then map to a new instance of the entity class. But you do not show an example of how this mapping would work.
    As a .NET API developer building real-life APIs everyday, I spend a lot of time creating DTO classes and writing code to manually map DTOs and EF entities. I am looking for the best solution for this. Do you have a video which shows the best way to do it? Or maybe you know of a tool that I can use to save time doing this boring stuff.

  • @97DanielxD
    @97DanielxD 2 หลายเดือนก่อน

    Very good video! Thank you for your help and time!

  • @wissamfawzy6543
    @wissamfawzy6543 หลายเดือนก่อน

    Nice work

  • @andelsonnicolaslopezysabel2501
    @andelsonnicolaslopezysabel2501 8 หลายเดือนก่อน

    Thanks for the tutorial man, it was absolutely helpful appreciate it.

  • @darenbaker4569
    @darenbaker4569 5 หลายเดือนก่อน

    Thanks for explaining the .http file deleted without knowing what was for lol. But swagger and postman are still the winners.

  • @limaelton
    @limaelton 3 หลายเดือนก่อน

    This video is amazing, thank you so much!!!!

  • @misaghn8027
    @misaghn8027 10 หลายเดือนก่อน +1

    Thanks for this video Patrick.

    • @PatrickGod
      @PatrickGod  10 หลายเดือนก่อน +1

      My pleasure!😊

  • @joonat5720
    @joonat5720 7 หลายเดือนก่อน +1

    Clear and beautiful as usual. Thank you for sharing! I might ask my boss to pay me for the academy, but I don't know if they will agree :D

    • @PatrickGod
      @PatrickGod  7 หลายเดือนก่อน +1

      Please do! 😜

  • @User.2024.1
    @User.2024.1 6 หลายเดือนก่อน +1

    How EF Core [8] is different from .Net [8] ?
    Maybe explain in another video the difference and purpose of each.
    Thanks.

  • @user-co9ne8gi2d
    @user-co9ne8gi2d 10 หลายเดือนก่อน +2

    It would be a God-send (see what I did?) if you could do a video on implementing Single Sign-On / multiple apps sharing authentication in Blazor. I'm struggling with this right now and it seems a lot of other people are too.

  • @farahhashim7441
    @farahhashim7441 4 หลายเดือนก่อน +1

    you are GREAT

    • @PatrickGod
      @PatrickGod  4 หลายเดือนก่อน +1

      YOU are great! 😊

    • @farahhashim7441
      @farahhashim7441 4 หลายเดือนก่อน +1

      @@PatrickGod
      Sir Plz Can you Create an ERP system 🙂

  • @FSML
    @FSML 7 หลายเดือนก่อน

    Thanks for the tutorial., it was absolutely helpful. I appreciate it

  • @SinhaFps
    @SinhaFps 4 หลายเดือนก่อน

    Thank you so much for making this video!

  • @preciousmutungi9614
    @preciousmutungi9614 3 หลายเดือนก่อน

    absolutely amazing content

  • @rezakhakpour7549
    @rezakhakpour7549 6 หลายเดือนก่อน

    thanks man
    refreshed my knowledge

  • @aamirrashid5255
    @aamirrashid5255 10 หลายเดือนก่อน +1

    Hi Patrick, would appreciate if you make a video on Blazor server and controller API in one project using dapper generic functions.

  • @danbenton-smith7723
    @danbenton-smith7723 2 หลายเดือนก่อน

    Very good video! Thanks!

  • @Fred_Edx
    @Fred_Edx 9 หลายเดือนก่อน

    This is a great guide for learning.

  • @cemyurtdas8324
    @cemyurtdas8324 9 หลายเดือนก่อน

    This video saved me tooo much. Thank you

  • @doogiehowser1124
    @doogiehowser1124 3 หลายเดือนก่อน

    Great Video! you said that you wouldn't inject the DataContext in the controller, but instead inject the "Service" into the constructor of the controller?
    For SQLServer, i'm guessing you would inject the db service in the program.cs file as a AddScope injection?
    and then use it to access the db in all your controllers?

    • @ebarednaxela
      @ebarednaxela 3 หลายเดือนก่อน

      It's a great practice to handle DataContext using Interface/Service rather than declaring it in the controllers so when the DataContext changes, you only make changes to the construct of the Interface/Service (meaning you only change it in a single location, instead of modifying all the controllers that is using the same context).

  • @presb4me96
    @presb4me96 หลายเดือนก่อน

    Great Video!

  • @mirkoargamasilla1747
    @mirkoargamasilla1747 3 หลายเดือนก่อน +1

    Thanks!

    • @PatrickGod
      @PatrickGod  3 หลายเดือนก่อน

      Thank YOU! Very kind of you! ❤️

  • @imadayoub5237
    @imadayoub5237 3 หลายเดือนก่อน

    Great video. Thanks a lot.

  • @joshuarudin1391
    @joshuarudin1391 7 หลายเดือนก่อน

    Great tutorial BUT the add row flow doesn’t work if the table has a primary key that’s auto-increment for unique ID. How would you alter the code to support an auto-increment primary key?

  • @DavidPHH
    @DavidPHH 8 หลายเดือนก่อน +1

    Would you have any link to an example of the "proper" way you mentioned to do the controller please? Instead of the "fat controller". I'm new to .NET and don't know how to google what you said.

    • @kylejsarte
      @kylejsarte 8 หลายเดือนก่อน +1

      Hi David. The term you're looking for is "Repository Pattern". You'll find relevant documentation if you Google "Repository Pattern" and "Entity Framework" together.

  • @rodrigovera8253
    @rodrigovera8253 7 หลายเดือนก่อน +1

    excelent. Great tutorial

  • @ednilsonaraujo3059
    @ednilsonaraujo3059 5 หลายเดือนก่อน

    Thank uou guy, for this fantastic video.

  • @rajvaghela8582
    @rajvaghela8582 หลายเดือนก่อน

    Hello brother
    Which visual studio theme are you using? In this video

  • @carlos_garcia_
    @carlos_garcia_ 8 หลายเดือนก่อน

    When update why not return the Hero that is being updated instead of full list of heroes. How can I do it? Great Video to learn the CRUD operations .NET 8 tahnk you!!

  • @washingtonbotelho8865
    @washingtonbotelho8865 8 หลายเดือนก่อน

    Amazing video, it helps a lot

  • @mattbrave8040
    @mattbrave8040 7 หลายเดือนก่อน

    min 34:20 he just say " Pay attention here" *PAM, ADVERTISMENT* such a humor sense xDD

  • @mds6941
    @mds6941 3 หลายเดือนก่อน +1

    what previous knowledge or skills should i have to watch this course I am new and I just finished a c# fundamentals course
    please reply😊

    • @ebarednaxela
      @ebarednaxela 3 หลายเดือนก่อน

      I suggest you check the title and search for those topics: .NET 8, Web API, Entity Framework, Code-First Migrations & SQL Server

  • @DJKav
    @DJKav 8 หลายเดือนก่อน +1

    I'd love to see a MySQL server version of these types of video.
    Not all of us, here in the UK can get decent .Net hosting with more than one MS SQL DB, while having pretty much unlimited MySQL DBs on the same hosting as he single MS SQL DB.

    • @xanderperlee1448
      @xanderperlee1448 8 หลายเดือนก่อน

      did you @PixelProfessor already get it working with Mysql because im stuck trying?

    • @DJKav
      @DJKav 8 หลายเดือนก่อน

      @@xanderperlee1448 Not yet I'm still beavering away.
      I'm using the nuget packages (latest 8 versions, or pre-release);
      Microsoft.EntityFrameworkCore
      MySql.Connector
      Pomelo.EntityFrameworkCore.MySql
      I did get to a stage where the EF migrations set up the DB tables on MySQL.
      I might go back to a new Blazor Web API project, and start following the tutorial again. Trying to implement the MySQL stuff.

  • @azraiqbal187
    @azraiqbal187 9 หลายเดือนก่อน +1

    Which machine are you using for the development and video production?

  • @mikaelribeiro1114
    @mikaelribeiro1114 3 หลายเดือนก่อน

    awesome content

  • @Jalaveyan
    @Jalaveyan 6 หลายเดือนก่อน

    Thanks bro!

  • @mejiavaldez
    @mejiavaldez 4 หลายเดือนก่อน

    Thanks a lot!

  • @christiansandoval7465
    @christiansandoval7465 7 หลายเดือนก่อน

    Youre the best!

  • @hoseinmaghoul8876
    @hoseinmaghoul8876 6 หลายเดือนก่อน

    thx for this cool course

  • @marcossequeira5433
    @marcossequeira5433 8 หลายเดือนก่อน

    47:00 i think that you are not using the improved that EF 8 includes like Bulk Updates

  • @hamidkadkhoda6966
    @hamidkadkhoda6966 10 หลายเดือนก่อน

    i preciated for your works

  • @michaelday6987
    @michaelday6987 หลายเดือนก่อน

    Does anyone know if there is a direct Blazor companion to this video?

  • @H3artFang
    @H3artFang 4 หลายเดือนก่อน

    what is a reposiitory? a code repositiory? or somethnig dfiferent? also could youu show how to implement a service and a repository? can't fiind any info really onlinie, just argumments by people

    • @ryanalafountain
      @ryanalafountain 3 หลายเดือนก่อน

      A repository is a code pattern where your data access is abstracted to a class that attempts to mimic your data as an in memory list. It is popular in Domain Driven Design

  • @JuniorGodoes
    @JuniorGodoes 8 หลายเดือนก่อน

    Really good 👍🏻

  • @SynepticWatchChannel
    @SynepticWatchChannel 3 หลายเดือนก่อน

    thanks!

  • @pramodkumarw
    @pramodkumarw 3 หลายเดือนก่อน

    how migration will be happened in Staging and prod env

  • @dani118biseskracht
    @dani118biseskracht 6 หลายเดือนก่อน

    Hi thanks for this video.
    I have a question...
    I attach a breakpoint in my code but they never hit. Why? And how can ich fix it,

  • @SophieneMaroc
    @SophieneMaroc 4 หลายเดือนก่อน

    Do you know why I’ve really often the message : attempting to reconnect to the server ?

  • @MohamedsamiKhiari
    @MohamedsamiKhiari 6 หลายเดือนก่อน

    thank you

  • @nikolozinakopia4833
    @nikolozinakopia4833 6 หลายเดือนก่อน

    Which line of code here automatically increments the id? not in migration.

  • @renealbrechtsen9743
    @renealbrechtsen9743 7 หลายเดือนก่อน

    How do i connect to a mysql database ive made with docker ? What's the connection string ?

  • @jesunbicar5489
    @jesunbicar5489 5 หลายเดือนก่อน

    Quick question.. What is the main purpose for the migration?
    Will it be still needed if i create a database tables on SQL directly?
    Do you have any article regarding the migration
    Thanks..

    • @ebarednaxela
      @ebarednaxela 3 หลายเดือนก่อน

      Data migration's main purpose is to create the database structure using the entities (tables) you have created, and apply all the changes to your database every time when you made changes to your entities.
      Meaning when the entities change (you added a new entity, you changed a column name in an existing entity, or you changed the column type), data migration will see these changes and will create a migration script (when you use the add-migration command) that will match the changes when you use the update-database command.
      Data migration keeps track on the changes you make on your code, and matches the structure of your database. As your app grows, your tables grows, and you don't need to manage it thru your SSMS (which is a great headache later on in production).

  • @LevaniKakhidze-h3f
    @LevaniKakhidze-h3f 6 หลายเดือนก่อน

    Hi Patrick, do you have theoretical written study material in your .net paid course?
    I'm interested because I don't know English well and I can't understand your speech well

  • @netrunner1987
    @netrunner1987 10 หลายเดือนก่อน +1

    At time 46:49, what keystrokes did you use to multi rename hero to updateHero? Ah.. control r twice , I never used that .. very cool.

    • @PatrickGod
      @PatrickGod  10 หลายเดือนก่อน

      Ctrl+R+R - Enjoy! 😄

    • @netrunner1987
      @netrunner1987 10 หลายเดือนก่อน

      @@PatrickGodnanu nanu

  • @MattiaCannariato
    @MattiaCannariato 3 หลายเดือนก่อน

    ti amo grazie a te posso adottare coccioli yeahh

  • @vatokalandadze6184
    @vatokalandadze6184 9 หลายเดือนก่อน

    hello patrick i have a question if i know how to make Web API does it count as backend developer? i mean does that means that i am a backend? (Also nice video and good luck

  • @saifsaif8580
    @saifsaif8580 6 หลายเดือนก่อน

    can you make a video .NET 8 web API connecting with oracle SQL Developer?

  • @MrChuperk
    @MrChuperk 6 หลายเดือนก่อน

    what server do you connect to in sql server studio?

  • @eudeamonism
    @eudeamonism 8 หลายเดือนก่อน

    I went to the Academy link, but it didn't show any courses available. :(

  • @MahmoudBakry
    @MahmoudBakry 3 หลายเดือนก่อน

    I need exmble with ado and combobox

  • @ShyamYadav-yh9de
    @ShyamYadav-yh9de 5 หลายเดือนก่อน

    Make a of Angular 17 and . net 8

  • @souravsingha3340
    @souravsingha3340 10 หลายเดือนก่อน

    Please make video about graphql... With authorization

  • @tejastank2003
    @tejastank2003 7 หลายเดือนก่อน

    can you provide command used to create project in vs code

  • @MuhammadNadeem11001
    @MuhammadNadeem11001 8 หลายเดือนก่อน +1

    great

  • @YuuName-g5y
    @YuuName-g5y 9 หลายเดือนก่อน

    2:09
    my visual studio show .net 8 preview only
    how can i add .net8 lts version?

  • @idwerke1885
    @idwerke1885 9 หลายเดือนก่อน

    is there any sample if using existing DB with .NET 8

  • @mirishyne
    @mirishyne 2 หลายเดือนก่อน

    you are, in fact, the goat🥹

  • @smitsoni-o6j
    @smitsoni-o6j 9 หลายเดือนก่อน

    Hey , i saw error while scaffolding DbContext using CLI , it is possible to do it in .net 8 ?

  • @adilaitdaoud6015
    @adilaitdaoud6015 9 หลายเดือนก่อน

    keep going

  • @amberyaqub6797
    @amberyaqub6797 หลายเดือนก่อน

    why havent you touched upon how to use/call these api in a project

  • @csElvisale
    @csElvisale 9 หลายเดือนก่อน

    De los mejores

  • @omaralnayme8004
    @omaralnayme8004 9 หลายเดือนก่อน

    Great video. Can you Please do one video that deals with the existing database? That is we do not need to create it from VS2022.

  • @dariobarnes3059
    @dariobarnes3059 9 หลายเดือนก่อน

    Hi Patrick, great turorial, thanks! However... when this is published to a folder for local IIS it returns a 500 error :/ any idea why? I've scoured the internet and there doesn't appear to be a solution.

    • @2pro735
      @2pro735 9 หลายเดือนก่อน

      By sending more explanations, we can solve this error, but I'm sorry. be solved like this
      in the file
      appsettings.json
      instead of local IP
      Replace the domain address

  • @Onlooker414
    @Onlooker414 หลายเดือนก่อน

    Has anybody tried to mirror this code in VS2022?

  • @xavierdunifon8413
    @xavierdunifon8413 6 หลายเดือนก่อน

    14:15 anyone else hear this in Matt Berry's "new york citaayy" voice

  • @unskeptable
    @unskeptable 9 หลายเดือนก่อน

    I like i subscribe

  • @SureshMathpal-r2x
    @SureshMathpal-r2x 5 หลายเดือนก่อน

    Hi Your teaching way is too good
    But I thought you would tell new thing in .net 8.0 but it just normal video 😟😟