.NET 7 Beginner Course 🚀 Web API, Entity Framework 7 & SQL Server

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 69

  • @user-tc2wf6wy7m
    @user-tc2wf6wy7m Год назад +25

    Patrick, you are the only person who could explain Web API, EF Core and more to me. At the start of my career, you did more for me than any paid course. And you are also a very nice person, your "Hello Welcome" in English in .Net 6 video will stay with me forever (my first video).
    I go to your channel, as if visiting a friend with whom we are talking in the attic while the children are sleeping :))
    You are the best of the best of the best :)

    • @PatrickGod
      @PatrickGod  Год назад +7

      Hey there!
      Your message totally made my day! 🥰 So glad my videos have helped you, especially at the start of your career. I love that you feel like you're visiting a friend when coming to my channel. Thanks for the amazing compliment, and let's keep learning together! 😊
      Catch you in the next video! 🎉
      Cheers,
      Patrick

  • @jordansali9435
    @jordansali9435 Год назад +12

    Thank God for you have been a blessing not only to me but also to the people who are new to Blazor. You have been an inspiration to many. May i request Sir Patrick of teaching us the Blazor hybrid with access to sql server. Thank you so much for having you as our inspiration. Pls. keep up your good work because its very uplifting, encouraging for many to continue blazor coding. Salamat kaau (Thank you so much).

  • @realcolormusic
    @realcolormusic Год назад +2

    This quality is the reason why I bought your Blazor course. I learned a lot with this video. Thank you very much.

    • @PatrickGod
      @PatrickGod  Год назад

      Thank you so much! Really appreciate it!

  • @yohanespradono5224
    @yohanespradono5224 Год назад +5

    wow thanks for this. really straight to the point where beginners need to know on building up a web api. even I ignored my udemy courses for this.

  • @dr_920
    @dr_920 10 месяцев назад +1

    Can't wait to share my experience with this course before finishing the EF. It is zero difficulties of following the tutorial. I also learned a lot from the API section. Thanks for the amazing course.

  • @user-bq3gr6mf9i
    @user-bq3gr6mf9i 4 месяца назад

    I think this video is fantastic! I've been wanting to learn .NET Core for a while, and this is the most suitable tutorial I've seen so far. It has been very helpful, and I really appreciate it. Thank you!

  • @codekhalipha7759
    @codekhalipha7759 Год назад +1

    Ctrl+D (multiple selection ) would save you a lot of time.
    Good tutorial 🤝

  • @mattmccredy3530
    @mattmccredy3530 11 месяцев назад +4

    Videos like this encourage me to continue challenging myself as I walk this career path. Your flow is inspiring! Subscribed immediately. Keep up the great work. 🙂

    • @PatrickGod
      @PatrickGod  11 месяцев назад

      Awesome! Thank you you so much! ❤

  • @brunoichbinfdp
    @brunoichbinfdp 9 месяцев назад +1

    Great lesson , I have just bought the course on udemy, I am looking forward to learning more and more from it.

  • @aikidoshi007
    @aikidoshi007 Год назад +4

    Hi there. The Course ends prematurely, half way through adding _context actions to the Service class

  • @Varkeyn
    @Varkeyn Год назад +5

    Waiting for full course with authorization with refresh tokens and angular! You are amazing! Thanks for your work!!!

  • @10Totti
    @10Totti Год назад +4

    I bought this course a while ago and it's great thank you!

  • @nelsonrivers8546
    @nelsonrivers8546 10 месяцев назад

    Thank you. As always your videos are much appreciated. Only issue was that cannot carry it through to production, because there is no security part that explains how to secure the web api with jwt token authentication. I don't want to sound like I don't appreciate it though. I'm thankful that instructors like you make the effort.

  • @blackscorpion4709
    @blackscorpion4709 Год назад +1

    First thank you for the course. A little hint to terminal/console push CTRL - L and cls is not necessary ;-)

    • @PatrickGod
      @PatrickGod  Год назад

      You live and learn! Thank you! 😊

  • @heshamabdo6024
    @heshamabdo6024 Год назад

    It is very kind of you to share all this information for free with us , Thank You

  • @PatrickGod
    @PatrickGod  Год назад +2

    🚀 Get 20% off the .NET Web Academy: www.dotnetwebacademy.com/bundles/net-web-academy?coupon=dnwa2024yt

  • @costandaniel6024
    @costandaniel6024 9 месяцев назад

    Really great tutorial, learned a lot, finally understood backend api development, u rock, Keep up the good work. Cheers 😸😼

  • @FernandoRuiz-ps2yq
    @FernandoRuiz-ps2yq Год назад +7

    Not very Beginner level. This assumes that you know some stuff. For instance, beginners will not know what is happening behind the scenes with automapper. you gave a description, but that is not enough. It will be best if you give an example or two about how it is manually done, then introduce automapper to assist with the manual work. You skipped other beginner explanations, such as builder.Services.AddAutoMapper(typeof(Program).Assembly). Why type of Program? and why Assembly. When describing something new, don't say, you do this and done. Explain why it is done. Always keep the WHY in mind when describing new concepts.

    • @PatrickGod
      @PatrickGod  Год назад +3

      Thanks a lot for your feedback. Appreciate that. I'll keep that in mind for future courses in tutorials. Cheers!

  • @ehsanafzal185
    @ehsanafzal185 Год назад +1

    finally complete the whole tutorial

  • @NgocDucDo
    @NgocDucDo 3 месяца назад

    Thank you very much for your videos.

  • @KevinDuganJr
    @KevinDuganJr Год назад +1

    Just started watching, but question. Why not just use Visual Studio? It's a lot easier to get up and running than adding plethora of extensions. Or am I wrong in that belief? Edit, this isn't a complaint or whine, curiously asking is all.

  • @MrLgbk
    @MrLgbk Год назад +2

    Amazing knowledge of tech and great teaching skills. Thanks

    • @PatrickGod
      @PatrickGod  Год назад +1

      So nice of you! Thank you so much!

  • @kritsana6170
    @kritsana6170 Год назад

    Thank you for Crash Course for beginner.

  • @miguelpayran9509
    @miguelpayran9509 Год назад +2

    Hi I would like see how you apply clean architecture instead MVC, You explain so good :3

    • @AhmedAymanM
      @AhmedAymanM Год назад

      They are completely parallel concepts, MVC is for project requests/responds, Clean is for project organization (files).

  • @DonRyu-kh7gr
    @DonRyu-kh7gr Год назад +2

    Where can I see the next lecuture?

  • @facubazzi
    @facubazzi Год назад

    this video saved my life

  • @de0o0
    @de0o0 10 месяцев назад

    I am wondering about that part: 1:28:32 . Why do you use select and then tolist methods, can't you just simply map whole list like _mapper.Map(characters); ?

  • @Weareisreal
    @Weareisreal 10 месяцев назад

    at 59:20 couldnt we have did that from the beginning? instead of deleting then adding in new code? it makes it hard to follow when using code then erasing it

  • @cubbucca
    @cubbucca Год назад +2

    A God Amoung Men

  • @dosamuel-mb
    @dosamuel-mb Год назад

    Thank you so much, can you make a video about clean architecture , please ?

  • @reikoleci4689
    @reikoleci4689 10 месяцев назад

    Perfect

  • @WorstDeveloper
    @WorstDeveloper Год назад

    Why do we install:
    dotnet add package AutoMapper.Extensions.Microsoft.DependencyInjection --version 12.0.0
    instead of:
    dotnet add package AutoMapper --version 12.0.0

  • @yonatangoldin
    @yonatangoldin Год назад

    hey, im having some issues changing the methods in the character service to suit the db.
    i want to buy the course (maybe theres more detail or better support there) but i cant get it at discount.
    i can make a new udemy account but id like to have all my courses in one, could you help with this?

  • @AthelstanEngland
    @AthelstanEngland Год назад

    Patrick could I ask what spec your development machine is. I realise I am running an old box i5-6400 CPU but it literally takes ten times as long on the build times compared to your demo.

  • @julioo534
    @julioo534 Год назад

    I have one question. In my area is very demanding tecnoligies like Angular, C# and .NET. what version of .NET should i learn? Thanks fors answer

  • @diamondchanelofficial2194
    @diamondchanelofficial2194 Год назад

    Hi. I saw your repo with a lot of updates such as JWT etc. that are not mentioned in this video. Can you, please, tell me if there are additional videos about this.

  • @pcdoctor4395
    @pcdoctor4395 Год назад

    Hi Patrick,
    Can You do a video where you do .NET, Web API, SQL Database and Entity Framework with N-Layer Architecture(BLL and DAL)?
    Kind regards

  • @skylycan007
    @skylycan007 Год назад

    Hi Patrick! Do you have a course of how to consume an external Rest API? i would love this video, a content where you need to provide username, password and token in order to post authentication and get the JWT in response... with this JWT then consume a service POST to show results in a table. I'm learning with your videos a lot! thank you su much!

  • @lucasferreira8229
    @lucasferreira8229 Год назад

    26:15
    At this moment, in line #16, where you wrote "Class", is that the name you declared?

  • @adelseaux
    @adelseaux Год назад

    hello, at 1:03:00 , I don't understand why this fix, if it returns null, this should mean "not existing caracter". And why saying "Character?", the ? (nullable) is just for types no ? Or if we want an exception why can use First and not FirstOrDefault. Thank you =)

    • @reikooters
      @reikooters Год назад +1

      In older versions of C#, ? (nullable) was only for value types. Nullable reference types is a new feature (enabled by default, introduced in I think .Net 5). When enabled, if you say the function returns "Character" then it means that you promise that your function's returned value will never be null. The caller using this function knows it's safe to use the returned value without first checking if it is null.
      Returning "Character?" informs the caller of this function that the returned value could possibly be null, so they need to check for null before using the result. The compiler doesn't actually enforce that you don't return null in this case, it just gives you warnings about when a null COULD be returned - as shown in the video, because FirstOrDefault() could return null. The null forgiving operator (adding ! at the end) tells the compiler that you as the programmer know exactly what's going on and you guarantee that it will actually never be null, which suppresses the warning.
      This feature helps you write safer code (by warning you about code that could produce null reference exceptions) and can be disabled by right clicking on your project > Edit project file, change "enable" to disable. However, in this specific example, you're right - using First instead of FirstOrDefault could've achieved the same outcome as it also would have thrown an exception if the record didn't exist.

  • @WorstDeveloper
    @WorstDeveloper Год назад

    2:16:55 - Noob question, but why do you have to map and convert to a list when you already have "ToListAsync()" on the line above?

    • @AhmedAymanM
      @AhmedAymanM Год назад

      Async method for using await so you don't have the warning that "it lacks await operator". Then the whole line to read from DB, and then map them with AutoMapper (line is useless if you don't have automapper and use direct classes).

  • @andrii.h258
    @andrii.h258 Год назад

    what's diff between this video and previous videos about web api?

  • @GabrielGoncalves-ez1iv
    @GabrielGoncalves-ez1iv Год назад +1

    Nice class!! I dont know why he was using VS code, but with ide as visual studio 2022 available, I think that vs code will give to much unecessary work for the developer, and even more for beginners.

  • @granitkuqi3338
    @granitkuqi3338 Год назад

    can you upload the full course in Pluralsight also?? plz

  • @WorstDeveloper
    @WorstDeveloper Год назад

    The "C# Esrensions" extension is no longer under development. Do you know of anther extension with similar functionality?

    • @alan-
      @alan- Год назад

      I installed the one by "JosKreativ" and it works well

  • @juliandavid333
    @juliandavid333 Год назад

    Hello, I followed all your example to the letter, but I have something strange when I try. "return context.Commerce.ToList();" I have an error "The ConnectionString property has not been initialized." I haven't been able to solve it, maybe you have an idea?

  • @l_y5398
    @l_y5398 Год назад

    how to connect to database? 2:14:27

  • @dantrrrrr
    @dantrrrrr Год назад

    hi sir , i already building api with nodejs, i want to learn this course . I just wanna ask that if i need to know c sharp basic first or what should i know to start this course .Thanks

    • @PatrickGod
      @PatrickGod  Год назад +2

      Hey there! Yes, knowing C# definitely helps here.

  • @AhmedAymanM
    @AhmedAymanM Год назад +1

    Is there any good discount ?

  • @abdulmussawir3132
    @abdulmussawir3132 Год назад

    Bro Can you tell me how to get only Name by ID ?

  • @gbmarshall
    @gbmarshall Год назад

    I have a large database with 190 tables... I've generated the entity framework model... how do I auto generate the web api from the entity framework model? I don't want to do it buy adding a controller for each table...

  • @crackrokmccaib
    @crackrokmccaib 10 месяцев назад

    Note to self: Start at 19:07

  • @AsakuraAvan
    @AsakuraAvan Год назад

    why use VS Code, it adds so much more work unnecessarily

  • @SurennBhandari
    @SurennBhandari Год назад +2

    First comment 😉

  • @user-tz9ov9lh8z
    @user-tz9ov9lh8z Год назад

    Too much restriction.... so confusing

  • @xoreeee
    @xoreeee Год назад

    I get : Severity Code Description Project File Line Suppression State
    Error CS0246 The type or namespace name 'ServiceResponse' could not be found (are you missing a using directive or an assembly reference?) dotnet-rpg C:\Users\Adrian\Documents\dotnet-rpg\Services\CharacterService\ICharacterService.cs 12 Active
    why ?