ASP.NET 8 MVC Tutorial for Beginners - C# web development made easy

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 80

  • @tutorialsEU
    @tutorialsEU  10 місяців тому +6

    🚀C# Progress Academy - Skyrocket your C# skills with the ultimate course bundle: academy.tutorials.eu/p/csharp-progress-academy

  • @chrisraines706
    @chrisraines706 Місяць тому +2

    One of the Best C# MVC Tutorials I have ever seen!!

  • @OpenZipper
    @OpenZipper 8 місяців тому +6

    God bless you man for so long I have struggled with the simplest issue, you have finally explained it in a way for the penny to drop in my head. There is hope for me yet

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

    This was great. None of the other tutorials from other creators worked for me.

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

    The the best MVC demo I've seen so far

  • @sebipoiana1768
    @sebipoiana1768 3 місяці тому +2

    Finished your course and it was great and easy! The database stuff has a lot of built in class names to wrap my head around, so some definitions that are simply explained would be welcomed. Thanks! :)

  • @kavidhudissanayaka5128
    @kavidhudissanayaka5128 8 місяців тому +3

    The best and latest course that I found on UA-cam . Thanks you for your amazing contribution for that. Thanks ❤

  • @grubbsgaben4461
    @grubbsgaben4461 3 місяці тому +10

    I understood everything properly until 25:26 and then he just changed to hypersonic speed and went: "haha database goes brrrrr"

    • @y.govcon
      @y.govcon 2 місяці тому

      same..I got lost! curious to know if you found some resources that helped u better understand that part?

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

    Awesome, short and simple to understand tutorial for MVC

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

    lovely! this is a kind of tutorial... a beginner can start with!

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

    That was an hour well spent. Thanks. In the last few weeks I've watched a lot of mvc videos. And I'm now at a stage where I can predict where you're going. Got a couple of demo applications in my visual studio. Ready to move on. :-) One question if you please: where should I continue? razor, blazor or react?

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

    I like this. Simple and straightforward. Learned tons. Thank you!

  • @CrazyJay-xo
    @CrazyJay-xo 14 днів тому

    Thanks for sharing, very intuitive👍

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

    What a great tutorial this is! Hat off to you! Keep up this great work!

  • @AnreyBriso
    @AnreyBriso День тому

    Amazing i learn a lot

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

    Thank you, was a great hour!

  • @mercytum7045
    @mercytum7045 4 місяці тому +1

    This was super helpful!

  • @yuvaranip9544
    @yuvaranip9544 7 місяців тому +2

    I have watched this video and replicated the same project.Awesome tutorial.Thank you

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

    Brilliant vid.
    Keep it up bro

  • @surrealista06
    @surrealista06 20 днів тому

    Nice tutorial, however in minute 37:29, you added the foreach sentence and I do not know why you used "Model" (uppercase). I just wrote it and it worked, but I do not why or where it comes from.

    • @AndrzejZuzanski
      @AndrzejZuzanski 12 днів тому

      In HomeController class in Expenses method you are passing allExpenses object into View() and this is how you pass Model data to Expenses View.
      Now in View you can get this data by typing @model so if in HomeController you passed List then in View you type @model List with small case "model", this is how you are getting passed data and now you can use this data with upper case "Model", this is just a convention that first you type @model and then @Model to use data from passed object.

  • @kill_switch_101
    @kill_switch_101 2 місяці тому

    tnx a lot, very beginner friendly

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

    Nice video, i did run into a few minor problems. I diverted from the course and added my SQL database instead of InMemory db. This gave some problems on certifying the connection but i solved that. Using ID will let EF generate the table with IDENTITY_INSERT which means you can not provide the ID your self but have to let the database do that. I removed that by remaming Id to ExpenseId but EF will start every time from fresh and will try to insert the already existing 0 again so the code starts updating existing rows. I need to build in a check for that and get max(Id) n+ 1 at each newe run probably

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

    After 35:10 running the project gives me an error saying that it cannot open dll file in the debug folder because it is denied. I'm literally using the same versions of dotnet and the nuget packages as in the video. Can't find a solution for this online, strange...

    • @hieuphan9781
      @hieuphan9781 24 дні тому

      have you found a way? mine says Severity Code Description Project File Line Suppression State
      Error (active) CS2012 Cannot open 'C:\Users\Hyu\source
      epos\Opdracht2\Opdracht2\obj\Debug
      et8.0\Opdracht2.dll' for writing -- 'Access to the path 'C:\Users\Hyu\source
      epos\Opdracht2\Opdracht2\obj\Debug
      et8.0\Opdracht2.dll' is denied.' Opdracht2 C:\Users\Hyu\source
      epos\Opdracht2\Opdracht2\CSC 1

    • @mladone5390
      @mladone5390 22 дні тому

      @@hieuphan9781 I tried working from scratch on a different computer and it worked. I then sent that new project to my original computer and I had no issue running the project and working on from there

  • @RoberBot
    @RoberBot 7 місяців тому +3

    Waw.
    Bro, you are awesome.
    Really good tutorial.
    Well done!

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

    thank you tutorialsEU, i got a .net dev interview tomorrow (not sure how i got it cause it said 3 YOE req and I got none) wish me luck ;)

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

    Beginner friendly❤

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

    If you're using a Data Folder when you start setting up the Database it might not recognize the Class unless you type it as Models.Class. So for example, DbSet would instead be DbSet
    Although if you even have a Data folder by default you've probably done something wrong lol.

  • @sashankshekharshukla2575
    @sashankshekharshukla2575 6 місяців тому +1

    Thanks, I can't express my words, I was a great help to me.

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

    Excelent my friend, step by step, congratulations!!!!

  • @By-SARI
    @By-SARI 4 місяці тому

    Thanks for the tutorial, I have a regional issue which is I cannot enter comma delimited values, would you please advice?

  • @hk-four-sixteen
    @hk-four-sixteen 5 місяців тому +2

    Thanks, I can now add ASP into my resume :)

  • @avocadoarmadillo7031
    @avocadoarmadillo7031 2 місяці тому

    Nice crud app, thank you for the video

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

    What if I want to use Mysql? Do I just need to change it at the program.cs?

  • @MsDareDevil1
    @MsDareDevil1 10 місяців тому +2

    Mindblowing surely will subscribe.

    • @tutorialsEU
      @tutorialsEU  9 місяців тому +3

      Glad to see you in our membership now 🚀

  • @lastcloudeadubal5692
    @lastcloudeadubal5692 9 місяців тому +5

    I have an error System.ArgumentNullException: 'Value cannot be null. (Parameter 'entity')' on my _context.Expenses.Remove(expenseInDb); even as I checked multiple times and followed everything atleast as far as I know.

    • @MatNim
      @MatNim 5 місяців тому +3

      hi! you've probably solved it by now, but i got the same problem and fixed it by changing "asp-route-itemid" to "asp-route-id" in the table in Expense.cs. just writing in case it helps someone else out there:)

  • @orangejuice8341
    @orangejuice8341 7 місяців тому +1

    Great tutorial, thanks 👍

  • @ismailabarry8016
    @ismailabarry8016 7 місяців тому +2

    i love u,wallah you are the best, i wish God help you too much, this world needs several expert like u; honestly i don't know how too thank u ; just know that i love you really

  • @Eamo-21
    @Eamo-21 4 місяці тому +1

    Simplicity of mvc is beautiful

  • @ArnaDev006
    @ArnaDev006 4 місяці тому +2

    Can we get the whole project, since i have a bug in my code which i cant fix.....

    • @GreyKlouds
      @GreyKlouds 4 місяці тому +1

      Hello. I just finished without an error. What was the issue that you had with yours? :)

    • @hieuphan9781
      @hieuphan9781 24 дні тому

      @@GreyKlouds can u help me? Mine says it cant acces or open the dll file

  • @sheshanfernando-uv1uj
    @sheshanfernando-uv1uj 4 місяці тому +1

    when i hover over the model it is not showing me the values i entered

    • @JonesCrimson
      @JonesCrimson 2 місяці тому

      If you correctly added asp-action and asp-controller to the form, then you should be able to add the breakpoint and hover over model, then hover over the tiny expand triangle in the dialogue that pops up, and the information you entered before hitting the submit button should be there.

  • @hieuphan9781
    @hieuphan9781 24 дні тому

    I have a bug that says cannot open a ...dll file idk what to do? pls help

  • @DanishFarhan-wg3xz
    @DanishFarhan-wg3xz Місяць тому

    how to link oracle database to asp net 8?

  • @jimh3595
    @jimh3595 8 місяців тому +2

    The data is not saved?

    • @surrealista06
      @surrealista06 20 днів тому

      Nope, because it is using a "in memory database". But you can create your own database and change the string connection and DbContext.

  • @born_in_july
    @born_in_july 8 місяців тому +6

    Don't know if you've been already told about it, but you look just like Mitch Lucker from Suicide Silence. You just need to know that

    • @tutorialsEU
      @tutorialsEU  7 місяців тому +6

      Ironically I'm also lead singer in a rock band. RIP mitch

  • @krl1403
    @krl1403 6 місяців тому +1

    I followed all your instructions but when I update it always adds another entry in the database

  • @mukesh_awale
    @mukesh_awale 5 місяців тому

    Sure Shot tutorial 🙏

  • @wester06
    @wester06 9 місяців тому +3

    How do you connect a database to all this so that all these changes are reflected in it?

    • @tutorialsEU
      @tutorialsEU  9 місяців тому +4

      You can register an entity framework database context :-)
      We have created a video on that here:
      ua-cam.com/video/gQ2yBG3-jKI/v-deo.html
      Enjoy

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

      @@tutorialsEU thanks 😊

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

    Damm legend

  • @dr.waseemahmed9536
    @dr.waseemahmed9536 7 місяців тому

    Do you have similar tutorial on storing data in SQL Server without using entity framework or may be using APIs or Store procedures?

  • @martontichi8611
    @martontichi8611 6 місяців тому

    i like your style

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

    49:23

  • @chacha-dh1gj
    @chacha-dh1gj Місяць тому

    25:35

  • @viktoriamoskalenko8869
    @viktoriamoskalenko8869 9 місяців тому +4

    Hello,
    Thanks for video, how to resolve this mistake?
    System.NullReferenceException: 'Object reference not set to an instance of an object.'
    Microsoft.AspNetCore.Mvc.Razor.RazorPage.Model.get returned null.
    in :
    foreach(var expense in Model)

  • @tobiassjoholm9325
    @tobiassjoholm9325 7 місяців тому +1

    Great

  • @nathaliedietl3944
    @nathaliedietl3944 8 місяців тому +2

    👉 *promosm*

  • @PetarVetar
    @PetarVetar 7 місяців тому +1

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

    Thanks a lot the Tutorial was on point and simple I like it thanks it was very helpful!

  • @chacha-dh1gj
    @chacha-dh1gj Місяць тому

    30:36