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 :)
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!!
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.
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
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?
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?
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.
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
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
Love this guy, “Let’s go fix that”. Love the teaching style. Makes it fun
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 :)
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!!
Extraordinary. Now I know what partial refresh is. Thanks a ton.
AJAX starts at 23:47
That is exactly what I was looking for. Great video.
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.
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
Thank you bro, your explanation is quite smooth. Regards, bravedeveloper.
Excellent. Thanks for the tutorial.
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?
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.
Thank you, excellent teaching style
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?
great tutorial!
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.
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
This is not an MVC i am guessing
This makes ajax so much more complicated than plain html...
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
Excellent job. Thank you.
Thank you too!
2:26 You were getting ready to say "bullshit" and caught yourself LOL
i like that sh.... stuff
This made me snot laugh!
Great video thanks
Glad you enjoyed it
Thank you, sir.
thanks sr.
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
Sorry too long for me