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
i bought your course and so far i absolutely love your teaching. Thank you for your work.
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
Hello Sameer, just want to let you know, you are a wonderful teacher. Thank you for such a great tutorial.
Awesome tutorial, really enjoyed it. Do upload more videos on UA-cam. We want from more .net knowledge from you.
Thanks for tutorial, Easy to understand.
Best .Net core teacher on UA-cam ❤❤🎉
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 :")
Thank you for sharing!
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.
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".
Thanks sir for creating this best Api tutuorial
Perfect video for REST API :)
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.
Cheers Sai
i belive you can use the select and then call the dto before making the whole request for all the fields from the database
sir what to do , if after update-database command its saying "The ConnectionString property has not been initialized."?
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?
Hey, Thanks for your comment, just to understand this further, is Udemy app noy working on chrome OS? Is that what you mean?
@@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.
@@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
Nice explanation
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.
Sammer, can you please provide videos on the Database First approach.
Nice
Great
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
Did you check out my Angular course with dotnet on Udemy?
Disxount coupons in UA-cam bio
Hi sir besides e-commerce do you have any other projects tutorial. If there is I would be glad to join you udemy class
Can someone let me know how he installed sql server management studio?
how to use Nuget Package console in Mac
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?
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
the title means full course not a preview , so thanks
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?
This is just a coding style my friend, many people use these 2 different styles, no difference at all
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. "
It is really helpful
Cheers mate
Sir can you make a video on clean architecture in .net7
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?
Yes you can seed data
best video ever
When will you upload the next lecture video because u haven't discussed http put request
Will you be making more videos?
Plz make a video to convert json to obj
21:00
can we get your code git repo
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...
Umar Iqbal 🥰🥰🥰
bro remaining part put and delete
FYI, your course on Udemy is still not working for over 5 days
Hi, not sure what do you mean by not working?
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)
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?
Hi sir pls implement refresh token also in this app
Sir i want to purchase this course . how i proceed. Help me
Hello Sameer, just want to let you know, you are a wonderful teacher. Thank you for such a great tutorial.
Thank you buddy,