ASP.NET Core Web API and Entity Framework Core - Full Course Including CRUD

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • 👉 Build ASP.NET Core Web API - Scratch To Finish
    www.udemy.com/course/build-re...
    ⭐⭐⭐⭐⭐
    Hi Everyone, This video is a preview of my 10-hour almost 5-star udemy course on creating web APIs using asp.net core.
    I have updated this course on Udemy recently and ranks among the top courses on Udemy for asp.net core web API.
    I have a coupon code for you all and you can use the link that's in the description to get an instant discount.
    You don't have to buy the course but watch the intro, go through the description, and then decide.
    By the way, you get a 30-day Udemy money-back guarantee if you don't like it.
    With that said, please enjoy this video, like and subscribe to my channel for more like these.
    If you have watched the video here, I am pretty sure that you are loving the course so far!
    ⭐️ Course Contents ⭐️
    0:00:00 Introduction
    0:00:10 What we will build
    0:02:28 Create New ASP.NET Core Web API Project
    0:07:52 Understanding Files and Folders
    0:13:46 Understand REST and HTTP Verbs
    0:21:07 Running our Web API
    0:25:15 Creating a new controller
    0:32:45 Looking at our Domain Models
    0:44:00 Install Entity Framework Packages
    0:45:30 DbContext Class in Entity Framework
    0:56:30 Dependency Injection in ASP.NET Core
    0:30:30 Create Get Single Contact Method
    0:33:10 Create Delete Contact Controller Method
    0:39:00 Use EF Core SQL Server Database
    I can assure you this is just the start, There are lots and lots of topics to be covered in the full course to make you an expert in creating web APIs using dotnet core.
    so what are you thinking? Head over to Udemy by clicking the link in the description and get an instant discount on the full course.
    I hope to see you there. Until next time, have a nice one.
    #dotnet #dotnet6 #csharp
    💖 Subscribe to show support: bit.ly/2FAgXzS
    ☕ Buy me a coffee: www.buymeacoffee.com/SameerSaini

КОМЕНТАРІ • 61

  • @user-tl7yu3bb3f
    @user-tl7yu3bb3f 5 місяців тому

    i bought your course and so far i absolutely love your teaching. Thank you for your work.

  • @suaeb175
    @suaeb175 Рік тому +6

    DbContext 43:53
    Dependency 💉 53:49
    Add Migration 1:01:00
    DTOs and Domain model 1:25:00
    Advantage of DTOs 1:28:05
    Conversation domain models to DTOs
    HttpPost create 1:39:55

  • @justnazmus8140
    @justnazmus8140 Рік тому +2

    Hello Sameer, just want to let you know, you are a wonderful teacher. Thank you for such a great tutorial.

  • @santoshparker8681
    @santoshparker8681 6 місяців тому +2

    Awesome tutorial, really enjoyed it. Do upload more videos on UA-cam. We want from more .net knowledge from you.

  • @victorilu
    @victorilu 11 місяців тому +1

    Thanks for tutorial, Easy to understand.

  • @suaeb175
    @suaeb175 Рік тому +3

    Best .Net core teacher on UA-cam ❤❤🎉

  • @umariqbal5558
    @umariqbal5558 Рік тому +10

    Sir you literally teach so good , I mean your full stack lectures gives one a lot of confidence and we also have all the basic how know of all three stacks , Thank you so much , have finished all your full stack videos , anxiously waiting for Admin Student Portal Course to be available for free :")

  • @slowmowfit
    @slowmowfit 11 місяців тому

    Thank you for sharing!

  • @ronaldjohnson4470
    @ronaldjohnson4470 8 місяців тому

    Great teacher Sameer, love your teaching style. I have bought the course, however, I did noticed the sound does not work in Microsoft Edge browser, but i was able to get the sound on all my other browsers. That might be a Udemy problem using the Edge browser. Thank you Sameer.

  • @gopalv5314
    @gopalv5314 4 місяці тому

    In spirituality, many times said Individual's will get their GURU when time comes. I feel now my Dot Net Core Guru has come into my life showering with knowledge and confidence. It's my turn to pay gratitude to buy your Udemy course which are helpful to me. Bottom of my heart "Thank You Guruji".

  • @syedmubeenhussain6317
    @syedmubeenhussain6317 4 місяці тому

    Thanks sir for creating this best Api tutuorial

  • @user-km9wn3zi2q
    @user-km9wn3zi2q 4 місяці тому

    Perfect video for REST API :)

  • @saiyt8145
    @saiyt8145 11 місяців тому +1

    Thanks for the wonderful explanation.Really helped me to solve the problem of connecting to an existing db. I executed "Update-database" after commenting out the code in Up() method as initial migration ended up with errors.

  • @valtonsejdiu4561
    @valtonsejdiu4561 11 місяців тому

    i belive you can use the select and then call the dto before making the whole request for all the fields from the database

  • @debanjanbhattacharjee9477
    @debanjanbhattacharjee9477 11 місяців тому

    sir what to do , if after update-database command its saying "The ConnectionString property has not been initialized."?

  • @KenlieroGames
    @KenlieroGames Рік тому +3

    This is so well explained. Going through logical steps and explaining how it is built, and how it runs, without short cuts, leaving no things explained, in a way that everything is easy to understand. I will buy your entire course. UPDATE: Well, I did buy it, just to realize it does not work on Chrome OS, when I am out of home, so I can not utilize it much at all, since my most learning opportunities are out of home... Would be better if the videos were more reachable, using format that works on most platforms... Let me guess, it does not work on my android phone either?

    • @SameerSaini
      @SameerSaini  Рік тому

      Hey, Thanks for your comment, just to understand this further, is Udemy app noy working on chrome OS? Is that what you mean?

    • @KenlieroGames
      @KenlieroGames Рік тому

      @@SameerSaini No, it gives some kind of video error and can not display most of the videos. Few first ones it can. I tried it at home with windows and it works perfectly on Windows system. It must lack some kind of support for Chrome OS. I installed app for my android, and with that it works perfectly, which is nice. I just wish my view would be larger, to see code better. But at least I can study with my mobile phone now.

    • @SameerSaini
      @SameerSaini  11 місяців тому

      @@KenlieroGames Sorry to hear that could you check with Udemy if they have support for this, they should have an answer to this
      Sorry mate but not of much help regarding the udemy's platform

  • @ImrX09
    @ImrX09 Місяць тому

    Nice explanation

  • @nelsonrivers8546
    @nelsonrivers8546 2 місяці тому +1

    I want to be able to download your 10 hour Web API development course as a .MP4 set of videos (or one big video). Can I do that ? I really like your teaching style. It works for me. Just wish I can buy it, then put in on my laptop, ipad, and windows desktop machine in .MP4 format.

  • @mounikamalreddy9810
    @mounikamalreddy9810 9 місяців тому

    Sammer, can you please provide videos on the Database First approach.

  • @bhanuchaurasia6335
    @bhanuchaurasia6335 10 місяців тому

    Nice

  • @piudutta5665
    @piudutta5665 2 дні тому

    Great

  • @mdsarimrashidkhan7119
    @mdsarimrashidkhan7119 11 місяців тому +1

    Sir please give us an angular full course, I watched your weather app making it was so so much easy and good, please help us more with angular

    • @SameerSaini
      @SameerSaini  11 місяців тому

      Did you check out my Angular course with dotnet on Udemy?
      Disxount coupons in UA-cam bio

  • @jamajovlog
    @jamajovlog 10 місяців тому

    Hi sir besides e-commerce do you have any other projects tutorial. If there is I would be glad to join you udemy class

  • @vishnusivan9382
    @vishnusivan9382 Рік тому +1

    Can someone let me know how he installed sql server management studio?

  • @abdomohd8429
    @abdomohd8429 9 місяців тому +1

    how to use Nuget Package console in Mac

  • @user-bl5wx7xu1u
    @user-bl5wx7xu1u 4 місяці тому +1

    Could you tell me we achieved dependency injection or not here? Because db context directly passed to the controller, so it is tightly coupled right? And if we want to change data source controller also needed to change right?

    • @SameerSaini
      @SameerSaini  4 місяці тому

      That is right, but later on in the course, I extract dbcontext from the controller and use a repository pattern to achieve dependency injection correctly

  • @user-gt5ww1tj7i
    @user-gt5ww1tj7i 11 місяців тому

    the title means full course not a preview , so thanks

  • @subhamsaha3553
    @subhamsaha3553 Рік тому +2

    In all the previous videos i have seen DbContext injection like this : (with the underscore)
    {
    private readonly MyDbContext _dbContext;
    public MyController(MyDbContext dbContext)
    {
    _dbContext = dbContext;
    }
    and you used it like this :
    {
    private readonly MyDbContext dbContext;
    public MyController(MyDbContext dbContext)
    {
    this.dbContext = dbContext;
    }
    so is there any difference of what these two achieve in terms of scope or functionality or its just a choice of code style?

    • @SameerSaini
      @SameerSaini  Рік тому +3

      This is just a coding style my friend, many people use these 2 different styles, no difference at all

  • @user-tp4mn9vm7b
    @user-tp4mn9vm7b 7 місяців тому

    THIS ERROR IS COME ONADD- MIGRATION CAN ANY ONW HELP
    "No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions object in its constructor and passes it to the base constructor for DbContext. "

  • @manasikale.3607
    @manasikale.3607 11 місяців тому +1

    It is really helpful

  • @chikalawrence8502
    @chikalawrence8502 3 місяці тому

    Sir can you make a video on clean architecture in .net7

  • @KenlieroGames
    @KenlieroGames 8 місяців тому

    I have a question. If I have created a API project, based on this course. Lets assume I have manipulated data for some time via Client. Then it is possible to afterwards use Migration to add more columns and rows, if I noticed that my database should have more columns and rows for the new data? So, that it does not destroy any existing data, but add some new columns and rows, to expand database with new data? Also, another question. I am in the middle of this course now. Is it easy to convert it to .NET 8? Or should I just continue with .NET 7 until its finished?

  • @prathameshgaikwad7550
    @prathameshgaikwad7550 8 місяців тому

    best video ever

  • @princeeshah5229
    @princeeshah5229 11 місяців тому

    When will you upload the next lecture video because u haven't discussed http put request

  • @BeepBoop2221
    @BeepBoop2221 Рік тому

    Will you be making more videos?

  • @blessedbabysavi
    @blessedbabysavi 9 місяців тому

    Plz make a video to convert json to obj

  • @castro4694
    @castro4694 8 місяців тому

    21:00

  • @mukulkanojia576
    @mukulkanojia576 7 місяців тому

    can we get your code git repo

  • @KenlieroGames
    @KenlieroGames 11 місяців тому

    I have been using MySQL. Do you think it is possible to follow your full course, and create a Web API by using MySQL (Workbench), without too major modifications? To my understanding I need different nuget packages for it at least, and some differences in connector... Language itself is more or less the same...

  • @DiyorQurbonboyev-
    @DiyorQurbonboyev- Рік тому

    Umar Iqbal 🥰🥰🥰

  • @jehovajehova3573
    @jehovajehova3573 4 місяці тому

    bro remaining part put and delete

  • @williampulling7275
    @williampulling7275 3 місяці тому

    FYI, your course on Udemy is still not working for over 5 days

    • @SameerSaini
      @SameerSaini  3 місяці тому

      Hi, not sure what do you mean by not working?

  • @HabiburRahman-xs9gb
    @HabiburRahman-xs9gb Рік тому

    If you're a mac user and can't find MSSQL server. this link will help you (ua-cam.com/video/9c7Ti2OcLZg/v-deo.html&ab_channel=DataWithDominic)

  • @sayyorapardaeva5185
    @sayyorapardaeva5185 8 місяців тому

    After adding into GetAll method "Add" my project shows error: CS0117 'RegionDto' does not contain a definition for 'Add' NZWalks.API C:\workspace\Employee\Employee.API\Controllers\RegionsController.cs Have you added something to RegionDto?

  • @AnandRaj-hq4zv
    @AnandRaj-hq4zv Місяць тому

    Hi sir pls implement refresh token also in this app

  • @magicalyou3177
    @magicalyou3177 Рік тому

    Sir i want to purchase this course . how i proceed. Help me

  • @janardhanai9403
    @janardhanai9403 3 місяці тому +1

    Hello Sameer, just want to let you know, you are a wonderful teacher. Thank you for such a great tutorial.