Blazor Server Components - Making Razor Components Easy to Use

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • Blazor Server allows C# developers to create single page applications (SPA) on the web without using JavaScript. One of the features of a Blazor Server is the use of Razor Components. In fact, all pages in Blazor Server are actually just components. In this video, we are going to see how to layer these components together into a flexible, powerful page. Along the way, we will identify how to pass data into components, how to style them, and more.
    Blazor Server In Depth course: www.iamtimcorey.com/p/blazor-...
    Source Code: leadmagnets.app/?Resource=Bla...
    Mailing List: signup.iamtimcorey.com/
    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
    Thanks to Ralfs HBK for the chapters breakdown

Комментарии • 308

  • @yomodomoso2046
    @yomodomoso2046 4 года назад +8

    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.

  • @napocavox
    @napocavox 4 года назад +24

    Tim, you have an extraordinary gift to teach!

  • @Funkfreed
    @Funkfreed 4 года назад +6

    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.

  • @umer.on.youtube
    @umer.on.youtube 2 года назад +6

    I have never found someone better at teaching and dotnet than you are!!! What a gem! 💛💛

    • @IAmTimCorey
      @IAmTimCorey  2 года назад +2

      Thank you!

    • @umer.on.youtube
      @umer.on.youtube 2 года назад +1

      @@IAmTimCorey Please create more videos on Blazor. Especially CRUD tutorials.

  • @colin-campbell
    @colin-campbell 4 года назад +7

    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 года назад +3

      I am glad you are getting so much value out of my content.

  • @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!

  • @brianmitchell4962
    @brianmitchell4962 3 года назад +1

    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.

  • @ben.thornhill
    @ben.thornhill 4 года назад +1

    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 года назад +1

      You are most welcome and thanks for the well-wishes.

  • @briank.daniels7939
    @briank.daniels7939 3 года назад +1

    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.

  • @malcolmLSH
    @malcolmLSH 4 года назад +1

    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!

  • @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.

  • @edjohnston3236
    @edjohnston3236 4 года назад +1

    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 года назад +1

      Right now it is a convenience thing but it really should be in its own class.

  • @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!

  • @aqua007man
    @aqua007man 2 года назад +2

    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

  • @BryanPeabody
    @BryanPeabody 4 года назад +1

    This looks great, I'm going to use it in my next project at work. Thanks for the video!

  • @theguire
    @theguire 3 года назад

    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.

  • @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.

  • @zarokoshin4090
    @zarokoshin4090 3 года назад +1

    This is awesome Tim !! I would love to see a course like TIMCO using this ! Thanks for sharing !

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад +1

      Thanks for the recommendation. I have added it to Tim's list of viewer suggestions for videos.

  • @mlukatchik
    @mlukatchik 3 года назад +1

    Excellent quality, Tim. Your lessons are helpful!

    • @IAmTimCorey
      @IAmTimCorey  3 года назад

      Thanks Mike! You doing well?

  • @fuzzylilpeach6591
    @fuzzylilpeach6591 4 года назад +1

    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!

  • @torrvic1156
    @torrvic1156 10 месяцев назад

    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!

  • @talkathiriify
    @talkathiriify 4 года назад

    Excellent and well explained.
    Thank you very much Tim, and please stay safe!!!

  • @moniksidhpura9427
    @moniksidhpura9427 9 месяцев назад

    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....

  • @ianjeffery3762
    @ianjeffery3762 4 года назад +1

    Great Video. Loving the Blazor Server course too.

  • @HemmingEducation
    @HemmingEducation Год назад +1

    This is great. Clearly presented and well explained- thanks!

  • @thewakster5846
    @thewakster5846 4 года назад +1

    Great job Tim. Components behave same way as customized user interfaces we used to build in ASP.Net

  • @anomalii7720
    @anomalii7720 3 года назад

    Whooo, very very nice Tim.
    Love it, and gonna use it !!

  • @hamouz718
    @hamouz718 4 года назад

    Dude, your tutorials are superb!

  • @brightontandabantu
    @brightontandabantu 2 года назад +1

    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!

  • @zoltanjanosjanosi2025
    @zoltanjanosjanosi2025 4 года назад

    Nice tutorial, I was just looking for something like that.

  • @richardshi1896
    @richardshi1896 3 года назад

    An excellent lecture on explaining the COMPONENT of Blazor.

  • @4bitmultiplexer
    @4bitmultiplexer 4 года назад +1

    I like your attitude towards learning and programming...

  • @janekkelenkamp9551
    @janekkelenkamp9551 2 года назад

    Yes, yes I am a blazor components fan at long, last. Fantastic module service, great tutor. Thanks Tim Bo(u)

  • @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.

  • @Lerklinten
    @Lerklinten 3 года назад

    I love these components.. Great job Tim

  • @brunomarkman2107
    @brunomarkman2107 3 года назад

    Tim, this is a very nice feature for Blazor. Thanks for instruct us.

  • @luismendez9436
    @luismendez9436 4 года назад

    oh man, these components are something great!. Thank you.

  • @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!

  • @AkshaySrinivasan123
    @AkshaySrinivasan123 4 года назад

    Very well explained! Good Job!! Thank you!!!

    • @IAmTimCorey
      @IAmTimCorey  4 года назад

      You are most welcome. Thanks for watching.

  • @weirdbuggames
    @weirdbuggames Год назад +1

    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

  • @bidy4
    @bidy4 3 года назад

    Thank you for defining the terms.

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +1

      Always! I try to make learning easy.

  • @mastercompuk
    @mastercompuk 4 года назад +1

    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.

  • @khwong98
    @khwong98 3 года назад

    Awesome presentation. Appreciate you share it.

    • @IAmTimCorey
      @IAmTimCorey  3 года назад

      Thank you and you are welcome.

  • @Kerreber
    @Kerreber 3 года назад

    very useful and very well explained, thanks!

  • @cryptodaddy79
    @cryptodaddy79 3 года назад

    Very well explained. It is really fun to follow! :)

  • @jvusa
    @jvusa 3 года назад

    Thanks a lot Tim, Very helpful Videos.....

  • @scwyldspirit
    @scwyldspirit 3 года назад

    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  3 года назад

      Give it a try and let us know how it goes! I am sure you can do it.

  • @RalfsBalodis
    @RalfsBalodis 3 года назад

    Very nice. Tempted to try out!

  • @teamomiparientes3769
    @teamomiparientes3769 2 года назад

    Worth to watch...thank you

  • @jonchicoine
    @jonchicoine 3 года назад +1

    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  3 года назад +1

      Thank you! ... and I added your suggestion to me list.

  • @forxynet
    @forxynet 4 года назад

    Hi Tim thanks for wonderful sample

  • @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 года назад +1

      I will add it to the list. Thanks for the suggestion.

  • @fadge316
    @fadge316 4 года назад

    Blazor is fantastic. Thanks for sharing

  • @dahliaspumpski5837
    @dahliaspumpski5837 3 года назад

    Great video man thanks for the help

  • @fakeITDevTeam
    @fakeITDevTeam Год назад +1

    I wish i could explain something deep and detail just like you do. Thank you

  • @trustingod0
    @trustingod0 2 года назад +1

    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 !!!

  • @TheDerpsFinest
    @TheDerpsFinest 3 года назад

    Great video, super informative

  • @cinemacentromegasala3869
    @cinemacentromegasala3869 2 года назад

    Really wonderful! Thanks! César

  • @cpoppinz12
    @cpoppinz12 4 года назад +2

    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 года назад +1

      I will add it to the list. Thanks for the suggestion.

    • @Kerreber
      @Kerreber 3 года назад +1

      same question here!

  •  4 года назад

    Very Nice Tim !

  • @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.

  • @pietsmitsa
    @pietsmitsa 3 года назад +2

    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?

  • @RalfsBalodis
    @RalfsBalodis 3 года назад +4

    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 года назад +4

      Thanks again! Over 50 videos so far. You are amazing!

  • @anishravindran7545
    @anishravindran7545 3 года назад +1

    Great one !!!

  • @markopavic7318
    @markopavic7318 4 года назад

    This look so nice for c# developers

    • @IAmTimCorey
      @IAmTimCorey  4 года назад +1

      It really is a great option.

  • @antonydenahy744
    @antonydenahy744 2 года назад

    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.

  • @amra6402
    @amra6402 4 года назад +1

    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 года назад +2

      I can add that to the suggestion list.

  • @verttix
    @verttix 4 года назад +2

    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 года назад +2

      I'll be doing some deep-dives on Blazor in the near future. I'll add that to the list of things to cover.

  • @johnmaus9178
    @johnmaus9178 2 года назад +1

    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  2 года назад +1

      I am glad it was so helpful.

  • @aky20000
    @aky20000 2 года назад

    Thank you Tim

  • @JoeBonez
    @JoeBonez 4 года назад +1

    “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 года назад +1

      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.

  • @abinnouranas5719
    @abinnouranas5719 4 года назад +1

    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 года назад +2

      It is on my want to do list but I need to invest more time to learn more about it before I teach it.

  • @MumBorne
    @MumBorne 5 месяцев назад

    Great!! You have a new Subscriber 🙂

  • @vidmantasvalaitis392
    @vidmantasvalaitis392 2 года назад +1

    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 года назад +1

      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.

  • @mosesatpascolo
    @mosesatpascolo 4 года назад

    Tim, thanks so much,

  • @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.

  • @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.

  • @Uri18
    @Uri18 4 года назад

    awesome! thanks so much

  • @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!

  • @allanmaynard576
    @allanmaynard576 2 года назад

    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 2 года назад

      Yes. Can pass parameters into components, and components can emit events back to main page.

  • @Baraka-yl2dp
    @Baraka-yl2dp 4 года назад +1

    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 года назад +1

      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.

  • @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

  • @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.

  • @patrik1344
    @patrik1344 4 года назад +1

    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 года назад +1

      I think both have their place. Don’t learn only one web UI. Learn all five ASP.NET Core web project types.

  • @TheJessejunior
    @TheJessejunior 4 года назад

    hi tim! i´d like to know if in the paid course we can ask you any questions that we have in the tecnology in case we´re trying to do something slightly diferent of the tutorial...
    thanks for all the great contents that you always share.

    • @IAmTimCorey
      @IAmTimCorey  4 года назад +1

      You can definitely email me questions. I don't have time to give specific answers but I can usually point you in the right direction. I am working on a course-specific forum as well.

  • @endercn6871
    @endercn6871 2 года назад

    Thank you so much

  • @marcs8325
    @marcs8325 Год назад

    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.

  • @caplens_apps
    @caplens_apps 3 года назад

    Thanks a lot !

  • @DavidWilliams-ue8bk
    @DavidWilliams-ue8bk 2 года назад

    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  2 года назад

      I will add it to the list. Thanks for the suggestion.

  • @TheJessejunior
    @TheJessejunior 4 года назад

    hey tim, I just got into your blazor course! and i´m very excited with it,because I´ve always struggled on learning javascript.... reading in the net i´ve seen something about using blazor to write mobile apps and got curiurs about xamarins future.... that´s because i´m also learning xaml... do you think xaml will loose it´s worth with blazor growing? thanks again

    • @IAmTimCorey
      @IAmTimCorey  4 года назад +2

      I don't think so. I don't see Blazor as competition to Xamarin or WPF/UWP. Instead, I see it as a complementary option. We now have more of a spectrum of options. That's a good thing. There is no one perfect option for every scenario so having multiple means we cover more scenarios better.

  • @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.

  • @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 года назад +1

      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.

  • @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 года назад +1

      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.

  • @teamomiparientes3769
    @teamomiparientes3769 2 года назад

    Thanks!

  • @nlomdy
    @nlomdy Год назад

    Thank you

  • @after2003
    @after2003 3 года назад

    I would love to see a video on adding blazor components to an existing ASP.net core MVC application.

  • @viviaci
    @viviaci 4 года назад

    Thanks Tim. I'd be curious about a database update event triggering without having to refresh the page to see that update. Is that something that is possible?

    • @IAmTimCorey
      @IAmTimCorey  4 года назад

      It is tricky but possible. You can listen to the database changes via an event and then trigger the change or you can periodically check the database for changes and, if there are some, update the page.

  • @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 года назад +1

      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.

  • @acidhauss7018
    @acidhauss7018 4 года назад

    Was hoping you'd do a java one for april fools! :)

    • @IAmTimCorey
      @IAmTimCorey  4 года назад +3

      Excellent suggestion! Maybe next year.

  • @khalid580
    @khalid580 3 года назад

    Great!
    Can you do a tutorial on dynamic form generation based upon xml/jason feed or data from db?

    • @IAmTimCorey
      @IAmTimCorey  3 года назад

      Topic suggestion noted and added to my list, thanks.