CRUD with Blazor in .NET 6 🔥 Full-Stack with a Web API, Entity Framework Core & SQL Server Express

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

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

  • @PatrickGod
    @PatrickGod  ปีที่แล้ว

    🚀 Join the .NET Web Academy with a 30% discount - closing soon!
    👉 www.dotnetwebacademy.com/courses/academy?coupon=dnwas23yt

  • @josbexerra8115
    @josbexerra8115 2 ปีที่แล้ว +2

    Gracias Mister Patrick, por compartir conocimiento..... saludos de los Andes Peruanos, se merece un coffee cappuccino

  • @enmingwang6332
    @enmingwang6332 2 ปีที่แล้ว +5

    One of the best tutorials! Thank you so much for your time and efforts for creating such a clear and succinct tutorial!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Thank you so much for your kind words! Glad you like the tutorial! 😊

  • @graynoble4795
    @graynoble4795 2 ปีที่แล้ว +1

    Yes on the validation question, thank you!!!!

  • @johandreswanepoel1229
    @johandreswanepoel1229 2 ปีที่แล้ว +1

    Thanks, came here only for the SQL setup and connection. very helpful

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Glad it helped! Thanks for your feedback!

  • @IvanAndreev91
    @IvanAndreev91 2 ปีที่แล้ว +4

    Great video, thank you! Best tutorial.
    Too bad I dealt with Blazor and EF before then. But I gained knowledge regarding the structuring of the application

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Glad I could help! Thanks a lot for your feedback, Ivan! 😊

  • @FourDollarBill
    @FourDollarBill 2 ปีที่แล้ว +5

    Great job! Thank you very much for your work, Patrick.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Glad I could help! Thanks a lot for your feedback! 😊

  • @victorescobar4369
    @victorescobar4369 ปีที่แล้ว

    Thank you for your time and willingness to share your knowledge.

  • @bailimohamedali1466
    @bailimohamedali1466 2 ปีที่แล้ว +1

    itwas a good tutorial, the best thing the fact that I did many mistakes I was able to understand more and try to solve those stupid mistakes by my self with reading code, really thanks I'm gonna move to the next one then build my first .net app
    Thanks a lot really !!!!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Glad you liked it! Thanks for your feedback! 😊

  • @giannisamanatidis3206
    @giannisamanatidis3206 ปีที่แล้ว

    I want to thank because you helped me solve a bug that I had for three weeks

  • @LukeAvedon
    @LukeAvedon 2 ปีที่แล้ว +1

    Your attic room looks sooooo cozy.

  • @nelsonrivers8546
    @nelsonrivers8546 2 ปีที่แล้ว +7

    Your Blazor E-Commerce video series course is very good. Thank you for that. Can you also show Database First approach. I have found that most companies already have databases in place, and I would like to see a Database First approach(instead of a Code First approach). Would like to see Scaffolding of an existing database.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +5

      Great suggestion! Thanks a lot for your feedback and for enrolling!
      You're so right about existing databases in organizations. Problem is, in my experience, these database lack proper foreign keys, a good design in general, and so on. This does make a db first approach harder. Still, let me think this through. 😊

    • @megamerchannel2060
      @megamerchannel2060 2 ปีที่แล้ว +1

      @@PatrickGod Would love to see database-first approach used also. In my particular case the relation between multiple tables and/or getting data from one table that references other tables (without really knowing what the content is of those).
      Current project I'm working only allows me to access one table in a db (no logical reasoning behind that demand, but need to roll with it).

    • @jeremaine
      @jeremaine 2 ปีที่แล้ว +1

      I second to that. In my previous companies, I never experience making an app thru code-first approach, it's always database first.....

    • @graynoble4795
      @graynoble4795 2 ปีที่แล้ว

      Second the second on DB first!!!!

    • @craigsunderland3849
      @craigsunderland3849 2 ปีที่แล้ว

      @@PatrickGod Would definitely like to see a database first approach on this :-)

  • @Picike85
    @Picike85 ปีที่แล้ว +2

    Okay so the answer for your question at 38:11 is that on your controller for the GET endpoint you didn't specify a route, therefore, it is understood as "/". The route is /api/superhero since it's in the SupoerHero Controller. If you would have specified [Route("superheroes")] you would have had to do a call to /api/superhero/superheroes. I do not have a clue why how you got a 200 for the call though :)

    • @TheSpudBear
      @TheSpudBear ปีที่แล้ว

      Isn't it because in the controller, in the GetSuperHeroes method, there's only "return OK(Heroes)"? I'm fairly new to this but it is my interpretation of why the 200 is shown.

  • @NweNi
    @NweNi 2 ปีที่แล้ว +1

    Thank you very much for your videos! I 'm always waiting for tutorial of DB first approach webapi. :)

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      You are very welcome! Thanks for your feedback. DB first is on my roadmap. 😉

  • @elsaan1968
    @elsaan1968 2 ปีที่แล้ว

    Great Job, learned a lot about Blazor and entity framework. Keep on going the good work. Thank you!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Thank you so much for your feedback! Means a lot! 😄

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

    Very good tutorial. Thank you much

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

    Very helpful! Thank you.

  • @luisgabrielmenaarnedo7854
    @luisgabrielmenaarnedo7854 ปีที่แล้ว +2

    If someone faces this error
    "A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La cadena de certificación fue emitida por una entidad en la que no se confía.)"
    you can solve it just by adding "Encrypt=False" in your ConnectionSting.

  • @juanfelipecanocorrea8520
    @juanfelipecanocorrea8520 2 ปีที่แล้ว +1

    excelente video, me parce que explica todo al detalle, lo bueno es que no importa que sea en inglés, con la opción de traducir, traduce muy bien

    • @dante85warrior41
      @dante85warrior41 ปีที่แล้ว

      algunas cosas no son claras despues de este video que seria bueno profundizar em imagino que fundamentos de c# o blazor directamente?

  • @tamashirotod
    @tamashirotod 2 ปีที่แล้ว

    Excellent Course!!!!! Thanks the time you dedicated to this.

  • @patrickguillen1194
    @patrickguillen1194 ปีที่แล้ว

    this help me alot, im doing this program i am learning so good.!

  • @ivanzrobok7148
    @ivanzrobok7148 2 ปีที่แล้ว +1

    Good video. Thanks for examples crud in .net

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      You are welcome! Thanks a lot for your feedback! 😊

  • @leslyvicana3456
    @leslyvicana3456 ปีที่แล้ว +1

    Really amazing. Thanks

  • @jordansali9435
    @jordansali9435 2 ปีที่แล้ว +2

    Thank you Sir Patrick for this valuable, useful and very practical tutorial. Sir, may I request on how to implement the CRUD using sql server? Thanks in advance.

  • @Bogdanjak00
    @Bogdanjak00 2 ปีที่แล้ว +3

    Thanks a lot, very good tutorial. But I have a question. Is it possible to prepare such a guide for .NET MAUI BLAZOR applications?

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +4

      Thank you very much, Bogdan! Sure, I've already got a .NET MAUI Blazor tutorial on my list. So, it's coming soon! 😊

    • @jesusnaun1981
      @jesusnaun1981 2 ปีที่แล้ว +1

      Maui blazor crud with entity framework will be fantastic

  • @JamesBundy-d2v
    @JamesBundy-d2v 10 หลายเดือนก่อน

    Hey Patrick! Great Video. It is teaching me so much. Quick question. In my SuperheroRazorpages file. My monster service is not lighting up the same color as yours in the for each loop and i can not show my data to the table. It appears to be injected correctly. Any Clue whats up?

  • @Artmageddon
    @Artmageddon 2 ปีที่แล้ว +3

    Loved this video, and am also making my way through the E-Commerce course! I appreciate you showing us how to debug errors that came up along the way. For future videos, could you potentially show how to write unit and integration tests against Blazor, where possible? I've done a little bit on against WebAPIs and databases, but I'd love to see even a short video on how that works. Thanks so much!!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +2

      Thank you so much for your feedback and for enrolling! I added unit tests to my roadmap. Let me think this through. 😊

  • @seokhyunyoun
    @seokhyunyoun 2 ปีที่แล้ว

    Great video. Thank you
    59:01

  • @nothingisreal6345
    @nothingisreal6345 2 ปีที่แล้ว

    Nice demo. The only issue for me is to put the NavigationManager into the service. That is UI logic (navigation) in the access service.

  • @BAS-64
    @BAS-64 2 ปีที่แล้ว +1

    Thank you !

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      You're welcome! Thanks for your feedback! 😊

  • @ygmv21
    @ygmv21 ปีที่แล้ว

    Thanks for this video really cool. I have not clear at all the logic route of api components(controller, interfase and service) can you make a little video explaining that working schema?

  • @macram4042
    @macram4042 2 ปีที่แล้ว +1

    Thanks Patrick., Can I request another tutorial with image saving(post, put) and display(get) together how to use the tableview. thank you

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Noted. Thanks for your feedback! 😊

  • @freireguilherme
    @freireguilherme ปีที่แล้ว

    ty vm for this amazing content. it help me a lot, maybe I get a new job from this

  • @franciscogilt
    @franciscogilt 2 ปีที่แล้ว +1

    Awesome tutorial. Your content and style are really engaging. Thank you.

  • @Robd515
    @Robd515 2 ปีที่แล้ว +1

    Hey Patrick, big fan, I'm always laughing at your funny comments and edits. I have an eye on that blazor* game course you have, it seems like a fun way to learn deeper functionality. I just have to finish my current Udemy course first.
    Keep up the good work, best regards.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Thank you very very much! Means a lot, really. 😊

  • @im.rakesh0827
    @im.rakesh0827 ปีที่แล้ว

    Hi, At first thanks for making such kind of good content.
    Actually i have a doubt in css isolation, how to isolate external css and how to apply css to a particular blazor component without affecting the other components, I will be very happy if you reply with some information and if possible try to make a video also for better understanding.

  • @ankitmishra2612
    @ankitmishra2612 2 ปีที่แล้ว +1

    Hi Patrick, big fan of your way of making the videos and explaining all the details....can you please make a video on CRUD operation in blazor server app in .net 6

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Thank you for your feedback, Ankit! Your request is noted! ☺

    • @ankitmishra2612
      @ankitmishra2612 2 ปีที่แล้ว +1

      @@PatrickGod actually I tried making a basic CRUD application, but faces issues during migration and database update, errors in the datamodel for null/not null values, and combination of startup.cs and program.cs

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      @@ankitmishra2612 Alright, let me see what I can do in a video. 🙂

  • @rabb1tf00t
    @rabb1tf00t 2 ปีที่แล้ว +1

    prefect tutorial for blazor thank you

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      You're very welcome! 😊

  • @BloodyClash
    @BloodyClash 2 ปีที่แล้ว

    needing the controller and two services for the functions...isn't that a bit overengineered by microsoft ? and won't it be much easier just to use a one to many relation in the dbcontext ?

  • @caterpierre1682
    @caterpierre1682 2 ปีที่แล้ว +1

    Love this! Great video, thank you!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Glad you enjoyed it! Thank you so much! 😊

    • @caterpierre1682
      @caterpierre1682 2 ปีที่แล้ว

      ​@@PatrickGod Is it any tutorial about Audit Trail (logger that save user activity/event and their IP address to database like login, logout, create/edit something)? if not, Please make one Patrick

  • @tjpn2073
    @tjpn2073 2 ปีที่แล้ว

    Great tutorial but I'm having challenges after I implement services what could be the solution it says failed to load resources

  • @michaelsteiner4548
    @michaelsteiner4548 2 ปีที่แล้ว +1

    Thanks!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      You're very welcome! 😊 And thank YOU so much! Really appreciate it! 😁

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

    Hi Patrick, How do I show the data from IList in a dropdown?

  • @brbtavares
    @brbtavares 2 ปีที่แล้ว

    Thank you God!

  • @KansasPilla
    @KansasPilla 2 ปีที่แล้ว +1

    Super Tutorial bro thank you so much

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Happy to help! Thanks a lot for your feedback!

  • @mentalstatement
    @mentalstatement 2 ปีที่แล้ว +1

    I got your courses on Udemy… keep up the good work.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Awesome! Thank you so much, Alex!☺

  • @luqui2000
    @luqui2000 ปีที่แล้ว

    I tried to follow this amazing tutorial on .NET 7 everything ok until I added the Entity Framework and DBContext, and suddenly My Blazor app stucks in Loading and nothing happens, Whata can I do? Regards

  • @goditto5694
    @goditto5694 ปีที่แล้ว

    why my vs2022 does not work completion of async syntax automatically in oninitializedasync and onparameterssetasync like you?

  • @darklen14
    @darklen14 2 ปีที่แล้ว +6

    One thing to add is if you opted to do Dbase first and created a table on your own, make sure you add Table and Column annotiations in your Models or you will get 500 server errors.

  • @MJZA93
    @MJZA93 ปีที่แล้ว

    I get stuck at 44:32 i can't access superhero dot anything.

  • @ideiax
    @ideiax 2 ปีที่แล้ว +1

    Excellent job! Thanks a lot for the video!
    I think the reason non-existing or existing services return 200 with error is that the view is responding (not the API)
    How do I remove the /api path from the view? For them not to respond as not found and for the api to respond to the /api path request

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Good point! Thanks for the info! 😊

  • @joepsales3376
    @joepsales3376 ปีที่แล้ว

    Amazing video as always. Keep it up!🔥

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

      Hi Joep! Is there an e-mail address where I can reach you?

  • @abdulnaserramadan37
    @abdulnaserramadan37 2 ปีที่แล้ว +1

    Amazing, Thank you

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      My pleasure! Thanks a lot for your feedback! Hey there! 😊

  • @dante85warrior41
    @dante85warrior41 ปีที่แล้ว

    one question why you put the variable so _http , i put this so http why dont choose so

  • @JohnSmith-mm9yr
    @JohnSmith-mm9yr 2 ปีที่แล้ว

    I was all about blazor but when I tried to use Identity I had trouble using the User to make relations to other tables of the database.

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

    How do you rerun the project when you download from github to be able to recreate the migrations?

  • @massiv0n
    @massiv0n 2 ปีที่แล้ว +2

    Dude, you are amazing! just a quick question: you are going always from SuperHeroService to Server Solution, but how we can solve a communication from server solution to superheroservice or UI? I mean, How I can solve the communication if there is a UDP Listener or a SQL Watchdog in the server solution that is causing an event that some value must be shown into the user interface?

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +2

      Thank you very much! 😊I think you should have a look into SignalR. This might help. And maybe I should make a video about that. 😉Take care!

    • @massiv0n
      @massiv0n 2 ปีที่แล้ว

      @@PatrickGod thanks a lot for your response... I coded with SignalR but I cannot imagine how to merge this two systems.... if you make a video of course I will check it. Thanks again!

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

      hi! Is there an e-mail address where I can reach you?

  • @dante85warrior41
    @dante85warrior41 ปีที่แล้ว

    estoy viendo tu curso tiempo que no uso .net luego de esto para perfeccionar conocimientos que me recomiendas seguir

  • @jameslombard5698
    @jameslombard5698 ปีที่แล้ว

    Using EF7, when updating database with PM> dotnet ef database update , and error:
    provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted
    Add the following to the connection string:
    ; Trust Server Certificate=True;

  • @zuzannanowak5411
    @zuzannanowak5411 ปีที่แล้ว

    For Mac-users, what do u recommended instead of SQL Server Express and SQL Server management studio?

  • @tonygorham
    @tonygorham 2 ปีที่แล้ว +1

    i notice you ruin without debugging quite often is that why the hot reload isnt working ?

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Should actually work without the debugging mode as well..

  • @Pedeninious
    @Pedeninious 2 ปีที่แล้ว

    Great videos. I am trying to get my head wrapped around all of this so I created a student class with multiple emails but I am stuck. Perhaps a video like your relationships video, but using regular ui components rather than just swagger ui.

  • @dmytrolisiev9916
    @dmytrolisiev9916 ปีที่แล้ว

    I like it. Thank you

  • @dagobertoSanchez
    @dagobertoSanchez ปีที่แล้ว

    Gracias amigo, me salieron unos errores con mi proyecto, pero ya los solucionaré

  • @mherman90
    @mherman90 2 ปีที่แล้ว

    where do i learn more about http implementations and how to use them / routes, and also fetching methods like firstOrdefault? if i wanted to deepdive more in your other courses? :)

  • @Neolisk
    @Neolisk 2 ปีที่แล้ว

    Careful with strings represented as varchar(max) in SQL.

  • @dante85warrior41
    @dante85warrior41 ปีที่แล้ว

    a mi no me carga los valores del edit sale error

  • @VongsiLoryongpao
    @VongsiLoryongpao 2 ปีที่แล้ว +1

    Appreciated

  • @michaelsteiner4548
    @michaelsteiner4548 2 ปีที่แล้ว +1

    Any plans to make a tutorial about webhooks with .Net 6.
    Would really be interested.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      Good idea! I'll add it to my roadmap. 😊

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

      hi! Is there an e-mail address where I can reach you?

  • @SFORSANDEEP
    @SFORSANDEEP 2 ปีที่แล้ว +1

    You are really son of God!

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Haha, thank you very much! 😊

  • @khoanguyen6584
    @khoanguyen6584 2 ปีที่แล้ว

    cảm ơn GOd nhìu lắm :> Love

  • @casastreetview9856
    @casastreetview9856 2 ปีที่แล้ว +1

    thank you very much bro

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว +1

      You are very welcome! 😊

  • @TheThomrb
    @TheThomrb 2 ปีที่แล้ว +1

    you are a god

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Thank you very much. 😅

  • @friendscoc7612
    @friendscoc7612 ปีที่แล้ว

    can anyone tell how he calls controller method to the services i got after connecting to database

  • @guilderw
    @guilderw ปีที่แล้ว

    Where can I find the souce code?

  • @dante85warrior41
    @dante85warrior41 ปีที่แล้ว

    podrias subirlo a github me esta dnado errores en el minuto 33 xfa

  • @romzkiedelfin2436
    @romzkiedelfin2436 2 ปีที่แล้ว

    Hi sir Patrick Almighty :P, can you show us how to implement "Services" without "Interfaces" on it? Please do a video for this.. learn a lot from all of your videos. Thank you sir Patrick Almighty ;-)

  • @taicv2423
    @taicv2423 2 ปีที่แล้ว

    Tks u sir

  • @BaconNinjaJR
    @BaconNinjaJR 2 ปีที่แล้ว

    I am your fan, the other courses you have on Udemy from .NET Core 3.1, can i use it ? Or its become outdated ?

  • @moldraxian
    @moldraxian ปีที่แล้ว

    40:00 timestamp for later.

  • @lorakisyova4027
    @lorakisyova4027 2 ปีที่แล้ว

    Thank you Patrick! This is a great tutorial, but I have one issue that I can't solve for several days now :( When I POST to my WebAPI to create a new hero using PostAsJsonAsync it sends null values to the controller. I managed to find an error that is thrown: System.Text.Json.JsonException: 'M' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0. I can't find a solution though :(
    Anyone having the same issue?

  • @AbdulAziz-xi1lo
    @AbdulAziz-xi1lo 2 ปีที่แล้ว

    will you please create similar full stack app of type "Blazor MAUI HYBRID " ?

  • @one-g4227
    @one-g4227 ปีที่แล้ว

    joining the bandwagon!

  • @quanghungnguyen3018
    @quanghungnguyen3018 ปีที่แล้ว

    thank a lot
    =)

  • @dagobertoSanchez
    @dagobertoSanchez ปีที่แล้ว

    Como se corrige lo del Update?

  • @jesperkped
    @jesperkped 2 ปีที่แล้ว +1

    Audio normalization pretty please

    • @JC-yv1qj
      @JC-yv1qj 2 ปีที่แล้ว +1

      Ja, bitte, every time an ad plays my speakers explode

  • @defiledgamingnl2284
    @defiledgamingnl2284 2 ปีที่แล้ว

    hello, im following this tutorial but its giving me does not contain a definition for FirstName and no accessible extension method FirstName accepting a first argument of type .... could be found, are you missing a using directive or an assembly reference?

    • @miguelmota8036
      @miguelmota8036 2 ปีที่แล้ว

      You have probably given your Hero page the same name as your Superhero class, at least that was the problem I was having

    • @DerekFNP
      @DerekFNP ปีที่แล้ว

      @@miguelmota8036 I think I am having the same problem. Do you just change the name of the page?

  • @kotoriitsuka1097
    @kotoriitsuka1097 2 ปีที่แล้ว

    Hello, what is your font?

  • @broccool2300
    @broccool2300 2 ปีที่แล้ว +1

    I bought the udemy course.

    • @PatrickGod
      @PatrickGod  2 ปีที่แล้ว

      Awesome! Thank you so much! 😄

  • @HenkvanderGeld
    @HenkvanderGeld ปีที่แล้ว

    Although very interesting, I missed the usage of DTO's (Data Transfer Objects). Is there a reason that you did not include that aspect? In my opinion you should never have your models used by the client. The client should use only the DTO (e.g. the SuperHeroDto). Did I miss something?

  • @furkanaydin890
    @furkanaydin890 2 ปีที่แล้ว

    Migrate entirely to HTTPS to have cookies sent to same-site subresources

  • @hhadid9943
    @hhadid9943 2 ปีที่แล้ว

    Hi Patrick .. Your videos and courses are very useful .. Thanks a lot .. Just one comment .. I guess there is a duplication in code returning the list of heroes in ( GetSuperHeroes ) & ( GetDbHeroes ), you can only ( return Ok(await GetDbHeroes()); ) in ( GetSuperHeroes ) .. Best Regards ..

  • @dante85warrior41
    @dante85warrior41 ปีที่แล้ว

    le dare me gusta si no me da errores y porq me toca traducir ya que mi englis es intermedio xd

  • @captainroxchiefit9149
    @captainroxchiefit9149 2 ปีที่แล้ว

    This hour and a half video took me 5 hours lol

  • @Suriprofz
    @Suriprofz ปีที่แล้ว

    "loading....." typical blaz0r

  • @JC-yv1qj
    @JC-yv1qj 2 ปีที่แล้ว

    Danke schön for the tutorial, but you sound terminally bored throughout it, especially everytime you siiigghhh, lol

  • @chadcarter30101
    @chadcarter30101 2 ปีที่แล้ว +1

    not to be critical or anything but putting all layers of your backend (BLL and DAL) in your controller is absolutely crazy. Why would you create a course with such an inaccurate example? It wouldn't be much more work to appropriately show how the layers are supposed to be used and why.. This is just pure laziness and would never be accepted professionally. If nothing else you should have broken the course up into segments so you could show how the professional world develops.
    There is no example of error checking or validity either in the API or in Blazor.
    This is like the difference in learning from a book and what is actually used in the real world. You gave the short, lazy book example. It would literally take less than 10 lines of code (per CRUD method) to show how it is supposed to be in a professional setting... especially since you are using code 1st. Kudos for using Fluent API over Linq for EF queries. However, if I ever saw a query like that in a controller - I would fire the developer immediately as they are doing nothing but adding spaghetti code to the project and will only cause pain and misery down the road when trying to maintain or expand the project (good thing for you there isn't much in the way of logic calculations - aka BLL). In the professional world optimized and correct are the only two acceptable examples of good code.

    • @maximf6670
      @maximf6670 ปีที่แล้ว

      Sorry. But I would like to see a better and more understandable course on web api and blazor. Corresponding to all modern trends. If you have such a source, can you provide it?

    • @chadcarter30101
      @chadcarter30101 ปีที่แล้ว

      @@maximf6670 Literally any other example on the planet that uses layers in .NET. (not that I am qualified or anything but..) I would say your example is a code example that was implemented in .NET extremely poorly - meaning it is not a real world example of how to implement the code.
      Trends? Who cares about trends? Professional programmers could care less about trends. You need to implement patterns and best practices. That would move your example a long way.
      I mean you are suggesting that out of the literally hundred thousand examples of Blazor out there your example is the best? Did you really honestly say you can't find better? Wow the arrogance level involved there... Nevermind I take it all beck.. You have the best example on the planet. No need to reply. Have a nice life...

    • @chadcarter30101
      @chadcarter30101 ปีที่แล้ว

      @@maximf6670 Again.. You are completely missing what I said in my original post. You are not providing a course you are providing coding samples. If that is what you call a professional course when you shove everything into the controller - not a single layer in any of your examples. It is a layer vacuum in there... wow bro. WOW. Layering is like basic intro to .Net 101. But you do you...
      Oh, and I don't work for you. I offered criticism and it didn't work but I'm not going to do your research for you. I literally told you all you had to do was google. You will find an abundant amount of courses on Blazer using the latest patterns and best practices. They are all over the place.
      I'm beginning to see how you lazily code.
      Good luck with the course. Cheers.

  • @caseymiller8040
    @caseymiller8040 2 ปีที่แล้ว

    ? ???????

  • @yaroslavpanych2067
    @yaroslavpanych2067 2 ปีที่แล้ว

    And now please without EF! For real, this component is sort of for idiots. Honestly, I've attempted to implement a thing or 2 that is doesn't match millions of books, tutorials here, and started getting most idiotic error from EF. EF has no future in serious enterprise!

  • @mhmdhussein7739
    @mhmdhussein7739 2 ปีที่แล้ว

    I HAVE A PROBLEM CAN U HELP ME PLEASE
    MY ERROR IS
    Some services are not able to be constructed (Error while validating the service descriptor
    WHEN I PUT THIS SERVICE :
    builder.Services.AddScoped();
    .NET6