ASP.NET Core Crash Course - C# App in One Hour
Вставка
- Опубліковано 2 лип 2024
- 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 UA-cam 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
No one understands how important annunciation is especially when teaching, this man is an amazing instructor
Did you mean pronunciation?
@@HealthierOutdoor no
Do you mean enunciation.
hmmmm
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.
Could you recommend some more tutorials/resources that you have used?
@@pawior6921 I ended up going back to JavaScript... I have great resources for JS, but not for c#
Can you please provide some js resources
@@chesterking4852google it
@@WrestlingTournamentsDotCom can i get the resources by any chance?
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.
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!
I agree!
yeah i feel thw same way
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
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
Can anyone of you here help me with one of my mvc framework assignment, it's very urgent and important for me please
Really an amazing video - one of the best tutorials I have seen on UA-cam. 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.
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. :)
He is one of the best course instructor i have seen in UA-cam so far. He teaches the subject in a very clear way that can be followed very smoothly.
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 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.
Watch this video
real time .net interview here
ua-cam.com/video/rUZ2jQfbRa8/v-deo.html
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!
For recent people, you need to get the Model View Controller project instead of the base one.
. Thank you.
please elaborate
Is VS Studio just fine for C# development?
@@Vlusion Absolutely, Visual Studio is perfect for C# development. A more light-weight editor would be Visual Studio Code.
Yes, that's exactly what he's doing at 10.29?
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!!
Thank you for the course, you're excellent instructor.
BRILLIANT VIDEO! My project group have tried so many videos and lectures until this video popped up!
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.
The perfect beginner's guide for us who are starting to learning and shifting to web development from desktop apps.
check this Real E-Commerce App using .Net 5 and Angular 13
Thanks
ua-cam.com/video/-IzpsC-0eBk/v-deo.html
This is the best introduction I've ever seen. Thank you.
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.
Great tutorial! Your students must be so lucky, you have a talent to pass a knowledge. All the best.
I loved it from the first 3 minutes.
We need more from you Professor, thanks a lot.
check this Real E-Commerce App using .Net 5 and Angular 13
Thanks
ua-cam.com/video/-IzpsC-0eBk/v-deo.html
I'm watching this in 2024, working on switching from java spring to making a few web applications in C# for a github page. I really appreciate the simple breakdown of the tutorial, but I have one suggestion; when you have your slides up for like the DAO ORM part, I would suggest not having your camera on, just cause when I was making notes and screen clipping I keep getting your ear and stuff in my notes haha.
Everything else is great and really straightforward, I appreciate your work here.
I love the way he explains things. Makes overwhelming topics not overwhelming
Thank you so much for this course, I really appreciate your effort on this.
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.
you summarize exactly why i searched for this video. Even the year matches :D
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.
This was a great introductory video Shad, thank you!
Thank you, Professor! Successfully created my first web app thx to your teaching.
Thanks a lot, sir!
This was incredibly well thought out and immensely helpful!
Amazing, frontend dev of 12+ years here, needed to learn some C# to help out the backend guys, this really got me excited/gave me the confidence to explore C# more.
Possibly the best tutorial I've ever followed along with. Thanks!
The best explanation of MVC arch and how it works I have seen anywhere. Thanks!!
You're the man, Shad. Thanks for this intro.
Thank you so much for this course, this is what I need as a begginer in Core!
How old r u?
I'm asking this to everyone here btw
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.
This is a fantastic tutorial!!! Perfectly explained! I love it!!
This is so so so helpful! The explanations are crystal clear! Thank you so much !
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!
Fantastic ASP.NET course, took me more than an hour and I have learned so much. Everything is working fine so thank you again
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!
I love how when you were editing that chicken joke, it still cracked you up. 😂
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!
How old r u?
I'm asking this to everyone here btw
Parabéns professor pelo ótimo conteúdo, completo e simples de entender.
Nice one and also check this Real E-Commerce App using .Net 5 and Angular 13
Thanks
ua-cam.com/video/-IzpsC-0eBk/v-deo.html
I rate you sir as one of the top 5 UA-camrs on webdev, fantastic content
How old r u?
I'm asking this to everyone here btw
@@OZAMA i am 21
Simply awesome. Thanks Shad. This is what a tutorial should be like. Straight to the point and informative.
Watch this video
real time .net interview here
ua-cam.com/video/rUZ2jQfbRa8/v-deo.html
Thanks for this hour, Shad, it really helped me to understand more things about this technology. Cheers!
Perfect timing for this video, I just got a job and needed to brush up
Congrats!
I'm in the shoes you were 3 month ago
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
Lol me too
@@haribohariboencore8935 y’all get fired yet? 😁
watched few times to grasp and memorize all the concepts
thanks professor that was very well explained
@@himanshuatri3232 Hey if you go to tools then nuget package then it will be there...Let me know if this helped :)
Its only been 15mins this is just amazing he is explaining in so simple way
By far the best ASP video I've found, makes ASP really accessible, thanks !
The jokes were really good though.
Yeah, I love the one when he acted like running chrome is ok :,D
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!
Great crash course, just what i needed! Thank you very much Professor!
Absolutely amazing job! 100% perfection! Great work! Thanks!
@@himanshuatri3232 select Tools > NuGet Package Manager > Package Manager Console from the top menu
@@himanshuatri3232 use Ctrl+Q for help, type "package manager console" and u'll get it
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.
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?
@@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
Thanks Shad, I'm learning C# for my job and this is really helpful
Me vi varios tutoriales tratando de entender ASP y es el primero que encuentro que simple, corto y claro.
I want say one big thank you for the diagram at 19:00, because i think it is really accurate
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
I cannot find my packaging managing console. I am completly stuck
@@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!
@@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.
@@ashleylord8309 do you know how i can view or access my migrated database using vs code?
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.
great video! the only bit i couldnt get working is the search. doesnt return anything but everything else works. thanks :)
Did these people read my mind? I just decided to learn C# this week and this course comes out
Thanks, Shad. It was indeed a great help for a beginner.
Fantastic crash course that I ever come across! Simple but very effective to follow through!!
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.
Thanks for the info. I was wondering why I was getting errors at some part of the video.
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!
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
Thank you Shad for this amazing tutorial!
Wow!! I'm new to ASP.NET core and already love it!! Thanks a lot.
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.
check this Real E-Commerce App using .Net 5 and Angular 13
Thanks
ua-cam.com/video/-IzpsC-0eBk/v-deo.html
20:14 migrations
32:00 adding features
36:46 search function
don't mind me
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 so much Shad!!! Great course🙌✨
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
My Microsoft Docs sense is tingling, movie Db anyone?
Please make a CRUD app with React included!
Yess
Shad. Thanks very much for the course from the bottom of my heart
This is amazing tutorial, I was able to create my first application right out of the box without any errors by just following every single steps. Thank you!!!!!
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.
Did you find solution for this issue?
Wonderful explanation. Detailed. Encompass the Dos and the Donots. step by step execution. Highly appreciated!
Very useful beginners guide, took me a couple of attempts to get the right start up but after followed along with ease
I'm stuck on this applicationdbcontext part. My base files didn't come up with the data folder and subsequent files
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.
@@gennis4433 Thank you!
This is good for a crash course. However y'all can check this one : ua-cam.com/play/PL6n9fhu94yhVkdrusLaQsfERmL_Jh4XmU.html
After going through this one I bet y'all won't need any other tuts.
Really well done and thanks a lot! Very clear descriptions and your voice is easy to work with!
Thanks for a good, basic, quick intro! It's less scary now! 👍
Migration Has a problem
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
This course is just perfect! Thank you so much!
Best instructor. Very easy to follow. Thanks professor Sluiter
Can we please have more Visual Studio Code not just Visual Studio. :/
VSCode isn't really equipped to handle ASP.NET
They have more courses on VS Code as well, imcluding a 4.5 hour one. Check 'em out.
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.
So nice tutorial. I learn a lot from this one hour. Thank you so much!!!
Amazing , the teaching methodology and progression of content is simply extrordinary.
Thank you so much Shad. You're wonderful teacher.
This is an incredible crash course! Thank you so much!
Extremely helpful and clear tutorial. Cheers Shad
Thanks so much Shad. This is an excellent video for beginners.
Thank you for the excellent tutorial - looking forward to more...
This is such a good video! I took a c# class and this helped me to remember all of it again thank you!
Excellent crash course. Enjoyed from start to end. Learned alot. Gof familliar with things . Thank you Proff Shad.