Blazor Server Components - Making Razor Components Easy to Use

  Рет қаралды 76,940

IAmTimCorey

IAmTimCorey

Күн бұрын

Пікірлер: 311
@umer.on.youtube
@umer.on.youtube 3 жыл бұрын
I have never found someone better at teaching and dotnet than you are!!! What a gem! 💛💛
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Thank you!
@umer.on.youtube
@umer.on.youtube 3 жыл бұрын
@@IAmTimCorey Please create more videos on Blazor. Especially CRUD tutorials.
@Funkfreed
@Funkfreed 4 жыл бұрын
Tim the way you convey the concepts is exceptional. You are a teacher by heart no doubt. I've learned so much in just 42 minutes.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Awesome! I’m so glad.
@Zysperro
@Zysperro 2 жыл бұрын
Maybe it's because I've spent hours researching the topic, but most of the things finally clicked just now! Thank you very much!
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Awesome!
@moniksidhpura9427
@moniksidhpura9427 Жыл бұрын
i have been working on passing data between components for couple of days, tried all sorts of code available online.. kind of a bugger that all you have to do is call the Parameter variable like an html attribute and pass the data.. but it makes life easier.. Good content as always, helpful as always.. Keep it going....
@napocavox
@napocavox 4 жыл бұрын
Tim, you have an extraordinary gift to teach!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@fuzzylilpeach6591
@fuzzylilpeach6591 4 жыл бұрын
I took a udemy course on Vue.js a few years back and I find this framework to be very similar, except, you know, with a type-safe language. I also find it to be a bit simpler. I love it! This is a lot more understandable to me than a javascript based component framework. Additionally, I love your teaching style and I have been watching your tutorials like I'm netflix binging and building these apps along with you. Thank you!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are welcome.
@DreOsOutside
@DreOsOutside 2 жыл бұрын
When I discovered Interdev I was blown away , through the years I've been impressed, but with Blazor, again, I'm blown away. Tim amazing delivery. Thank you.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@yomodomoso2046
@yomodomoso2046 4 жыл бұрын
Hi Tim. I truly enjoy watching your tutorials. I can especially appreciate your production-use approach highlighting the do's & don't. Thank you so much.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad you like them!
@briank.daniels7939
@briank.daniels7939 4 жыл бұрын
Excellent! Other blogs make these subjects seem very hard to grasp. Your presentation is easy to digest and leaves us confident that we have learned things new, exciting and valuable. Thanks.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad it was helpful!
@brianmitchell4962
@brianmitchell4962 3 жыл бұрын
This was taught very well! Thank you for going in-depth on why, and how the components interact. It's those kinds of explanations that make the good teachers really stand-out.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You're very welcome!
@roaba3581
@roaba3581 3 жыл бұрын
I always was put off by learning anything web related, but blazor got me absolutely excited! Thanks for the video, awesome introduction, as per usual!
@malcolmLSH
@malcolmLSH 4 жыл бұрын
Thanks for this Tim. I'm starting to use Blazor for my internship and the Pluralsight courses about Blazor was too advanced for me to start off. This helped to ease in better and made me more motivated to learn. Please make more of these videos!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad it was helpful!
@fakeITDevTeam
@fakeITDevTeam Жыл бұрын
I wish i could explain something deep and detail just like you do. Thank you
@IAmTimCorey
@IAmTimCorey Жыл бұрын
You are welcome.
@4bitmultiplexer
@4bitmultiplexer 4 жыл бұрын
I like your attitude towards learning and programming...
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@janekkelenkamp9551
@janekkelenkamp9551 2 жыл бұрын
Yes, yes I am a blazor components fan at long, last. Fantastic module service, great tutor. Thanks Tim Bo(u)
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@brightontandabantu
@brightontandabantu 2 жыл бұрын
I know you get this a lot but you are doing a great job helping junior developers just starting out or using dotnet/blazor/etc for the first time! I wish I could actually afford the entire course. Qn: How do I pass a blazor component the same way we passed "Name". Like what if I want to pass a button? Maybe I want to have a table where one of the columns has a button for deleting that row (or something like that)? Thanks!
@torrvic1156
@torrvic1156 Жыл бұрын
Outstanding video! Wish I watched it before I learned some of the things you showed in this video by trial and error. Also learned many new things on how one can implement OnClick property in unclickable things like unordered list. Progress bar is also cool and opportunity to nest component one in another is just a blast! Thank you so much Tim for your great lessons!
@richardshi1896
@richardshi1896 3 жыл бұрын
An excellent lecture on explaining the COMPONENT of Blazor.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Thank you!
@HemmingEducation
@HemmingEducation 2 жыл бұрын
This is great. Clearly presented and well explained- thanks!
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@colin-campbell
@colin-campbell 4 жыл бұрын
Oh Tim this is so freaking cool, I love it! Thanks so much for sharing this. You can guarantee when I graduate this summer and get a comfy software developer position, I'm signing up for your courses.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I am glad you are getting so much value out of my content.
@vidmantasvalaitis392
@vidmantasvalaitis392 2 жыл бұрын
Very well thought-out lesson, talented teacher indeed. One tiny problem with a percentage sign punctuation in VS 2019 (ver. 16.11.10): it works only as @($"{percentDone}%") Usability hint: it would be nice to have a mouse cursor back on a text field after each task's addition.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Taking control of the mouse cursor location on the web isn't something that should be done (even if it can be, which I don't believe it can be). Remember that the web isn't supposed to be intrusive into your system.
@thewakster5846
@thewakster5846 4 жыл бұрын
Great job Tim. Components behave same way as customized user interfaces we used to build in ASP.Net
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thanks!
@johnmaus9178
@johnmaus9178 3 жыл бұрын
Thank you so much for this! I had a basic understanding of these components before, but there were some simple tidbits I had overlooked that you explained very well. I was writing components and adding them to pages as shown and using controllers with end points to accept/send data, but any time I wanted components to talk to each other, I created a static class with the information mapped out as needed to talk between controllers for each component. Now that I know the public keyword still has the same meaning in the component as it is in C# classes, this would have saved me so much time on my project. Now I know what to do for future clients to pass, say, an ID around between the components on the host page and then retrieve the associated information from the local database for that ID. Thank you so much for clarifying not only how to do that, but the overall purpose of components and explaining why. As soon as I get to a point in my new job to get a raise, I will be purchasing the yearly plan from your website to continue to grow in my field.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
I am glad it was so helpful.
@zoltan.halasz
@zoltan.halasz 4 жыл бұрын
Very clearly explained, new technology. For 2020 it's one of my goals to learn blazor server and I will review these videos in detail.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@ben.thornhill
@ben.thornhill 4 жыл бұрын
Can't wait to check out your new Blazor course when I get some free time. Thanks for all the great content, Tim, and I hope you and your family are staying safe.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are most welcome and thanks for the well-wishes.
@zarokoshin4090
@zarokoshin4090 3 жыл бұрын
This is awesome Tim !! I would love to see a course like TIMCO using this ! Thanks for sharing !
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
Thanks for the recommendation. I have added it to Tim's list of viewer suggestions for videos.
@aqua007man
@aqua007man 3 жыл бұрын
Great job Tim! Thanks for sharing your gift of teaching. Your tutorials are a masterpiece, I will start building blazing pages :) Blazor is indeed very powerful. Thank you
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Great!
@theguire
@theguire 4 жыл бұрын
Wow. I mean, WOW! First things first, this was the first tutorial of yours I have watched. You clearly have a grasp on the subject. You do more than explain what you are doing. You show very quickly the nuances of certain things that drive home important concepts and features of the language. I appreciate the discussions regarding why you might do something one way, the advantages, disadvantages and things to consider... Excellent. As for Blazor, I have been waiting for its release and I am not disappointed. I love the componentized features and the reduction of server interaction for updates and changes. It seems much simpler than Angular or React where you are required to jump through hoops to componentize the application. I will be taking your Blazor server course later this week. thank you for the work.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad you like it, thanks!
@RalfsBalodis
@RalfsBalodis 3 жыл бұрын
0:00 - Intro 1:20 - Creating demo Blazor Server App 4:01 - New Blazor Server App page: Razor Component 6:49 - Building Blazor page: Edit Form 17:17 - Building Blazor page: Styling 21:11 - Building Blazor page: C# in Blazor Page 24:54 - Building Blazor page: Progress bar 30:33 - Add Blazor Page as a Component 33:54 - Turn off page route 34:28 - Updating the Component 40:54 - Summary and concluding remarks
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Thanks again! Over 50 videos so far. You are amazing!
@weirdbuggames
@weirdbuggames Жыл бұрын
this is very easy to follow through! i have tried different learning videos in YT but i find yours to be truly beginner friendly. Tho i still get confused by blazor's naming convention such as attaching method on events
@IAmTimCorey
@IAmTimCorey Жыл бұрын
I am glad it was helpful.
@jonchicoine
@jonchicoine 4 жыл бұрын
Wow! Tim Corey for President!!! I can't say enough good things about Tim and the content of these videos. I've watched dozens (and dozens)of Programming tutorials from sights like Pluralsite and lynda.com and they all pale in comparison to what Tim is doing! The audio and video are very professional. It's easy both see and hear. The pacing is also perfect... as well as Tims speaking cadence and pronunciation. What a breath of fresh air to not have to struggle trying to understand someone' who is not a native english speaker and has a thick accent. (nothing against foreigners, but it is a distraction when trying to learn something new). Personally, i would love to see more Blazor content and perhaps some stuff on Azure. (I wonder if you do any live streaming?)
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you! ... and I added your suggestion to me list.
@LaVidaConBryan
@LaVidaConBryan 4 жыл бұрын
This looks great, I'm going to use it in my next project at work. Thanks for the video!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are welcome.
@antonydenahy744
@antonydenahy744 3 жыл бұрын
I'm about a third way through, a n d Loving It! (that's Get Smart, for younger readers). One thing though Tim, you're no doubt trying to keep this relatively brief and easy for beginners, but whenever you say things like "so the whole page doesn't need to be refreshed" my mind always says "but we've been using Ajax for ages within MVC pages etc, so don't often do whole page refreshes anyway". The ajax part is usually handled within Telerik components for me. Anyway, just saying - this is the third video of yours I've watched and I don't think I've heard you say the "Ajax" word. Just interesting. Finished the video now ... Wow! I looked briefly at Blazor a few weeks back and it just didn't grab me - I thought "Nah - too early, I'll stick with MVC for another year at least". But now, this video has shown so clearly the elegance and simplicity of the code required to make a sophisticated UI - it's a beautiful thing - my next app will be made with Blazor for sure. And it was great to see the use of Bootstrap styles demonstrated - I'll be using those more too.
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
Thanks for the endorsement. Very please you found it valuable
@mlukatchik
@mlukatchik 4 жыл бұрын
Excellent quality, Tim. Your lessons are helpful!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thanks Mike! You doing well?
@Otonium
@Otonium 2 жыл бұрын
Thank you Tim, very ver ywell understood by your crystal clear indications. Thank you!
@Otonium
@Otonium 2 жыл бұрын
Can somebody can help me understand why do we have to create a new TaskModel each time? Thanks!
@mastercompuk
@mastercompuk 4 жыл бұрын
Super tutorial as always. I think that blazor is great. Would be good to see how to run blazor on linux server as most of the web servers are based on linux. Great tutorial Tim. Thanks
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@Lerklinten
@Lerklinten 4 жыл бұрын
I love these components.. Great job Tim
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thanks!
@scwyldspirit
@scwyldspirit 4 жыл бұрын
Going back to something you have preached over and over Tim, like in your Blazor WebAssembly course about learing to read code, well from another course I have taken in the past on Spring, well in there they reference the Spring Pet Clinic. I got to thinking it might be fun to do that in Blazor.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Give it a try and let us know how it goes! I am sure you can do it.
@brunomarkman2107
@brunomarkman2107 4 жыл бұрын
Tim, this is a very nice feature for Blazor. Thanks for instruct us.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are welcome.
@anomalii7720
@anomalii7720 3 жыл бұрын
Whooo, very very nice Tim. Love it, and gonna use it !!
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Great!
@khwong98
@khwong98 4 жыл бұрын
Awesome presentation. Appreciate you share it.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you and you are welcome.
@manuelgamezz
@manuelgamezz 3 жыл бұрын
Thanks Tim, your channel is great. You have a very interesting videos. I have been using aspx(winforms with c#), but now I'm testing this framework for my future projects or migrations.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Great!
@edjohnston3236
@edjohnston3236 4 жыл бұрын
Great intro and very interesting implementation. I can imagine very many static and dynamic components that could be built this way. Having the code and markup in the same place seems really retro, back to orignial active server pages.... wait long enough and everything comes back into fashion.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Right now it is a convenience thing but it really should be in its own class.
@Kerreber
@Kerreber 3 жыл бұрын
very useful and very well explained, thanks!
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
We appreciate you sharing that, thanks!
@verttix
@verttix 4 жыл бұрын
Great tutorial. I've been on the fence about using Angular or ReactJS. Now with Blazor in the picture, it only makes sense that as a .net developer I use it. One thing I'm confused on is I don't see Observable with Blazor. Would love to see how you keep the objects in sync on the client with what you have on the database.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I'll be doing some deep-dives on Blazor in the near future. I'll add that to the list of things to cover.
@amra6402
@amra6402 4 жыл бұрын
Thanks very much .. If you could please make a video of 3 nested components navigate between each of them and pass parameters between them. eg. Mail component
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I can add that to the suggestion list.
@fadge316
@fadge316 4 жыл бұрын
Blazor is fantastic. Thanks for sharing
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are welcome.
@DavidWilliams-ue8bk
@DavidWilliams-ue8bk 3 жыл бұрын
They look easy to use. You showed us how to get data into the component but it would be nice to know how to get info back out to the parent page/component.
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@Baraka-yl2dp
@Baraka-yl2dp 4 жыл бұрын
Tim, a quick aside here: I usually see and hear you talk about using Kestrel, but to the best of my knowledge, I have never seen you explain how to setup it for debugging. If you have not before, then I think you should seriously consider it. If you have already, then please point me to it. Thanks in advance.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Well, I go into depth about it in my Blazor Server In Depth course. I have touched on it in other videos but not fully. I can add that to the suggestion list.
@Baraka-yl2dp
@Baraka-yl2dp 4 жыл бұрын
@@IAmTimCorey Is this course already released or is it one of those ''for pay" courses? Thanks.
@jvusa
@jvusa 3 жыл бұрын
Thanks a lot Tim, Very helpful Videos.....
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
You are welcome.
@cpoppinz12
@cpoppinz12 4 жыл бұрын
Thank you so much for this video! Could you please do a more advanced section too with two way data binding with parent-child components and more features we can do with components
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@Kerreber
@Kerreber 3 жыл бұрын
same question here!
@JasonHoningford
@JasonHoningford 4 жыл бұрын
Great video! The only speed bump seems to be state management in Blazor!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
How so?
@MrTellus
@MrTellus 4 жыл бұрын
Besides database storage for permanent state, you can create a class to hold some state and then just set the class as singleton service for app state or scoped for user state.
@JasonHoningford
@JasonHoningford 4 жыл бұрын
@@IAmTimCorey Blazor doesn't have session state like in MVC, so you have to roll your own or use a 3rd party library. Blazor circuits are not reliable.
@forxynet
@forxynet 4 жыл бұрын
Hi Tim thanks for wonderful sample
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
My pleasure!
@teamomiparientes3769
@teamomiparientes3769 2 жыл бұрын
Worth to watch...thank you
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@ianjeffery3762
@ianjeffery3762 4 жыл бұрын
Great Video. Loving the Blazor Server course too.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@markopavic7318
@markopavic7318 4 жыл бұрын
This look so nice for c# developers
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
It really is a great option.
@trustingod0
@trustingod0 3 жыл бұрын
Great Video !!! Would you recommend a course or book that would give me more practice examples. Also, I am a little confused about how you would implement a datastore with these component, for example if the persons you used had an id in a database or some other storage. If I could describe components they would be like object reusability in OOP except in the case of components you also have a UI. Thanks !!!
@bidy4
@bidy4 4 жыл бұрын
Thank you for defining the terms.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Always! I try to make learning easy.
@luismendez9436
@luismendez9436 4 жыл бұрын
oh man, these components are something great!. Thank you.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are welcome.
@talkathiriify
@talkathiriify 4 жыл бұрын
Excellent and well explained. Thank you very much Tim, and please stay safe!!!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@cinemacentromegasala3869
@cinemacentromegasala3869 2 жыл бұрын
Really wonderful! Thanks! César
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@imanqoly
@imanqoly 2 жыл бұрын
Your video is full of "O moments" for learner
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
Excellent!
@TheDerpsFinest
@TheDerpsFinest 3 жыл бұрын
Great video, super informative
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Thanks!
@AkshaySrinivasan123
@AkshaySrinivasan123 4 жыл бұрын
Very well explained! Good Job!! Thank you!!!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You are most welcome. Thanks for watching.
@anishravindran7545
@anishravindran7545 4 жыл бұрын
Great one !!!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thanks ✌️
@RalfsBalodis
@RalfsBalodis 3 жыл бұрын
Very nice. Tempted to try out!
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Go for it!
@fadf810
@fadf810 4 жыл бұрын
Amazing!, do you think it's complicated to use 3rd Javascript controls with Blazor? (like Grids, charts, etc)
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Nope, not complicated at all.
@cryptodaddy79
@cryptodaddy79 3 жыл бұрын
Very well explained. It is really fun to follow! :)
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Glad it was helpful!
@pietsmitsa
@pietsmitsa 3 жыл бұрын
Great video loved it! I would love to see more on components especially when there are several components with a lot of binding values and [value]Changed logic going on... e.g. Could a Class be used to manage the binding values between components and make things easier?
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
I noted your recommendation by adding it to Tim's list of possible future topics, thanks.
@karlproctor7526
@karlproctor7526 4 жыл бұрын
Another quality video. It would be good to extend the ideas to show a complex view model with nested objects. Also the use of material design (maybe using MatBlazor). Thanks
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I will add it to the list. Thanks for the suggestion.
@ahadnazari9110
@ahadnazari9110 3 жыл бұрын
blood of Jesus 🤩🤩 this is great Tim 🙏🙏
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
Amen and Thank you.
@aky20000
@aky20000 2 жыл бұрын
Thank you Tim
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
You are welcome.
@hamouz718
@hamouz718 4 жыл бұрын
Dude, your tutorials are superb!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@dahliaspumpski5837
@dahliaspumpski5837 4 жыл бұрын
Great video man thanks for the help
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
No problem 👍
@pablodaza7827
@pablodaza7827 4 жыл бұрын
This is great! But what I really miss in this framework is the missing INotificationProperty and the use of icommand to use it in MVVM out of the box maybe is not needed for now but I miss it
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Why do you miss it?
@after2003
@after2003 3 жыл бұрын
I would love to see a video on adding blazor components to an existing ASP.net core MVC application.
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 жыл бұрын
Thank you. I have added this to Tim's list of possible future topics.
@tommysanger6659
@tommysanger6659 3 жыл бұрын
For the section on the dashboard being dynamic for a meeting, I understand if this was to be on one browser page that everyone was looking at together. But in the case of multiple people accessing it at the same time, would the functionality to have them auto update everyone's local when an edit is made be simple as well? I suppose this is more of a signalR question... What comes to my mind is that you would have to implement something in the onclick that tells signalR to do a push of the update to all linked users in a hub. But maybe I am mistaken in the process and what exactly you were trying to express as the ability of the dynamic dashboard.
@waynehawkins654
@waynehawkins654 2 жыл бұрын
Thank Tim. Do you have a video that follows on from this to move the TaskList and TaskModel into a RCL Project and ref it from the BlazorApp
@IAmTimCorey
@IAmTimCorey Жыл бұрын
I don't. Sorry.
@MumBorne
@MumBorne 9 ай бұрын
Great!! You have a new Subscriber 🙂
@IAmTimCorey
@IAmTimCorey 9 ай бұрын
Welcome aboard!
@zoltanjanosjanosi2025
@zoltanjanosjanosi2025 4 жыл бұрын
Nice tutorial, I was just looking for something like that.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad I could help
@abinnouranas5719
@abinnouranas5719 4 жыл бұрын
Hello Tim, i started learning C# and found your videos very good and well made, i would like to know if you are planning any Blazor Server Side gloalization tutorial to make globalized Blazor apps, good job anyway
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
It is on my want to do list but I need to invest more time to learn more about it before I teach it.
@marcs8325
@marcs8325 2 жыл бұрын
As a .Net developer who has been dealing with Angular for a while, I might give this a try for some (smaller) projects. Seems like a faster way to get things done. Blazor WebAssembly seems promising too, but I worry a bit about the initial load times.
@IAmTimCorey
@IAmTimCorey 2 жыл бұрын
It definitely is faster to get going when you are already working with C#. I love it for getting a project up and running quickly.
@JoeBonez
@JoeBonez 4 жыл бұрын
“Poor Mary’s typecast” LOL. Nice informative video. I’d still like to see something on authentication/authorization in server side Blazor, since my default go to (ASP.NET Core Identity) fails because of the HTTP headers already being sent due to the SignalR connection.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I cover that in the Blazor Server In Depth course. You can definitely use ASP.NET Core Identity with Blazor. We set it up during template creation as well as adding it in to an existing project. We also walk through how to use the authorization (including role-based authorization) on pages and in code.
@chairmakerPete
@chairmakerPete 4 жыл бұрын
Thanks Tim - great taster course! I tried dropping a couple of attributes in the TaskModel class to see if I could make the Task property [Required] and [MinLength(3)]. It compiled ok, but validation wasn't active in the form when the submit button was clicked. I thought the on-valid-submit would have enforced those rules, but seems not. What am I missing?
@chairmakerPete
@chairmakerPete 4 жыл бұрын
Ok - figured it out. Add a tag inside the form tag, and validation works. Nice!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Glad you figured it out.
@babarkhalid2746
@babarkhalid2746 3 жыл бұрын
Hi Tim Corey, Have you tried XAF Blazor?
@andywalter7426
@andywalter7426 4 жыл бұрын
I would love to see an example of blazor being used with MVVM. Or even better yet, using caliburn micro with blazor so you can use the same view models with wpf as you do with blazor to have more code sharing and not violating the dry principle and being able to do view model first approach.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I can add that as a suggestion, although I don't usually encourage reuse of the ViewModels. The VM is part of the UI (not a separate layer) and I often find that it is not usually a good idea to reuse it. Doing so means you make compromises in your View or VM so that it works in both places. That isn't following DRY, that is really a violation of OOP principles.
@LuisFernandoForeroGuzman
@LuisFernandoForeroGuzman 4 жыл бұрын
Hi Tim, Great content! I wanted to ask if is it possible to create components dynamically?. For example in a "for loop" create N "TodoList" components. Also, I want to know where "EditForm" and "InputTex" components come from, is there a list of already existing components?
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Yes, you can create components dynamically. EditForm and InputText are part of the Blazor framework. They are components that Microsoft created. You can go to docs.microsoft.com to get more information on what is available.
@MrTellus
@MrTellus 4 жыл бұрын
In markup have; @DynamicComp in @code; RenderFragment DynamicComp { get; set; } and some method to set DynamicComp - here I set it to FetchData; DynamicComp = builder => {Type moduleType = Type.GetType("BlazorApp1.Pages.FetchData"); if (moduleType != null) { builder.OpenComponent(0, moduleType); builder.AddComponentReferenceCapture(1, inst => {Convert.ChangeType(inst, moduleType); }); builder.CloseComponent();}};
@moriluca90
@moriluca90 4 жыл бұрын
Hi Tim, thanks as always for your time. I was wondering about where data should be load. For example, let's assume your task component, was going to read data from a database instead of in memory collections. Should the main page take care of it, read data and pass it to his Childs as parameter, or is better to have every child create a connection and load their own data from the source? This question always bothered me even when I worked once on WPF.
@adds-kz3oc
@adds-kz3oc 4 жыл бұрын
Why not inject a service that has uses only 1 DB connection? Invoke the service in the components, not the DB directly. Imagine an example service - IDataService. We inject the service by using the "@inject" directive on the component. For example: @inject IDataService The IDataService is an interface consisting of methods to interact with the database. This service maintains an active DB connection. The service is added via the Startup.cs of the Server. Tim has a video on this concept: kzbin.info/www/bejne/bnWxmJemnbGpl8k
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Put your data access in a class library. Have a method that returns the data (so GetPeople returns a List). Call that method from your component directly.
@moriluca90
@moriluca90 4 жыл бұрын
@@IAmTimCorey ok I see, so let's say that each component should be responsible to load and manage is own data. Thank you
@moriluca90
@moriluca90 4 жыл бұрын
@@adds-kz3oc Hi, thanks for your answer, that's exactly what I'm doing . My concern was if is a better practise to pass data already fetched by the main page to the child component, or let the component interact with the service himslef.
@queenstownswords
@queenstownswords 4 жыл бұрын
Very nice Tim! Thoughts on the components: the bootstrap portion of this gives responsive pages out of the box. Multiple components can turn a page into chaos on a small screen. Further, I would prefer to test a component as a page first, then test a page with multiple components (isolate bugs). Suggestions: I understand that .net core 3.2 and the blazor client will be released in May. Could you be so kind to give a video on the migration from 3.1 to 3.2 and a video on .net core client? I suspect there will be many youtube videos on .net core client when it is released but I like your teaching approach.
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Yes, you always need to think about who is going to use your page and design as such. In this case, our task lists would stack if you were on a phone so it would look fine. You would just need to scroll a bit more. As for upgrading to .NET Core 3.2, this demo wouldn't change much at all. Changing to Razor Client Side would change some things, though. I will be going over that as we get closer to launch.
@deathofthemagi
@deathofthemagi 3 жыл бұрын
You showed a way to view the c# in the browser. I assume that only work when debugging? Using blazor is secure? Thanks for the video!
4 жыл бұрын
Very Nice Tim !
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Thank you!
@farlopa
@farlopa 4 жыл бұрын
Excellent and very educational video as usual. Thank you for your work. Have you thought about making a video about the preview releases of upcoming .NET 5?
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I will at some point but for now it is too early to do so.
@aec_corp
@aec_corp 4 жыл бұрын
Hi. When does your course Blazor Webassembly be online ? Thanks
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Probably in August.
@allanmaynard576
@allanmaynard576 3 жыл бұрын
Awesome video, Blazor is going to be a game-changer !!! Question: can the components on a page share data with the main page and each other? Thanks !!
@allthecommonsense
@allthecommonsense 3 жыл бұрын
Yes. Can pass parameters into components, and components can emit events back to main page.
@patrik1344
@patrik1344 4 жыл бұрын
This is outstanding :) I've been building some apps in asp.net core with some simple CRUD actions. Do you think it's a better decision to learn blazor instead?
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
I think both have their place. Don’t learn only one web UI. Learn all five ASP.NET Core web project types.
@BarriDuty
@BarriDuty 3 жыл бұрын
38:02 when you say from a db, what else do you need to get the new updated tasks as soon as they are updated or inserted on the database?
@IAmTimCorey
@IAmTimCorey 3 жыл бұрын
I'm assuming you mean that someone else updates the database and you want your screen to reflect that. If so, you would need to poll the database or create a service that watches for database changes and triggers an update on your computer. Usually this is done using SignalR to tell the UI that a change has been received. The database polling or listening for database events is up to you.
@facundopugliese9632
@facundopugliese9632 3 жыл бұрын
Hi Tim, thanks for this video! How can I do to pass data between two components does not have any relation? I mean those who do not have a parent-child bond.
@yuusource831
@yuusource831 4 жыл бұрын
I am one of those can’t afford yours courses but takes huge advantage of your free KZbin videos. Can you please do Setup.exe so that my application can be installed on other pc’s and also maybe how to get a domain for a website. I would be very glad if you could make this happen. 10^3 times grateful for your free sources 🙏🙏
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Check out my videos on MSIX and Squirrel. Both will show you how to do installers. I do plan on covering other installers. As for getting a domain and a website, stay tuned. I'll have more info about that very shortly.
@yuusource831
@yuusource831 4 жыл бұрын
All notifications are on. Thanks, I‘ll check those ones too.
@Cholo981
@Cholo981 4 жыл бұрын
Can I put a razor component like one this in an MVC view (or a Razor page)?
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
Yes you can: ml-software.ch/posts/using-razor-components-in-razor-pages-or-mv-views
@loganparker9923
@loganparker9923 4 жыл бұрын
Hi Tim, great tutorial! Quick question, what approach should I use to go about generating word/excel documents from a template using blazor? I want to gather input from the user, and use those inputs to fill out a forum which the user can then download. The closest thing I've found has been using syncfusion however it appears a license for them is quite expensive. Do you have any suggestions? Again thanks for the tutorial!
@IAmTimCorey
@IAmTimCorey 4 жыл бұрын
You will probably have to use a third-party system. You might try EPPlus for Excel (but they don't do Word). They still cost, though. Syncfusion does have a free version for personal and limited commercial use, so that can get you started. If you are using this for a business, though, you are probably going to need to pay for it.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 157 МЛН
Blazor RenderFragment
23:11
Coding Tutorials
Рет қаралды 2,5 М.
Top 5 Free Blazor Resources (plus a couple of extras)
17:32
IAmTimCorey
Рет қаралды 74 М.
Localization in Blazor Server - How To Change Languages and Cultures
1:20:15
Forget Controllers and Minimal APIs in .NET!
14:07
Nick Chapsas
Рет қаралды 76 М.
The Blazor Competitor is Here!
15:08
Nick Chapsas
Рет қаралды 74 М.
How To Create a Progressive Web App with Blazor WebAssembly
30:15
10 C# Libraries To Save You Time And Energy
33:59
IAmTimCorey
Рет қаралды 208 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН