ASP.NET Core Full Course For Beginners
💻Get the source code: go.dotnetacademy.io/aspnet8-f...
Learn how to build a complete web application backend, step by step, using ASP.NET Core and the C# language.
⭐️ Topics ⭐️
00:00 Welcome!
04:40 Creating ASP.NET Core applications
27:54 What is a REST API?
40:01 Using Data Transfer Objects (DTOs)
46:54 Implement CRUD endpoints
1:20:22 Using extension methods
1:25:46 Using route groups
1:28:29 Handling invalid inputs
1:39:49 What is Entity Framework Core?
1:44:41 Defining the data model
1:57:53 Using the ASP.NET Core configuration system
2:02:40 Generating the database
2:20:57 Seeding data
2:26:28 Understanding dependency injection and service lifetimes
2:38:46 Saving new entities to the database
2:49:56 Mapping entities to DTOs
2:56:05 Querying, updating, and deleting entities from the database
3:18:16 Using the asynchronous programming model
3:38:39 API integration with the frontend
🌐Build the frontend: • Blazor Full Course For...
🔥Become a Senior .NET Backend Engineer: juliocasal.com/courses
🗺️Get My Free .NET Backend Developer Roadmap: juliocasal.com/roadmap
Join me on Patreon: / juliocasal
Follow me on LinkedIn: / juliocasal
Follow me on X: x.com/julioc
#csharp #aspnetcore #dotnet
Пікірлер: 239
Lets go! Thank you Julio!
This course is better than 2 or 3 paid ones I have done, again thanks Julio for sharing this with the community. Hugs from Brazil.
@juliocasal
3 ай бұрын
Thank you, I'm glad you think so!
Cant even explain how great the lessons are. You actually go into detail on how things are connected, setup, and most importantly what they mean. I have seen too many videos where they say, "add this" and I have to pause the video and watch another or find out on my own what something is doing which throws me off my process and flow. Just got to the point in the frontend tutorial where you sent us here and am soo excited to get more knowledge on building my own rest API as a few companies I have talked to asked me if I have built my own before.
@juliocasal
Ай бұрын
I hope it helps!
Julio you are a great teacher!! I have reached up to 90min in this video which is the first of your series for me and I really enjoy learning from you!! You are a star my friend!! Keep on teaching us!!! Thanx a million for your video!!
@juliocasal
2 ай бұрын
You're very welcome!
Thank you so much Julio!! Just received a take-home assessment and this video helps me a ton!!
@juliocasal
2 ай бұрын
Great to know!
Excellent ! Not too easy and not too much. Thank a lot.
@juliocasal
3 ай бұрын
Glad you liked it!
Just 27:41 in the tutorial I already love this! Author shows how to create project in VS code, how to build and run in terminal not just using UI. Not to mention the teaching style! Thanks for the great content. Looking forward for more advanced stuff. 🔥🔥🔥
@juliocasal
Ай бұрын
Wow, thank you!
This is an amazing course for beginners and experienced folks alike. I learned so much from this, can't wait to start the frontend part next. Thanks Julio!
@juliocasal
10 күн бұрын
Great to hear!
Better to start from 'minimal' than from the 'convoluted' dotNet Core Web API. Other tutorial are overwhelming because the use the more advanced convoluted version of dotNet Core from start. Great job man! From the Philippines.
Thank You Julio for the content. Hugs from Brazil.
Absolutely fantastic course, the way you paced the course, creating the need, solving the problem, refactoring, improving, so there were no lose ends and we get a solid foundation, from the ground up, congratulations and keep up the good work
@juliocasal
Ай бұрын
Thanks!
Thanks a lot, Julio, this tutorial has really helped me to understand ASP.NET core, minimal API, please, don’t stop marking such videos series, its really beneficial for professional like me who are using .NET and .NET framework. Thanks a ton, will be looking forward for more videos series :)
@juliocasal
19 күн бұрын
Glad it helps!
Thanks so much Julio, I have learnt a lot from this video, now proceeding to the front end video.
This course seriously better than university /online classes, i am gratefull, im honored to learn this course from you
@juliocasal
3 ай бұрын
I'm glad you think so. Really appreciate the kind words!
@pepsiman_official
3 ай бұрын
@@juliocasal just finished it tonight, this is seriously good content you created big brother, really makes everything clear that i've been asking to myself like "how does this really work" kinda, again thank you for creating this education
@juliocasal
3 ай бұрын
@@pepsiman_official I'm glad it helped!
Awesome tutorial, greate work Julio. Looking forward for your frontend project in C#. Thank you.
@juliocasal
3 ай бұрын
Frontend coming soon!
Thanks a million, literally!!! Wish you all the best. Much Love and support from Iraq.
@juliocasal
3 ай бұрын
Welcome!
Extremely beginner friendly course. Well explained. Thank you very much.
@juliocasal
Ай бұрын
You're very welcome!
This is the best course I have taken ever thanks and keep up the good work!!
@juliocasal
3 күн бұрын
Thanks, will do!
Tutorial Completed, Thank you so much Julio, really enjoyable tutorial!
@juliocasal
2 ай бұрын
I’m glad you liked it!
Absolutely beautiful tutorial. Thank you!
@juliocasal
2 ай бұрын
Glad you enjoyed it!
Thanks for share!!!! All the best
@juliocasal
3 ай бұрын
Welcome!
Thank you so much for the tutorial
@juliocasal
3 ай бұрын
You’re welcome 😊
This is legit gold!
THIS WAS AWESOME!!. THE PROGRESSION WAS MOST HELPFUL
@juliocasal
29 күн бұрын
I'm glad!
Thank You Julio you simplified alot of things, appreciate your effort.
@juliocasal
3 ай бұрын
Glad it was helpful!
The way you pass for all initial project steps is amazing, and using VsCode? U are awesome! Thank you for this class and I`m here waiting for the future videos with advanced stuff. A tip for new developers, with this video, and your effort in practicing and studying, you can achieve a position as a Junior Developer Backend C#/.Net in a few months, depending on you, the tools you already have. Again, thank you, Julio!
@juliocasal
Ай бұрын
You're very welcome!
Thanks for this amazing tutorial! good vibes!
@juliocasal
2 ай бұрын
You're welcome!
Absolutely nice tutorial. Thank you so much for sharing!
@juliocasal
Ай бұрын
You are so welcome!
Best .NET course on KZread
@juliocasal
Ай бұрын
Thank you!
Incredible resource! Thanks
@juliocasal
3 ай бұрын
My pleasure!
A simple and clear course for beginners. Thanks !!!😜😜😜
@juliocasal
Ай бұрын
Welcome!
many thanks Julio for sharing your knowledge. Indead one of the best courses I've seen aroud. It was really helpfull for me to jump start in ASP.NET. 👏👏
@juliocasal
Ай бұрын
Great to hear!
This is excellent and very good fun
@juliocasal
3 ай бұрын
Thanks, glad you think so!
many many thanks from India, waiting for the latest video on microservices too
@juliocasal
3 ай бұрын
More to come!
Absolutely loved the video ❤❤❤. Thank you for the video ❤
@juliocasal
3 ай бұрын
Glad you enjoyed it!
Absolutely amazing tutorial
@juliocasal
10 күн бұрын
Thank you!
Amazing 🔥🔥
@juliocasal
3 ай бұрын
Thanks 🔥
Thank you sir! This was great!!!
@juliocasal
Ай бұрын
Very welcome!
Gracias 🎉
@juliocasal
3 ай бұрын
De nada!
Good Job !
@juliocasal
3 ай бұрын
Thanks!
You are a saint!!!!!
Muchísimas gracias.😁
@juliocasal
2 ай бұрын
De nada!
Thank you!
@juliocasal
10 күн бұрын
You're welcome!
Thank you so much❤❤
@juliocasal
24 күн бұрын
You're welcome 😊
Thank You so much
@juliocasal
Ай бұрын
You're most welcome
thanks for great lesson
@juliocasal
Ай бұрын
You are welcome!
Enjoying a lot
@juliocasal
3 ай бұрын
I'm glad!
Great video. Keep up the good work. Dotnet watch is our friend :)
@juliocasal
3 ай бұрын
Thank you!
3:01:22 btw you could've renamed using F2 And thanks for the course
Thank you for posting such a great content, I have a question if you do not mind, in most of the courses I've seen for asp net core, they used visual studio instead of visual studio code, is there any major differences between using vs or vs code for asp net core ?
@juliocasal
Ай бұрын
VS is more feature rich, VS Code is much more lightweight.
Thank you for the course Julio. Could you add timestamps for comfortability?
@juliocasal
3 ай бұрын
Welcome! KZread should add automatic chapters soon.
@izanamiluna2158
3 ай бұрын
@@juliocasal 🙌👏
thanks so much for the tutorial. but there's a question i wanted to ask, why are the properties of the request body turned pascal case when you accessed them in the route handler functions eventhough they were in camel case originally?
@juliocasal
2 ай бұрын
ASP.NET Core default serialization logic takes care of that.
@inakaboyz
2 ай бұрын
@@juliocasalso what if the raw data are in any other cases such as snakecase?
hello, thank you for the free courses im new to netcore currently learning from the scratch. although im not comfortable using entity framework, do you have any resources or tutorial on how to connect to sql server without using entity framework? maintaining stored procedure much more comfortable for me than to modify entity framework code.
@juliocasal
3 ай бұрын
Sorry no.
How did you get your icons in the explorer to show the way they do? Like your .http files show as the red web globe, your .sln and .csproj files show as the Visual studio logo. Is that an extension? I like the look of it
@juliocasal
13 күн бұрын
Here: marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
Hi Julio and congratulations for your courses, you have a very nice method and I like your way to build! do you have some courses oriented to seasoned (+10 years experience) .net c# developers/analyst? something of more immediate that target directly to a full project, without too much details on basis things. Thanks!
@juliocasal
3 ай бұрын
Yes, here: dotnetmicroservices.com
Hello Julio, I really appreciate your excellent job. I wonder if you can tell us the tool you used to draw the arrow and frame on the screen when you wanted to highlight something? Thanks.
@juliocasal
Ай бұрын
zoom it
@awakening5967
Ай бұрын
@@juliocasal Thank you.
explanation is very good, thanks Julio. is there a way to get slides that you used?
@juliocasal
3 ай бұрын
Thanks! I will soon publish this video as a course on my site, which will include all the slides.
coming from java spring framework, let’s see how this goes !
@juliocasal
3 ай бұрын
Hope it helps!
Love the way you teach, Julio! Where can I learn C#? Do you have a course of it? Thanks!
@juliocasal
2 ай бұрын
I don't, but check this out: learn.microsoft.com/en-us/shows/csharp-for-beginners/
@botcampeador428
2 ай бұрын
@@juliocasal Thanks! With that, can I take any of your courses?
@juliocasal
2 ай бұрын
@@botcampeador428 Yep
@botcampeador428
2 ай бұрын
@@juliocasal Good news! I'm on it! Thank you so much Julio!
The frontend code tree doesn't match that of the frontend (which the course named GameStore.Client) in the video tutorial and I don't appear to have an appsettings.json file? Am I missing a step? Great course, by the way.
@juliocasal
3 ай бұрын
Yes, that Blazor tutorial is older. New one, that matches this tutorial, will go out soon.
@evaristegalois7378
3 ай бұрын
I did them both in visual studio and used an external SQL db. I will try and build them again as a single 2024 blazer app. Thanks again, you are a great tutor and very generous with your content.
hey man, should I learn c# first if my goal is becoming a dotnet web developer? I currently know Javascript, react, and html/css but zero knowledge of server-side and databases.
@juliocasal
3 ай бұрын
Yes, best to know the basics of C# first
Do i need prior knowledge of c# ? I've never coded on C# but have good grasp on Python, Javascript.
@juliocasal
3 ай бұрын
Yes, you should know the basics of C#.
Julio, why didn't you use a repository? or the repository pattern is not necessary for endpoints.
@juliocasal
3 ай бұрын
Overkill for a simple app aimed at beginners
Do I need to install SqlLite on my system or the EntityFramework will take care of that...?? BTW great course.
@juliocasal
Ай бұрын
No need to install anything other than VS Code and the .NET SDK.
@ARYANKHARE-uc7vy
Ай бұрын
@@juliocasal Thanks for the course and fast response I appreciate it...!!!
May you please make a video about pagination? Thanks a lot!
@juliocasal
Ай бұрын
Great suggestion!
Time-codes would be very helpful
@juliocasal
3 ай бұрын
Added!
@kobakamladze4175
3 ай бұрын
@@juliocasal wow! Thank you so much sir!
Hi! I have a problem on 38:42 minutes of this video. My computer (Windows 10) show me this message "You don't have an extension for debugging HTTP. Should we find a HTTP extension in the Marketplace?". I don't understand why. I follow every step of this fantastic video.
@juliocasal
3 ай бұрын
Switch from your .http file and into a C# file, or just close all files. Then hit F5.
@danielesestri2705
3 ай бұрын
@@juliocasal it works! 🥰 Thank you!
please make SignalR tutorial full course for beginner sir
@juliocasal
3 ай бұрын
Noted!
@Ziron2008
3 ай бұрын
@@juliocasal without relying on Azure!
Do i learn ASP.NET or Blazor first? if i just learned C#?
@juliocasal
Ай бұрын
It doesn't matter. Both full courses on this channel only require C# and complement each other.
How would you go about deploying this to Azure?
@juliocasal
Ай бұрын
Something like this: kzread.info/dash/bejne/iqiL18Sihd3gXc4.html
@Bamboocchi
28 күн бұрын
@@juliocasal I'm sorry about the questions(I'm a complete beginner), but I saw that I had to do the previous tutorials(the Aspire ones) in order to proceed to your suggested video, but the database you used in this one was SQLite, and the database you used in the previous GameStore was a different one. Thus, leading to me getting stuck at that step in the 8-12 min mark. How should I proceed?
Olá Júlio, parabéns pelo contéudo! Qual ferramenta você utiliza para criar anotações na tela? 😅
@juliocasal
2 ай бұрын
On-screen annotations?
@cleberfasilva
2 ай бұрын
@@juliocasal Sorry, tool that allows you to annotate and draw on your screen, like an arrow, circle, rectangle.
@juliocasal
2 ай бұрын
@@cleberfasilva Here: learn.microsoft.com/en-us/sysinternals/downloads/zoomit
@cleberfasilva
2 ай бұрын
@@juliocasal Thank you so much! ☺
I don't understand the Games => Set() syntax. What does it do?
@juliocasal
2 ай бұрын
The Set method creates a DbSet that can be used to query and save instances of Game. By doing Games => Set() you are assigning the result of the Set method to the Games property.
the entire class is excellent, but can we replace visual studio instead of visual studio code because dotnet developers will use mostly visual studio only . what makes difference between Visual studio and visual studio code. if possible do a video using Visual studio software
@juliocasal
2 ай бұрын
Here's why I don't use Visual Studio: kzread.info/dash/bejne/eHyi2bisdLXbY84.html
Hello sir, My dev kit is not working properly, can I proceed with this project without it?
@juliocasal
3 ай бұрын
Yes, but best to get the C# Dev Kit working.
I'm getting error when trying to run the appln very starting. Its showing Couldnt find a debug adapter descriptor for debug type 'dotnet'(extension might have failed to activate)
@juliocasal
Ай бұрын
Sorry, I have not seen this error.
Hello sir, I am working as angular developer but i want to become a full stack developer by learning .net core, so please tell me how to learn .net completely
@juliocasal
3 ай бұрын
This course has everything you need to get started.
@SandipRathod185
3 ай бұрын
Ok thank you@@juliocasal
@akram5960
3 ай бұрын
how to learn angular? Any yt resources?
Sir is this right course to learn c# and .net ? Im complete beginner btw is their any sequence to learn the.net ?
@roronoazoro5562
Ай бұрын
I have done some JavaScript and html Css stuff! Pls guide we where to get started to learn c# and .net from scratch!
@juliocasal
Ай бұрын
Learn C# here: dotnet.microsoft.com/learn/csharp Then come back and watch the video.
@roronoazoro5562
Ай бұрын
@@juliocasal ok sir
Hi! Why C# language syntax is so difficult for understanding?
@juliocasal
2 ай бұрын
You can learn C# here: dotnet.microsoft.com/learn/csharp
Hello from russia, I have an HTTP/1.1 500 Internal Server Error, the code is the same as on 1:00:13 please tell me what am I doing wrong?
@user-if4oh6kz2i
2 ай бұрын
I solved the problem , it turned out to be my carelessness. Instead of MapPost, I wrote MapGet
Thank you very much . but isn’t there a video on your channel you did before explaining asp.net core? So what is the difference between it and this course?
@juliocasal
3 ай бұрын
This new one is simpler to follow than the previous one and uses .NET 8 + C# Dev Kit
@waleedbensumaidea3947
3 ай бұрын
@@juliocasal Thank You
@deepakshrivastava4787
3 ай бұрын
I am learning.net from the last 2 years. And it's a really appreciated tutorial ...
I am having an issue around the database. This is the error message. Parse error near line 4: no such column: table aster WHERE (type="table" OR type="view") error here ---^ How to fix this error?
@juliocasal
2 ай бұрын
This may help: github.com/AlexCovizzi/vscode-sqlite/issues/235
@juliocasal
2 ай бұрын
This may help: github.com/AlexCovizzi/vscode-sqlite/issues/235
sir does this include deployment?
@juliocasal
3 ай бұрын
It does not.
@bernpaul9868
3 ай бұрын
Sir do you have tutorial for deployments? It's hard to find one
@juliocasal
3 ай бұрын
@@bernpaul9868 Here: juliocasal.com/blog/Deploying-ASP-NET-Core-Apps-To-Azure-Kubernetes-Service
How do you think in the OOP style? Because I can't think in the OOP style. It's so hard.
@juliocasal
2 ай бұрын
Start by envisioning your program as a collection of objects that interact with each other, each representing a specific concept or thing with its own data and behavior.
@Nurtastube
2 ай бұрын
@@juliocasal Thank you for your reply. I will take your advice. Are there any courses that teach how to think in the OOP style in C#?
Why not use Visual Studio 2022 though?
@juliocasal
29 күн бұрын
Here: kzread.info/dash/bejne/eHyi2bisdLXbY84.html
Why asp instead of php react next js and etc
@juliocasal
2 ай бұрын
Because it's what I know and love.
how about jwt authentication?
@juliocasal
5 күн бұрын
Here: kzread.info/dash/bejne/qYp6yLKrcpjRddo.html
@melodicTune9464
2 күн бұрын
@@juliocasal thank you💌
Hi Julio, what's the difference between this tutorial and this one that you did some months ago 'Asp.net core tutorials for beginners / 7" ( kzread.info/dash/bejne/lH933NGLYJTSoKg.htmlsi=Hp3UaE5Yvvtc1S4a ) ? Thanks :)
@juliocasal
2 ай бұрын
This one is written with .NET 8, the C# Dev Kit and many improvements.
So when i try to execute the PUT command it returns the error "HTTP/1.1 405 Method Not Allowed", does anyone know how do solve this?
@juliocasal
26 күн бұрын
Make sure you have a PUT endpoint implemented in your API.
@felinidaeblade2243
26 күн бұрын
@@juliocasal It is implemented, but it still doesn't work
@felinidaeblade2243
26 күн бұрын
the full message is this: HTTP/1.1 405 Method Not Allowed Content-Length: 0 Connection: close Date: Wed, 22 May 2024 22:29:52 GMT Server: Kestrel Allow: GET
@felinidaeblade2243
22 күн бұрын
I solved it, turns out it was a typing error
i am on 7:35
Excellent course Mister casal, a question that extension you activated so that you get a list in the autocomplete....thank you
Why vs code? And not community ? 😮
@juliocasal
Ай бұрын
Here: kzread.info/dash/bejne/eHyi2bisdLXbY84.html
33:20
This is missing the controller service repository pattern...
@juliocasal
Ай бұрын
The EF DBContext is the repository.
@paolomedri6791
Ай бұрын
@@juliocasal Ok where are the services and the controllers?
Why would u use visual code instead of visual studio?
@juliocasal
2 ай бұрын
Here: kzread.info/dash/bejne/eHyi2bisdLXbY84.html
@iswilson
Ай бұрын
Because it's the future and cross platform
@valtrojo
Ай бұрын
@@iswilsonbut let's be real 99% of .net devs are using Microsoft
@diegocamilopenaramirez6101
Ай бұрын
Because the licences
Ай бұрын
Visual studio is the future that’s way , I have a MacBook and visual studio for MacBook ide support is about be terminated by Microsoft
1:12:10
@juliocasal
2 ай бұрын
Hope it helps!
@Luis-hc1dl
2 ай бұрын
2:10:38
@Luis-hc1dl
2 ай бұрын
2:36:28
@Luis-hc1dl
2 ай бұрын
@@juliocasal Haha, thank u! These are just my checkpoints, i don't trust the "viewed feedback" of youtube, nice tutorial btw, really interesting, are you Hispanic?
@Luis-hc1dl
2 ай бұрын
3:18:16
39:09
@juliocasal
6 күн бұрын
👍
You should’ve used vs2022
@juliocasal
3 ай бұрын
Why?
@jayjorneypua8174
3 ай бұрын
@@juliocasal do you really have to ask that
your accent is bad, i can barely understand, pronunciation should be more clear
@juliocasal
2 ай бұрын
Sorry!
@fabriciomgomes
2 ай бұрын
His accent is not bad. I really apreciate that I can understand you well. Tanks @juliocasal!
its good... if you know a bit of coding, and nothing about web. PerfectIts not like the other extremes... this is an IF statement... or just make this &$^#$@( and use *$)%(** and done :D
@juliocasal
2 ай бұрын
Thanks!
Hi Julio, this course is spectacular, very well explained. I'm totally agree with jishh7 user. Thank you so much.
@juliocasal
Ай бұрын
Glad you like it!