Тёмный

Blazor Server Components - Making Razor Components Easy to Use 

IAmTimCorey
Подписаться 421 тыс.
Просмотров 76 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 310   
@umer.on.youtube
@umer.on.youtube 2 года назад
I have never found someone better at teaching and dotnet than you are!!! What a gem! 💛💛
@IAmTimCorey
@IAmTimCorey 2 года назад
Thank you!
@umer.on.youtube
@umer.on.youtube 2 года назад
@@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.
@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.
@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.
@napocavox
@napocavox 4 года назад
Tim, you have an extraordinary gift to teach!
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you!
@aky20000
@aky20000 2 года назад
Thank you Tim
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@cryptodaddy79
@cryptodaddy79 3 года назад
Very well explained. It is really fun to follow! :)
@IAmTimCorey
@IAmTimCorey 3 года назад
Glad it was helpful!
@MumBorne
@MumBorne 7 месяцев назад
Great!! You have a new Subscriber 🙂
@IAmTimCorey
@IAmTimCorey 7 месяцев назад
Welcome aboard!
@goodmanshawnhuang
@goodmanshawnhuang 3 года назад
Thanks
@IAmTimCorey
@IAmTimCorey 3 года назад
Thank you!
@trustingod0
@trustingod0 2 года назад
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 !!!
@oldclient
@oldclient 2 года назад
Blazor Server needs more love. The tech is underestimated after I learn more and more about it. It's something between Angular and Vue components on the server side. Blazor WebAssembly isn't so effective at current version.
@IAmTimCorey
@IAmTimCorey 2 года назад
I'm not sure what exactly you are looking for from Blazor that isn't in place yet, but Microsoft has committed to significantly improving it with every new release of .NET.
@oldclient
@oldclient 2 года назад
@@IAmTimCorey I mean it's underestimated by developers. In NA more popular is React while worldwide is Vue and similar frameworks. I know that Blazor Server app can't be compared with the mentioned frameworks at least because it's full-stack. I see the tech has many strong and unique tools. I'm not competent enough to make some remarks about what isn't in place yet. I just can point that lately (in .NET 6) Microsoft made some huge improvements to the framework security and performance. Finally LINQ performance is increased. Also I'm not sure about the state of Blazor Cascading values and parameters for two-way binding. Is it in good condition? The problem of "Prop drilling" changed many front-end frameworks fundamentally. Back in the days React implemented new tools like State hook. Vue 2 Options API has Vuex, but beginning from Vue 3 they changed the entire framework to Composition API and recommend to use Pinia instead of Vuex. To solve this they made a "global Scope" for all components to handle events and properties. Blazor WebAssembly has near the same performance as frameworks with virtual DOM and this is a point.
@teamomiparientes3769
@teamomiparientes3769 2 года назад
Thanks!
@IAmTimCorey
@IAmTimCorey 2 года назад
Thank you!
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8DNgdphLvag.html
@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.
@aec_corp
@aec_corp 4 года назад
Hi. When does your course Blazor Webassembly be online ? Thanks
@IAmTimCorey
@IAmTimCorey 4 года назад
Probably in August.
@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.
@ecepcahyudin9850
@ecepcahyudin9850 4 года назад
this is a great video Tim. I learned a lot from this video. but I'm always still a little confused when you say everything is done on the client side. even though you have also explained that everything is done using the signal r then the server sends the necessary changes. but still I always feel confused when you say everything is done on the client side.
@IAmTimCorey
@IAmTimCorey 4 года назад
All of the display "stuff" (adding items to the list visually, changing between screens, etc.) is done on the client (or appears so). There is not a full page refresh anywhere (like there would be in a server-side app like ASP.NET Core MVC). So from the user's perspective, everything happens on the client. In reality, the client sends data to the server via SignalR and then gets data back the same way but that all happens behind the scenes.
@Uri18
@Uri18 4 года назад
awesome! thanks so much
@IAmTimCorey
@IAmTimCorey 4 года назад
You are welcome.
@giacomogiovenale3501
@giacomogiovenale3501 3 года назад
great thks
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 года назад
Thanks for watching and trusting Tim to help expand your skills
@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.
@rajeshdua558
@rajeshdua558 4 года назад
I am developing a real product (launching soon) using Blazor server app. I have found an issue. I cannot open the app in more than 5 tabs at the same time. This app I am developing will be used by thousands of people. Am I going to run into an issue with concurrent connections?
@IAmTimCorey
@IAmTimCorey 4 года назад
Nope, you should be fine. It may be a limitation of IISExpress (or Kestrel). Depending on the size of your web host, you can have 20,000+ concurrent connections. If you need more than that (you almost certainly don't even if you had hundreds of thousands of users), you can offload the SignalR portion onto Azure's SignalR service for even more scale.
@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.
@pylvr8021
@pylvr8021 4 года назад
Amazing as always thanks Tim, i have a small request if possible it will be nice if you show you face in the right corner of the screen. It makes the video more alive
@IAmTimCorey
@IAmTimCorey 4 года назад
I'll consider it. Thanks for the suggestion.
@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!
@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.
@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!
@jonchicoine
@jonchicoine 3 года назад
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 года назад
Thank you! ... and I added your suggestion to me list.
@imanqoly
@imanqoly 2 года назад
Your video is full of "O moments" for learner
@IAmTimCorey
@IAmTimCorey 2 года назад
Excellent!
@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.
@chillbro2275
@chillbro2275 4 года назад
I'm excited about blazor because it is a C# option so I dont' have to learn a JS framework. I can stay in C#, and stay in ASP.NET.
@IAmTimCorey
@IAmTimCorey 4 года назад
It does make it a lot easier to reuse your skills.
@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.
@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.
@sherif4csharp
@sherif4csharp 4 года назад
Dear Tim, I am looking for lessons related to asp.net core clean architecture including DDD and mediator pattern. I am sure you will make these complex topics easy. 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.
@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!
@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!
@moniksidhpura9427
@moniksidhpura9427 11 месяцев назад
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....
@biyankaperera1443
@biyankaperera1443 4 года назад
Hi Tim, You have great skills in teaching and also you have a vast knowledge of the subject. I learnt a lot of things about .Net Core just by watching your tutorials. Keep up the good work mate. I would love to subscribe to your paid learning channels to support you, unfortunately, I am not in a good financial situation to make that commitment yet but one day I will. English is my second language so you may find awkwardness in this comment, so please ignore them :) I was watching one of your tutorials about Blazor Client-Side but couldn't complete it as I couldn't install the preview version of VS2019 so I wanted to wait for the official release. Since it's released now I wanted to continue your tutorial but I couldn't find it anymore in your channel. Have you removed it? Thank you for sharing your IT knowledge and help us learn for free Tim, I personally appreciate highly of your work and effort. Cheers!
@IAmTimCorey
@IAmTimCorey 4 года назад
I haven't done a Blazor Client video yet. I did do a video on Blazor Server when it was in preview, but I removed that once I added the production Blazor Server videos. I will be adding a Blazor WebAssembly (Client) video soon.
@biyankaperera1443
@biyankaperera1443 4 года назад
@@IAmTimCorey Thank you so much Tim
@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.
@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.
@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
@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!
@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.
@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
@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.
@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.
@technics6215
@technics6215 Год назад
Is this technology still alive? I'm trying it with .NET 6 and .NET 7 and components are not rendered, I'm getting "raw html", instead of the content of this component.
@IAmTimCorey
@IAmTimCorey Год назад
Yes, this is still the way it works. If it isn’t being rendered, check the extension of the file and make sure to check the other details.
@babarkhalid2746
@babarkhalid2746 3 года назад
Hi Tim Corey, Have you tried XAF Blazor?
@fakeITDevTeam
@fakeITDevTeam Год назад
I wish i could explain something deep and detail just like you do. Thank you
@IAmTimCorey
@IAmTimCorey Год назад
You are welcome.
@DigitalNomadOnFIRE
@DigitalNomadOnFIRE Год назад
Cool, you seem to have a total lack of Blazor Server content - any chance of making more? IMHO it's the best combination of client/server and fast to develop for smaller sites.
@IAmTimCorey
@IAmTimCorey Год назад
I'm wondering if you used the wrong search terms or something. I have tons of Blazor Server content. Here is a search for that on this channel: www.youtube.com/@IAmTimCorey/search?query=blazor Also, I have a full course free here on RU-vid that uses Blazor Server: ru-vid.com/group/PLLWMQd6PeGY0cZFMqx5ijmdaD87sJKCsU I also have the Blazor Server From Start to Finish course on my site: www.iamtimcorey.com/salespage.html?course=in-bzs-01
@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.
@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.
@tevolutionYT
@tevolutionYT 4 года назад
Do you have signalR tutorial? If you don't have any please make a tutorial about signalR in Blazor
@IAmTimCorey
@IAmTimCorey 4 года назад
Not yet but I plan to. There isn't much to cover in Blazor since it is just handled for you. I'll definitely be doing a SignalR video soon though.
@tevolutionYT
@tevolutionYT 4 года назад
@@IAmTimCorey Thank you sir. I really need one of your signalR video!! I don't know why I only understand your video. Respect from my heart
@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!
@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!
@waynehawkins654
@waynehawkins654 Год назад
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.
@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.
@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!
@coolwaterdvr
@coolwaterdvr 4 года назад
How pass a variable from a Component to another Component (Page to Page) without using the route parameter method? Ala Viewbag?
@IAmTimCorey
@IAmTimCorey 4 года назад
Passing items from one page to another is the best option, even if it is an object with lots of items inside it. If you really need to pass things another way, you can look into Singletons or Scoped classes that both pages access (not ideal, nor clean).
@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!
@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!
@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.
@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();}};
@anishravindran7545
@anishravindran7545 4 года назад
Great one !!!
@IAmTimCorey
@IAmTimCorey 4 года назад
Thanks ✌️
@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.
@mlukatchik
@mlukatchik 4 года назад
Excellent quality, Tim. Your lessons are helpful!
@IAmTimCorey
@IAmTimCorey 4 года назад
Thanks Mike! You doing well?
@HemmingEducation
@HemmingEducation 2 года назад
This is great. Clearly presented and well explained- thanks!
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@BryanPeabody
@BryanPeabody 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.
@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.
@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!
@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.
@jvusa
@jvusa 3 года назад
Thanks a lot Tim, Very helpful Videos.....
@IAmTimCorey
@IAmTimCorey 3 года назад
You are welcome.
@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!
@rodrigo6459
@rodrigo6459 4 года назад
When trying to create a new Blazor app i'm not getting the ASP.NET Core 3.1 option in the dropdown, just the .NET Core 3.1 and .NETcore 3.0!... what i´m missing here?
@IAmTimCorey
@IAmTimCorey 4 года назад
It may be your version of Visual Studio. Just select the .NET Core 3.1 and you will be set.
@rodrigo6459
@rodrigo6459 4 года назад
@@IAmTimCorey Well.. it worked... actually i asked because i got a VERY different web site, it was all in white color, nothing even close to what you where showing here, i was even missing some folders, like data and shared.
@yuusource831
@yuusource831 4 года назад
I am one of those can’t afford yours courses but takes huge advantage of your free RU-vid 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.
@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!
@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.
@jaye7679
@jaye7679 3 года назад
How do you change the blue-purple color of the nav menu on the left, and the top bar color, and the top left section (I have an image in navbar-left)? I assume its in bootstrap.min.css but I can't find the override commands to put into the NavMenu.razor file
@IAmTimCorey
@IAmTimCorey 3 года назад
Find the CSS classes that apply to the navigation (that are changing it to purple) and override them in the styles.css file. You don't need to open up boostrap.min.css. Run the application, use the developer tools in the browser (F12) and use the select element indicator (in the top left if using Chrome dev tools) to select the navigation. See which classes change the color and override those.
@jaye7679
@jaye7679 3 года назад
@@IAmTimCoreyI used F12 and found .sidebar linear-gradient in site.css, thanks :)
@ianjeffery3762
@ianjeffery3762 4 года назад
Great Video. Loving the Blazor Server course too.
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you!
@cinemacentromegasala3869
@cinemacentromegasala3869 2 года назад
Really wonderful! Thanks! César
@IAmTimCorey
@IAmTimCorey 2 года назад
You are welcome.
@anomalii7720
@anomalii7720 3 года назад
Whooo, very very nice Tim. Love it, and gonna use it !!
@IAmTimCorey
@IAmTimCorey 3 года назад
Great!
@Kerreber
@Kerreber 3 года назад
very useful and very well explained, thanks!
@tomthelestaff-iamtimcorey7597
@tomthelestaff-iamtimcorey7597 3 года назад
We appreciate you sharing that, thanks!
@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!
@forxynet
@forxynet 4 года назад
Hi Tim thanks for wonderful sample
@IAmTimCorey
@IAmTimCorey 4 года назад
My pleasure!
@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.
@sob4655
@sob4655 3 года назад
Stick to Blazor Server Components.
@IAmTimCorey
@IAmTimCorey 3 года назад
Not sure what you mean.
@khwong98
@khwong98 4 года назад
Awesome presentation. Appreciate you share it.
@IAmTimCorey
@IAmTimCorey 4 года назад
Thank you and you are welcome.
@mov4736
@mov4736 2 года назад
How to communicate between sibling components?
@IAmTimCorey
@IAmTimCorey 2 года назад
You don't. You need to communicate up to a parent and back down or you need to put the data in a central location.
@aec_corp
@aec_corp 4 года назад
Is your course for Blazor server is 3.0 or more ?
@IAmTimCorey
@IAmTimCorey 4 года назад
It is based upon .NET Core 3.0.
@TheDerpsFinest
@TheDerpsFinest 3 года назад
Great video, super informative
@IAmTimCorey
@IAmTimCorey 3 года назад
Thanks!
@dahliaspumpski5837
@dahliaspumpski5837 3 года назад
Great video man thanks for the help
@IAmTimCorey
@IAmTimCorey 3 года назад
No problem 👍
@user-oi2kd6kv8v
@user-oi2kd6kv8v 3 дня назад
Thanks
@IAmTimCorey
@IAmTimCorey 3 дня назад
You are welcome.
@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.
@techchamp4508
@techchamp4508 4 года назад
Hello Tim, I was looking for course which on building an APP using C# .Net framework with MVC and uses API endpoints from another app as data source rather an SQL DB, do you have any course based on that or could you suggest resources??
@IAmTimCorey
@IAmTimCorey 4 года назад
The TimCo Retail Manager does a lot of this (it uses WPF instead of MVC for the front-end but it uses an API for the back-end and the front-end could be MVC if you wanted): ru-vid.com/group/PLLWMQd6PeGY0bEMxObA6dtYXuJOGfxSPx
@RalfsBalodis
@RalfsBalodis 3 года назад
Very nice. Tempted to try out!
@IAmTimCorey
@IAmTimCorey 3 года назад
Go for 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.
@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!
@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 года назад
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.
@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.
@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.
Далее
11 ming dollarlik uzum
00:43
Просмотров 681 тыс.
Top 5 Free Blazor Resources (plus a couple of extras)
17:32
Blazor RenderFragment
23:11
Просмотров 2 тыс.
10 C# Libraries To Save You Time And Energy
33:59
Просмотров 207 тыс.
The Blazor Competitor is Here!
15:08
Просмотров 71 тыс.
Intro to Blazor Controls in Syncfusion
41:39
Просмотров 15 тыс.
Blazor: Why 2024 Is The Year Of Blazor 🚀
9:40
Просмотров 25 тыс.
11 ming dollarlik uzum
00:43
Просмотров 681 тыс.