ASP.NET Core Crash Course - C# App in One Hour
Learn how to create a web database app in ASP.NET Core using Visual Studio and the C# language.
This tutorial will show you how to :
- Use the MVC (Model View Controller) design pattern.
- Configure database tables using the Entity framework.
- Setup of classes as models. Customize Razor forms.
- Create methods inside a controller.
- Style an ASP.NET page with CSS.
- Use Bootstrap classes.
- Create a search function to filter database results.
✏️ Course developed by Shad Sluiter. Check out his KZread channel: / shadsluiter
⭐️ Special thanks to our Champion supporters! ⭐️
🏆 Loc Do
🏆 Joseph C
🏆 DeezMaster
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
Пікірлер: 974
No one understands how important annunciation is especially when teaching, this man is an amazing instructor
@HealthierOutdoor
Жыл бұрын
Did you mean pronunciation?
@Obamanamamama
Жыл бұрын
@@HealthierOutdoor no
@limcheehean
4 ай бұрын
Do you mean enunciation.
@MarcinScholke
Ай бұрын
hmmmm
@MarcinScholke
Ай бұрын
he is a proffessor
As someone with 2 years of experience in JS, it was tough to find a tutorial that wasn't too easy and that also wasn't too hard, this was it.
@pawior6921
10 ай бұрын
Could you recommend some more tutorials/resources that you have used?
@WrestlingTournamentsDotCom
10 ай бұрын
@@pawior6921 I ended up going back to JavaScript... I have great resources for JS, but not for c#
@chesterking4852
6 ай бұрын
Can you please provide some js resources
@KILLCHRISU
6 ай бұрын
@@chesterking4852google it
@guob1n
6 ай бұрын
@@WrestlingTournamentsDotCom can i get the resources by any chance?
Really an amazing video - one of the best tutorials I have seen on KZread. It can be a complex system to learn, with so many components, but you laid out everything wonderfully. It is also great that you produce many of the errors that those of us are learning will run into, and then show us how to resolve and what the reasoning is. I would also like to add that the description at 17:05 concerning MVC was a really great breakdown of how all these parts interact.
I always wondered why my instructors never taught us core. It's because they wanted us to write all the code out ourselves. But what a wonderful time saving tool this is! Thanks Shad!!! Great video!
@bigbob2364
2 жыл бұрын
I agree!
@moroccansouqcanada2720
2 жыл бұрын
yeah i feel thw same way
@agentstona
2 жыл бұрын
Because this doesn't go down well At scale .... for small to medium toy apps its ok but when you talk about millions of users this things have bad and slower performance .......DAO is always faster and better
@neutronstar6739
2 жыл бұрын
I mean writing code yourself is a better way to remember and learn what the code actually does. It's not recommended to do these if you don't know what you're doing
@navdeepkaur-fz4fc
Жыл бұрын
Can anyone of you here help me with one of my mvc framework assignment, it's very urgent and important for me please
Prof Shad, you are a gem. Teaching is one thing but teaching exceptionally with kindness is very rare today. We are fortunate to have receive such teaching from you.
Thank you for the course, you're excellent instructor.
For recent people, you need to get the Model View Controller project instead of the base one.
@raphaelmunaki1668
2 ай бұрын
. Thank you. please elaborate
@Vlusion
Ай бұрын
Is VS Studio just fine for C# development?
@sandokanfirst2
Ай бұрын
@@Vlusion Absolutely, Visual Studio is perfect for C# development. A more light-weight editor would be Visual Studio Code.
@sandokanfirst2
Ай бұрын
Yes, that's exactly what he's doing at 10.29?
Thank you so much for this course, I really appreciate your effort on this.
this is so coherent and thorough compared to hundreds of other videos. glad I discovered you, thank you for this
Best ASP Tutorial I've ever seen in my life. Thank you Shad!!
Thanks so much! I'm in a job where I building desktop apps, so learning web development is all on me in my personal time, and videos like this one save me dozens of hours of personal time. :)
Great tutorial! Your students must be so lucky, you have a talent to pass a knowledge. All the best.
Thank you very much, Shad, for such an amazing tutorial. Clearly, calm, productive, patient ... what a great teacher you are! Just in one video explained every corner of an application. Fantastic tutorial!
He is one of the best course instructor i have seen in KZread so far. He teaches the subject in a very clear way that can be followed very smoothly.
Wow, that really was a crash course. I liked that it was intermediate-level with zero pandering. I have experience with Python, flask and C++ but was still able to follow everything here.
Awesome course. Very well instructed. I get a lot of people wanting to learn programming and I cant think of a better instructor. Will be sending to all your courses. You are a natural. Keep up the good work.
Thanks a lot, sir! This was incredibly well thought out and immensely helpful!
I loved it from the first 3 minutes. We need more from you Professor, thanks a lot.
@sneigee
2 жыл бұрын
check this Real E-Commerce App using .Net 5 and Angular 13 Thanks kzread.info/dash/bejne/X32u0tV8XZPLcs4.html
Shad, Thankyou very much. It all worked. It is amazing how much you have packed into this video. You are clearly an excellent educator. Lots to think about and follow up.
Thank you for this video. As a beginner, this is the first I have come across which has pieced together MVC in a format I could follow, in full, step by step and understand what was happening.
@nallaspathfinder9779
2 жыл бұрын
Watch this video real time .net interview here kzread.info/dash/bejne/pImOlMyKlsW4kZs.html
This is the best introduction I've ever seen. Thank you.
Perfect timing for this video, I just got a job and needed to brush up
@SupersnakeGames
3 жыл бұрын
Congrats!
@haribohariboencore8935
3 жыл бұрын
I'm in the shoes you were 3 month ago
@beastmasterbg
3 жыл бұрын
hey can I ask Im a newbie in Asp.net I usually make unity games with C#. Is it really hard and did they require a lot from you to know ASP.NET
@mohammedissam3651
3 жыл бұрын
Lol me too
@alex-dk2rj
3 жыл бұрын
@@haribohariboencore8935 y’all get fired yet? 😁
This was a great introductory video Shad, thank you!
I love the way he explains things. Makes overwhelming topics not overwhelming
This is a fantastic tutorial!!! Perfectly explained! I love it!!
You're the man, Shad. Thanks for this intro.
Loved it. Probably the best video I've encountered on the topic. Everything explained in a simple language. Easy to follow even for beginners. Thumbs up!
Thanks Shad and appreciate your hard work. It's always great learning from you.
The perfect beginner's guide for us who are starting to learning and shifting to web development from desktop apps.
@sneigee
2 жыл бұрын
check this Real E-Commerce App using .Net 5 and Angular 13 Thanks kzread.info/dash/bejne/X32u0tV8XZPLcs4.html
This is so so so helpful! The explanations are crystal clear! Thank you so much !
BRILLIANT VIDEO! My project group have tried so many videos and lectures until this video popped up!
THANK YOU THANK YOU THANK YOU SOOOOOOOOOOOO MUCH!!!!!!!!!!!!!!!!!!!! I've searched high and low for MVCs and most of them either didn't explain at all or deliberately skipped -- which ended up being a waste of time when I actually wanted to learn and have an active server page!!! (Seriously, I've looked at so many...) Wow. I wish I can turn back time and just start with this tutorial because it is simply THE BEST -- Clear, concise and straightforward. Thank you Professor!!! 👏👏👏👏👏
Thank you so much for this course, this is what I need as a begginer in Core!
@OZAMA
3 жыл бұрын
How old r u? I'm asking this to everyone here btw
As an old C++ programmer who's just getting back into programming (last time I used VS was in...2006?) this was amazing. Lots of little tricks embedded in the video, I feel like Visual Studio and I are old friends who just met each other on the street, and now we're having a drink and catching up on things.
@singhanianilesh
2 жыл бұрын
you summarize exactly why i searched for this video. Even the year matches :D
Fantastic ASP.NET course, took me more than an hour and I have learned so much. Everything is working fine so thank you again
Parabéns professor pelo ótimo conteúdo, completo e simples de entender.
@sneigee
2 жыл бұрын
Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13 Thanks kzread.info/dash/bejne/X32u0tV8XZPLcs4.html
I rate you sir as one of the top 5 KZreadrs on webdev, fantastic content
@OZAMA
3 жыл бұрын
How old r u? I'm asking this to everyone here btw
@MrKingchamp1000
2 жыл бұрын
@@OZAMA i am 21
Great crash course, just what i needed! Thank you very much Professor!
The best explanation of MVC arch and how it works I have seen anywhere. Thanks!!
Salute to you Sluiter! Absolute beginner here (senior citizen though) Took me nearly week to understand few of the concepts but watched this nearly 20 times to clear those concepts. Awesome work!
watched few times to grasp and memorize all the concepts thanks professor that was very well explained
@Yohanelprofesor
Жыл бұрын
@@himanshuatri3232 Hey if you go to tools then nuget package then it will be there...Let me know if this helped :)
Wow! Have never had it this simple; you are a great teacher...you just added one user to your subscription list...
Your content is everything that most videos and forums aren't. You don't just put in lines of code or create some function and not explain that you added a Nuget package or using statement. Awesome work!
@OZAMA
3 жыл бұрын
How old r u? I'm asking this to everyone here btw
Absolutely amazing job! 100% perfection! Great work! Thanks!
@tprnbs
Жыл бұрын
@@himanshuatri3232 select Tools > NuGet Package Manager > Package Manager Console from the top menu
@badihaboulhosn8178
Жыл бұрын
@@himanshuatri3232 use Ctrl+Q for help, type "package manager console" and u'll get it
I love how when you were editing that chicken joke, it still cracked you up. 😂
Thanks Shad, I'm learning C# for my job and this is really helpful
By far the best ASP video I've found, makes ASP really accessible, thanks !
Hi Shad! Thanks for en enjoyable lesson, although I knew most of it, I must say that few people upload videos with easy explanations as you do!
I want say one big thank you for the diagram at 19:00, because i think it is really accurate
Thanks for this hour, Shad, it really helped me to understand more things about this technology. Cheers!
Its only been 15mins this is just amazing he is explaining in so simple way
The jokes were really good though.
@MichaelOfRohan
9 ай бұрын
Yeah, I love the one when he acted like running chrome is ok :,D
Coming from a PHP and a straight front end developer i thought becoming and full stack was going to be a nightmare but Thanks to visualstudio everything is more simple. We just have to keep in mind what we doing without skipping a step and learn how to trouble shoot errors.
@CforChillandCheese
Жыл бұрын
Is this legit for developers who work for a company? I am similar to you, but i am familiar with JS, CSS, HTML and no C#. Do they accept this kind of `shotcuts` to build the fullstack?
@Yohanelprofesor
Жыл бұрын
@@CforChillandCheese yes I believe so asp is just a frame work like Jquery is a library of JavaScript asp is a framework of the c# language or library. It just makes everything very simple and straightforward. I am leaning asp to become a full stack developer
Thank you Shad for this amazing tutorial!
Thank you so much Shad!!! Great course🙌✨
The first adding component is Model 20:20 Adding controllers 22:50 based on what the model contains Package manager console 26:00 command: add-migration "initialsetup"(mapping) Then: Package manager console command: update-database
@reverendbluejeans1748
2 жыл бұрын
I cannot find my packaging managing console. I am completly stuck
@ashleylord8309
2 жыл бұрын
@@reverendbluejeans1748 If you use the search bar in VS you can use package manager console as a search term. I could not find it until I did that either. Hope this helps!
@reverendbluejeans1748
2 жыл бұрын
@@ashleylord8309 It was not available on the mac. I found a PC hanging around so I used that instead. I also manage to find a workaround.
@thisbejann4600
Жыл бұрын
@@ashleylord8309 do you know how i can view or access my migrated database using vs code?
20:14 migrations 32:00 adding features 36:46 search function don't mind me
@kaalharir3684
4 ай бұрын
In migrations i am facing this issue. PM> enable-migrations Enable-Migrations is obsolete. Use Add-Migration to start using Migrations. PM> add-migration "initialsetup" Build started... Build succeeded. More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.
Thank you, Professor! Successfully created my first web app thx to your teaching.
Amazing, I had a assignment that required almost the same thing and i was stressing for a bit , but now I'm so passing and so happy
Hi. Thank you for the video. I am only at the beginning video. But I would like to make this comment for all the new learners before I forget. One should know that there are quite a few changes in Microsoft Visual Studio Community 2019, Version 16.11.10 compared to the version used in this video. For example, to get the app to run in the beginning, on the top of the Visuals Studio window, one has to click and choose the name of the App and not "IIS Express" as shown in this video. Otherwise one gets all kind of errors, which googling won't resolve, unfortunately. And of course, one has to previously install the "ASP.NET and web development" package using the Visual Studio Installer. Thank you, again for this free course.
@serred9452
2 жыл бұрын
Thanks for the info. I was wondering why I was getting errors at some part of the video.
@chadgregory9037
2 жыл бұрын
Thank you so much
Yo, as a MERN full stack dev, I gotta say this video is straight up dope! It's the right spot for me and the insights and tips are legit useful. Big ups to the creator for putting out such sick content for us developers!
@CforChillandCheese
Жыл бұрын
Hey I am stuck at create login for an user around 50+ min, did he miss something to add the userdata into database? Because i cant even login with credentials i created via `Register` page. HELP, please ! I only have JS and HTML , C basic, and JAVA for OOP. :( and I am new on ASP
Simply awesome. Thanks Shad. This is what a tutorial should be like. Straight to the point and informative.
@nallaspathfinder9779
2 жыл бұрын
Watch this video real time .net interview here kzread.info/dash/bejne/pImOlMyKlsW4kZs.html
Learned a lot by just watching this vid. You are one of the best instructors here in KZread.
Did these people read my mind? I just decided to learn C# this week and this course comes out
Dear Shad, a brilliant work. Thank you for sharing your experience in such a short time. However, I have a small correction which would like to ask you about a step you took and forgot to remove, so it made me wonder for a bit but then corrected it. Here is the detail: At 22:15, the added method of Public Joke(){} must be removed before start adding a new Controller. The project won’t be built until the part has been commented out. Than you again.
@sneigee
2 жыл бұрын
check this Real E-Commerce App using .Net 5 and Angular 13 Thanks kzread.info/dash/bejne/X32u0tV8XZPLcs4.html
Thanks, Shad. It was indeed a great help for a beginner.
Been making games in Unity C# since Unity version 5 and this helped me tremendously to get started in learning asp core. Thanks so much!
My Microsoft Docs sense is tingling, movie Db anyone?
Please make a CRUD app with React included!
@cinthyacavalcante5318
3 жыл бұрын
Yess
This video was uploaded on my birthday, one of the best presents I ever got! :D
Usually i do not comment on videos, however i should in this case. Really really good tutorial for what it teaches you. I like that this guy teaches you a bit how to think and write code. I also liked him saying something like "with one click you do a bunch of stuff" , this means to show you that you must be more productive in some cases and just complete a task with some help rather than learning everything and then complete the task.
Hi, when it comes to update-database then I look at the SQL Server there's only 1 (localdb) which is the ProjectsV13 and there's no database for joke
Good tutorial but _ using VS 2022 _ __/Data\__ folder not created by wizard.
@Monkewomen11
4 ай бұрын
Did you find solution for this issue?
This is an incredible crash course! Thank you so much!
I'm stuck on this applicationdbcontext part. My base files didn't come up with the data folder and subsequent files
@gennis4433
3 жыл бұрын
When you create the project, make sure that authentication is changed to "Individual User Accounts". Your creation menu maybe a little different but look for "Authentication" or "Change Authentication". I believe once you create the project you can't make changes so create a new project and it should fix the issue if you change the authentication. I initially had the same problem and realized that I missed this important step. In the video, he goes over it around the 11 minute mark. Hope this helps.
@BuffaloBlack
3 жыл бұрын
@@gennis4433 Thank you!
Migration Has a problem
This course is just perfect! Thank you so much!
Really well done and thanks a lot! Very clear descriptions and your voice is easy to work with!
This is good for a crash course. However y'all can check this one : kzread.info/head/PL6n9fhu94yhVkdrusLaQsfERmL_Jh4XmU After going through this one I bet y'all won't need any other tuts.
24:07 "hours of programming have been done for you with a single click" is probably good for a seasoned programmer, but for a newbie? I'm not so sure, people won't know were or what exactly those new pages are about, it seems this video is more concentrated on what can be done in an hour vs what is learned really well in an hour Scott Hanselman's method of starting to learn to program with a "stick shift" instead of an automatic is slower, but most people probably learn more...sorry, I know you mean well
Fantastic crash course that I ever come across! Simple but very effective to follow through!!
PERFECT! Straight to the point.
Can we please have more Visual Studio Code not just Visual Studio. :/
@pixelfixer_
3 жыл бұрын
VSCode isn't really equipped to handle ASP.NET
@prakash_77
3 жыл бұрын
They have more courses on VS Code as well, imcluding a 4.5 hour one. Check 'em out.
@rand0mtv660
3 жыл бұрын
Well Visual Studio is still the primary editor that is being used by C# developers and many C# developers are just used to it. Of course, nothing is stopping you from using VS Code if you want. They also have pretty good support for C# there.
Shad. Thanks very much for the course from the bottom of my heart
So nice tutorial. I learn a lot from this one hour. Thank you so much!!!
Thank you for the excellent tutorial - looking forward to more...
Wow!! I'm new to ASP.NET core and already love it!! Thanks a lot.
Best instructor. Very easy to follow. Thanks professor Sluiter
Me vi varios tutoriales tratando de entender ASP y es el primero que encuentro que simple, corto y claro.
Thanks for a good, basic, quick intro! It's less scary now! 👍
Amazing , the teaching methodology and progression of content is simply extrordinary.
Extremely helpful and clear tutorial. Cheers Shad
Incredible tutorial, super clear and understandable. Take my like !
This is such a good video! I took a c# class and this helped me to remember all of it again thank you!
Thank you so much Shad. You're wonderful teacher.
Great video Shad! I appreciate it!
Thank you so much for this course, I've learned a lot.
You explained everything so well, helped me so much thank you!
Wonderful explanation. Detailed. Encompass the Dos and the Donots. step by step execution. Highly appreciated!
Thank you for this amazing video Mr. Sluiter.