Ajax tutorial in ASP.NET C# web programming partial page updates

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 38

  • @muttBunch
    @muttBunch 3 ปีที่แล้ว +14

    Love this guy, “Let’s go fix that”. Love the teaching style. Makes it fun

  • @mig1552
    @mig1552 2 ปีที่แล้ว

    Just wanted to thank You Sir. I'm a C# desktop developer professionally, but i'm looking for a new job as a ASP.NET developer, and beside reading some books (like "Pro ASP.NET Core 3: Develop Cloud‑Ready Web Applications" which i highly recommend) i am using Your videos, to get more familiar with some topis, while i am making my own projects just for learning purposes.
    As You obviuosly know, making desktop applications with C# is totally different than making web applications (tbh the only thing, that is the same, is the language).
    So, once more - thank You :)

  • @josephh8117
    @josephh8117 2 ปีที่แล้ว

    Doing this on ASP.NET in .NET 6 and I had to use "@Html.Partial("_Header")" instead of "@RenderPage("_Header")". Seems like something to do with the new framework. Not *100% sure that I translated everything you did over correctly in the new version but I was able to replicate most of your results. TYVM for this!!

  • @shishirdonde
    @shishirdonde 3 ปีที่แล้ว +1

    Extraordinary. Now I know what partial refresh is. Thanks a ton.

  • @a.f.r.nunofficial9585
    @a.f.r.nunofficial9585 3 ปีที่แล้ว +4

    AJAX starts at 23:47

  • @kasiakordys266
    @kasiakordys266 4 ปีที่แล้ว +1

    That is exactly what I was looking for. Great video.

  • @martink4975
    @martink4975 4 ปีที่แล้ว +2

    Nice and easy Ajax example. I respect the onclick tip you added inn!
    Quick question would you do this in ASP.NET Core?( or is it .NET5 now :P).
    I am new to ASP development and get confused sometimes about what works where and best practices.

  • @juanalbertoboada
    @juanalbertoboada 3 ปีที่แล้ว +1

    Hi Shad,
    Amazing tutorial.
    This was one of my doubts if it could be done, you solved this doubt for me.
    I have been reading a little bit and I have found that many sites recommend the use of ViewComponent instead of Partial View, I am still reading to know what a ViewComponent is, knowing the difference between Partial View and ComponentView, and how to work with them.
    Do you have a video or videos explaining ViewComponent?
    Sincerely,
    Juan Boada

  • @bravedeveloper
    @bravedeveloper 2 ปีที่แล้ว

    Thank you bro, your explanation is quite smooth. Regards, bravedeveloper.

  • @amarpanray
    @amarpanray 2 ปีที่แล้ว

    Excellent. Thanks for the tutorial.

  • @jono261970
    @jono261970 4 ปีที่แล้ว +1

    Hi, Great Tutorial. After adding the AJAX functionality the customer details are now appearing on a new page? I have checked the UpdateTargetId and it is the same as the Div Id. I'm stumped. Any ideas what I have done wrong?

    • @frankstar366
      @frankstar366 10 หลายเดือนก่อน

      This could be because your links to the libraries on the _layout page are in the wrong order, jQuery min must be before unobtrusive. i.e.

  • @jenyaz1303
    @jenyaz1303 2 ปีที่แล้ว

    Thank you, excellent teaching style

  • @MrJohn2475
    @MrJohn2475 3 ปีที่แล้ว

    I am getting an error when I create the first view, specifically in the second line "Layout = null;". The error reads as CS0103: The name "Layout" does not exist in the current context. Any ideas on how to fix this, I have searched for fixes and none have worked. Anyone has the same issue? Solutions?

  • @castor.fiber79
    @castor.fiber79 4 ปีที่แล้ว +2

    great tutorial!

  • @stevemcqueen2887
    @stevemcqueen2887 3 ปีที่แล้ว +1

    Unfortunately he builds bugs into his code to "troubleshoot". This means when you make a mistake yourself, you end up looking through the video and typing in his bugs.

  • @AlThePal78
    @AlThePal78 3 ปีที่แล้ว

    I just have one question for now why didn't you do this with vs code because I dotnet add ef etc.. and all this stuff happens and all I have to do is change the layout. It seems like more work this way

    • @AlThePal78
      @AlThePal78 3 ปีที่แล้ว

      This is not an MVC i am guessing

  • @xxapoloxx
    @xxapoloxx 3 ปีที่แล้ว

    This makes ajax so much more complicated than plain html...

  • @AlThePal78
    @AlThePal78 3 ปีที่แล้ว

    I really wish I could have you look at my code and help me this shit is driving me bonkers and no I am not using razor pages. My school sucks for not teaching me how to do that

  • @paulobarros2993
    @paulobarros2993 4 ปีที่แล้ว

    Excellent job. Thank you.

  • @rexworthington881
    @rexworthington881 4 ปีที่แล้ว +2

    2:26 You were getting ready to say "bullshit" and caught yourself LOL

    • @thebambinofan
      @thebambinofan 3 ปีที่แล้ว

      i like that sh.... stuff

    • @rebornmanga
      @rebornmanga 2 ปีที่แล้ว

      This made me snot laugh!

  • @MrMattberry1
    @MrMattberry1 ปีที่แล้ว

    Great video thanks

  • @mshuffle7024
    @mshuffle7024 4 ปีที่แล้ว

    Thank you, sir.

  • @fralitex2760
    @fralitex2760 ปีที่แล้ว

    thanks sr.

  • @haonrolyat
    @haonrolyat 3 ปีที่แล้ว

    come on bro - say that you're using ajax form and not ajax in the title. form submittals are not that same as straight up ajax

  • @anayatabuelgasim6043
    @anayatabuelgasim6043 4 ปีที่แล้ว

    Sorry too long for me