Unlike other videos wasting the time on KZbin, your video is short, useful, and right to the point. Thank you!
@robertmurrell3852 Жыл бұрын
I can't tell you how long I've been looking for a resource to teach me how to build an API like I didn't already know how. Thank you so much for this!
@KirochiiАй бұрын
Dude. I've been trying my hardest to find a concise to the point video on APIs with a proper explanation and how they're designed, worked, etc on a beginner level. You're the first one I managed to find that not only explained it but actually simplified the whole thing. Thank you so much.
@tutorialsEUАй бұрын
I'm glad you found us .)
@brittosmonteiro5 ай бұрын
I'm a frontend guy who had never had experience with C#. This tutorial was simply amazing. I followed the steps and it's working pretty fine. Thank you so much.
@fifipleta3 күн бұрын
yes but normally maybe we need HotelBookingRepository.cs and services HotelBookingService.cs, where in repository will be all the operation with _context like _context.savachanges()?
@noetovar53 ай бұрын
To the point and easy to understand. I appreciate how well you explain the steps that are easy to follow. thank you.
@dragonfalcon84742 жыл бұрын
This was actually very helpful. A nice overview, of a subject that can be complex depending on the scale of the project.
@SheCreatesGames2 жыл бұрын
I really like how simple and useful this is! Your explanations made RESTful API so easy to understand
@Tty490 Жыл бұрын
Thank you for the nice teaching. I had watched another longer video before this one, so was able to understand better than a newcomer would. I had to slow down the video though since it was too fast for me. suggestion - If possible please add a description of what Swagger is and what it does. Thanks
@publicalias8172 Жыл бұрын
Really like this style of video. It may not be for absolute beginners how to setup the IDE etc- but there are so many videos covering those topics, we need more hands-on THIS IS HOW TO DO IT videos! lol
@estar500 Жыл бұрын
Excellent video, I especially like how short and to the point it is.
@kopilkaiser8991 Жыл бұрын
Best teacher in the industry ⭐️👏
@kevnss2 ай бұрын
This is definitely one of the best videos on this apim. One quick question, is there any example video or a repo that does pretty much similar task but using an existing Azure SQL DB as back end database?
@weamhaleemi49842 жыл бұрын
Thank you ! super beneficial in just 12 minutes
@vaidasrackauskas23712 жыл бұрын
The fastest and simplest explanation I've seen. Thank you!
@arsarsars1able2 жыл бұрын
Helpfull video. Thanks and love to watch more to increase my knowledge. If someone was a bignner he can easy learn from this video.
@prohacker50865 ай бұрын
Your intro is very energetic I'm glad I habe clicked on this video
@srinithipanand747610 ай бұрын
You really helped me out for my work. It was really really really a great help. God Bless.
@jasper5016 Жыл бұрын
This is a really good video. I feel that MS unnecessarily made that DbCotext creation lengthy.
@KwidzaxD Жыл бұрын
One of the principles of the Restful api is not to use verbs in the Uri so instead of /GetAll it should be /all
@中国彭延超5 ай бұрын
Short and nice, suitable for me!
@rehamalbulushi520 Жыл бұрын
your efforts are highly appreciated
@1983jll Жыл бұрын
Thank you very much your tutorial makes it easy and also pretty understandable. I can now provide basic API in C#
@jeetendraprasadPune2 жыл бұрын
Nice and Simple for beginners.😃
@3am.D3v Жыл бұрын
Tks , your lesson so ez to follow .
@ramseykarr68702 жыл бұрын
Very good tutorial... keep the videos coming....🙏
@Nolly_CIA2 жыл бұрын
Vielen dank Jannick
@TaiwoAdefala2 жыл бұрын
Thank you, very helpful.... Can you help create a tutorial on how to consume a web service to be used in web api application?
@FG-uk3in Жыл бұрын
Excellent and very helpful video. Thanks a lot.
@yasirsaddiqui81712 жыл бұрын
Thank you for uploading an easy and quick api learning tutorial. Now i would appreciate if you make another video and connect the same api with sql server db using stored procedure with authentication and authorization. Also the update not working please check.
@boyankrachev15602 жыл бұрын
Yes, the Update is not working.
@reetyt20172 жыл бұрын
A very simple to create API. One question though: is it ok to access directly the database from controller without using a unit of work or a data transfer object?
@tutorialsEU2 жыл бұрын
Hi, ideally you could create a data-access-layer and a CRUD-interface for accessing data but if you want to keep it easy for simple usage you can access the db directly from controller :-)
@toast_salad Жыл бұрын
you did a great job on this video thank you
@gustigusti2094 Жыл бұрын
Compact and easy to understand. Thanks
@Mcokumu6 ай бұрын
thank you so much bro
@eliy55502 жыл бұрын
AWESOME TUTORIAL
@jordantrajkov95497 ай бұрын
Love it thank so much
@ryansmith617911 ай бұрын
Hi nice stuff a little bit fast but a good starting point. Thanks
@tutorialsEU2 жыл бұрын
🚀C# Progress Academy - Skyrocket your C# skills with the ultimate course bundle: academy.tutorials.eu/p/csharp-progress-academy
@hassanqayyum31342 жыл бұрын
make scalable and secure rest API in ASP.Net 6 by following best practices and Architectural Principles.
@sejlaskrijelj83262 ай бұрын
when we test the API, why does the ID 8 not exist? We did not put a range. I am a little bit confused it is my first time with stuff like this
@a2011q2 жыл бұрын
Hi, thank you so much, content is very helpfull.
@Thomaskbird Жыл бұрын
Great video, I've been running this code and trying to get the update to work, it seems as though everything is passed correctly but it never updates. Would you be able to provide any feedback on what could be causing this?
@theodorn2 жыл бұрын
Danke schön!
@Rishraff4 ай бұрын
That core template is not available anymore. What do we use?
@nourazahraaharajli18006 ай бұрын
What if I wanted to use sql server for the database connection rather than an in memory one?
@usamaafzal54822 жыл бұрын
Saved My Day
@charlesssgraham Жыл бұрын
Awesome! 🔥
@rabinkos2 жыл бұрын
Hi I really enjoyed the video and learned a lot. Alas you got a bug. In CreateEdit method you cannot edit data, change context by just _context.SaveChanges() since you are not sending the new value back to db.
@guardadotube2 жыл бұрын
I had to add a line of code to detach the state prior to modifying the booking. As below: [HttpPost] public JsonResult CreateEdit(HotelBooking booking) { if (booking.Id == 0) { _context.Bookings.Add(booking); } else { var bookingInDb = _context.Bookings.Find(booking.Id); if (bookingInDb == null) return new JsonResult(NotFound()); _context.Entry(bookingInDb).State = Microsoft.EntityFrameworkCore.EntityState.Detached; bookingInDb = booking; _context.Update(bookingInDb); } _context.SaveChanges(); return new JsonResult(Ok(booking)); }//end CreateEdit
@djscratchnsniff Жыл бұрын
thanks for the video
@ahmadzrein18672 жыл бұрын
thanks is there a video to work api restfull with .net maui
@StefanoGabriele1983 Жыл бұрын
I don’t think is right to respond 200 and inside the json a 404: shouldn’t we respond 404 as a code result?
@BrowsingScholar2 ай бұрын
You used swagger but did not explain how to use it. I am now confused more.
@BrowsingScholar2 ай бұрын
Also, does it matter if I use SQL server or MySQL for the in memory database?
@Wild_cat_lovers Жыл бұрын
But you didn't told you crested a folder named as data
@chriscalver859511 ай бұрын
Awesome
@alpaydemirr2 жыл бұрын
can i use this api in reactnative
@asteekgoswami7733 Жыл бұрын
sir please make a video of restful api in asp.net with mongodb 🙏🥺🥺
@Rishraff4 ай бұрын
Outdated and does not work.
@Rishraff4 ай бұрын
This tutorial goes way too fast. Also show us what we are going to be making at the start of the video.
@leonxrdo65612 жыл бұрын
Eiskalt von Coding mit Jannick geklaut
@fabiancwb565510 күн бұрын
microsoft has the amazing ability to complicate everything. you just copy what he's doing. no time to understand all this messy words
@maksymilian-zajac Жыл бұрын
you should delete the video
@stickyman1810 ай бұрын
horrible
@hateem8287 Жыл бұрын
BookingInDb = booking; won't work since they're reference types C: we can do this instead: bookingInDb.RoomNumbner = booking.RoomNumbner; bookingInDb.ClientName = booking.ClientName; or simply: _context.Bookings.Update(booking);
@paulpich692 жыл бұрын
When I get to entering using Microsoft.EntityFrameworkCore; it tells highlights that namespace in red. Do you need to install any prerequisite package?
@proqnex2 жыл бұрын
For anyone update wasn't work use this. if (booking.Id == 0) { _context.Bookings.Add(booking); }else if(booking.Id == null) { return new JsonResult(NotFound()); } else { _context.Bookings.Update(booking); } _context.SaveChanges(); return new JsonResult(Ok(booking));