![Brian Lagunas](/img/default-banner.jpg)
- 170
- 1 199 429
Brian Lagunas
United States
Registrace 16. 12. 2011
Hello, I'm Brian Lagunas. I'm a Microsoft MVP, a Xamarin MVP, a Microsoft Patterns & Practices Champion, co-leader of the Boise .Net Developers User Group (NETDUG), board member of Boise Code Camp, speaker, trainer, and Pluralsight author. I also own and maintain the very popular Prism Library.
My channel is all about teaching you insanely simple coding tips, tricks, and techniques that you can use to improve your software development skills and take your applications to the next level.
I like to talk about design patterns and best practices, Prism, WPF, Xamarin.Forms, Blazor, Angular, React, Vue, Flutter, tooling, and many other geeky things.
So, if you're a developer that is interested in what I talk about, make sure to subscribe to my channel right now.
My channel is all about teaching you insanely simple coding tips, tricks, and techniques that you can use to improve your software development skills and take your applications to the next level.
I like to talk about design patterns and best practices, Prism, WPF, Xamarin.Forms, Blazor, Angular, React, Vue, Flutter, tooling, and many other geeky things.
So, if you're a developer that is interested in what I talk about, make sure to subscribe to my channel right now.
Hack GitHub! Find Anyone's Email with this Simple Trick!
In this video, I will show you one simple trick to hack GitHub and find anyone's email.
What if I told you, that if you have ever committed a single line of code to GitHub, I can hack GitHub and find your email. Well I can, and in this video I will show you how to hack GitHub and find anyone's email. I will also show you hw you can protect yourself and hide your email from people trying ot use this GitHub hack.
To be honest, you don't actually hack GitHub to find someone's email. Instead, you look at the commit patch by appending ".patch" to the end of the commit URI. By adding ".patch" to the end of the commit URI, you will see the email that was used to commit the code to GitHub.
To protect your email from the GitHub hack. Simple go into your account settings, select the "Emails" menu item, and then check the box that says "Keep my email addresses private". Once you click this box, your private email will no longer be used in your future commits.
Be sure to watch my new Pluralsight course "Introduction to Prism for WPF":
📺 bit.ly/PrismForWpf
Sponsor Me on GitHub:
🙏🏼 bit.ly/SponsorBrianOnGitHub
Follow Me:
🐦 Twitter: bit.ly/BrianLagunasOnTwitter
📖 Blog: bit.ly/BrianLagunasBlog
What if I told you, that if you have ever committed a single line of code to GitHub, I can hack GitHub and find your email. Well I can, and in this video I will show you how to hack GitHub and find anyone's email. I will also show you hw you can protect yourself and hide your email from people trying ot use this GitHub hack.
To be honest, you don't actually hack GitHub to find someone's email. Instead, you look at the commit patch by appending ".patch" to the end of the commit URI. By adding ".patch" to the end of the commit URI, you will see the email that was used to commit the code to GitHub.
To protect your email from the GitHub hack. Simple go into your account settings, select the "Emails" menu item, and then check the box that says "Keep my email addresses private". Once you click this box, your private email will no longer be used in your future commits.
Be sure to watch my new Pluralsight course "Introduction to Prism for WPF":
📺 bit.ly/PrismForWpf
Sponsor Me on GitHub:
🙏🏼 bit.ly/SponsorBrianOnGitHub
Follow Me:
🐦 Twitter: bit.ly/BrianLagunasOnTwitter
📖 Blog: bit.ly/BrianLagunasBlog
zhlédnutí: 17 280
Video
Adding Dynamic Properties: ExpandoObject vs DynamicObject
zhlédnutí 17KPřed 2 lety
In this video, I answer the question "how to add dynamic properties to objects in c#" Adding dynamic properties to objects in C# is actually pretty easy. There are primarily two ways for adding dynamic properties to objects in C#. One way to add dynamic properties in C# is to use the ExpandoObject. The other way to add dynamic properties is to use a custom DynamicObject. Adding dynamic properti...
MVVM Dialogs: Showing Dialogs in an MVVM Application with a Dialog Service
zhlédnutí 24KPřed 2 lety
In this video, I answer the question "How do I show Dialogs in an MVVM application?" Showing dialogs in an MVVM application is a very common requirement. MVVM dialogs are actually core to any MVVM application. In this video, I show you how to use an MVVM Dialog Service to abstract away the process of creating and showing dialog objects from within a ViewModel. The first step in showing dialogs ...
FREE Pluralsight Weekend - 11/19 to 11/21
zhlédnutí 678Před 2 lety
FREE Pluralsight Weekend!!! Get a FREE weekend of Pluralsight NOW! Want to learn something new? Now's your chance! Pay nothing, learn everything! pluralsight.pxf.io/c/2385426/1192599/7490 Watch all the training videos you can fit between 11/19/2021 and 11/21/2021. Be sure to watch my new Pluralsight course "Introduction to Prism for WPF": 📺 bit.ly/PrismForWpf Sponsor Me on GitHub: 🙏🏼 bit.ly/Spo...
Uno Conf Commercial - Infragistics Ultimate UI for Uno Platform
zhlédnutí 950Před 2 lety
This is a commercial I recorded for the Uno Conf 2021 event that is set to air on Nov 30th. Initially this was 2 minutes and 48 second long. Too bad I was only allowed 2 minutes LOL. So I had to edit the ending abruptly, but I don't think it too bad. What do you think? If you want to watch the event, you can register and watch here: unoconf.com/ Of course if you want to try out the Infragistics...
I'm Back! What I've been doing and what I'm working on next!
zhlédnutí 1,6KPřed 2 lety
I know it's been a long time since I have uploaded a video. I've had a lot going on in my life which prevented me from having the time to create content. The good news is that I am freeing up some time to start working on more content. The first will be writing an Angular app from scratch. Help me choose if I should live stream the app building, or pre-record it instead. Be sure to watch my new...
C# Async Yield Return: IAsyncEnumerable will change your life!!!
zhlédnutí 26KPřed 3 lety
C# Async Yield Return: IAsyncEnumerable will change your life!!!
C# Yield Return: What is it and how does it work?
zhlédnutí 54KPřed 3 lety
C# Yield Return: What is it and how does it work?
Task vs ValueTask: When Should I use ValueTask?
zhlédnutí 19KPřed 3 lety
Task vs ValueTask: When Should I use ValueTask?
This Tweet Pissed Me Off - Learn to Code the Right Way
zhlédnutí 3,1KPřed 3 lety
This Tweet Pissed Me Off - Learn to Code the Right Way
Should I Live Stream on Twitch or YouTube?
zhlédnutí 434Před 3 lety
Should I Live Stream on Twitch or CZcams?
FREE Pluralsight Weekend - 11/20 to 11/22 (Last of the Year)
zhlédnutí 433Před 3 lety
FREE Pluralsight Weekend - 11/20 to 11/22 (Last of the Year)
Blazor Cascading Dropdown Not Working with InputSelect
zhlédnutí 3,8KPřed 3 lety
Blazor Cascading Dropdown Not Working with InputSelect
Prism Region Not Found Exception in WPF
zhlédnutí 2,2KPřed 3 lety
Prism Region Not Found Exception in WPF
Integrating the Prism for Uno Project Template in Visual Studio
zhlédnutí 1,1KPřed 3 lety
Integrating the Prism for Uno Project Template in Visual Studio
Creating a Prism for Uno Project Template
zhlédnutí 1,7KPřed 3 lety
Creating a Prism for Uno Project Template
FREE Pluralsight Week - 10/12 to 10/18
zhlédnutí 506Před 3 lety
FREE Pluralsight Week - 10/12 to 10/18
Dynamically invoking a generic method with Reflection in .NET C#
zhlédnutí 17KPřed 3 lety
Dynamically invoking a generic method with Reflection in .NET C#
Prism Template Pack Updates and a Blazor Dock Manager
zhlédnutí 1,2KPřed 3 lety
Prism Template Pack Updates and a Blazor Dock Manager
So TL;DR, UI = true, Library = false. What happens when Library code is used in a UI?
Hi Bryan, This was a really helpful video in trying tog et my head around MVVM, but scrolling through the comments it looking for ways to add data to the dialog box. I.E. I want an exception window that provides a call stack and exception message and a Title as Parameters I send in to be displayed and I have more generic Dialog box that does not need anything but a message. The only solution I saw was make an overload to the show dialog with more parameters and restrict your Views to those with View models that have this interface. This feels... Overly complex and brittle. Each time a new Dialog bog with a new Input configuration is created we need to ake a new interface for that ViewModel and then make sure the view specifed for the show dialog has a view model of that interface type. is that correct? At that point it starts to feel clunky... Do you have any better solutions?
Great video. I hope you start making videos again!
I See states machines where? Everywhere
thank you a lot for the tutorial yet it throws me and error: The non-generic type 'IAsyncEnumerable' cannot be used with type arguments IAsyncEnumerable<string>
such a complicated concept taught so easily, wow, appreciate it
How can I clone this teacher and spread him to all IT institutions?
Another brilliant video, hope you will come back to teach us more! Thank you
Very very good explanation, thanks a lot
Good one thanks :)
Nice!
Excelent video! The best explanation!
Thanks for watching
Thank you for this video.. You explained everything so clearly.
Thank you very much.
Can one add dropdown menu in cell? Thanks for the wonderful video.
why you are soo good at teaching ? dayuuum i swear i'm not just complimenting you , your teaching method is clear and straight to the point which is something we often miss IRL in schools, and also online .
Thank you so much for the kind words. I appreciate you
I lean towards the 1s option, but my question is: how do I execute code that's posted on GitHub by someone else? They've organized it into different packages, and these packages are called in the subsequent code. However, when I attempt to run the code, the packages aren't recognized
Awesome explaination. I failed to understand other explainations of this type but yours was clear and easy to understand.
Great explaination. I try to avoid async void when ever possible. The only place I've seen it used have been in developement with Winforms but nonetheless a good solution to the problem.
Hello Brian, thanks for your valuable content. I suggest including the DependentView attribute and the region behavior internally in the prism library as a feature included within the library (battery included).
24:30 where homepage starts
That is incredibly helpful. The idea of using Yield Return when you are unsure how much data you may be going over is especially helpful.
Okay how can i find the password?
Hi Brian! We are using Prism MAUI, what if you need to refresh a page with tab views and its structured in a way that each tab has a command to be executed that refreshes its own content that the parent page can invoke, and each command may require a different parameter provided, can the Composite Command handle this type of situation? I don't currently see a way to do so but then maybe I am not using it as intended.
26min to show how to display a simple dialog. Winforms was ahead of his time.
I am interested in how .NET knows how to treat IEnumerable and IQueryable. Maybe to the point - when I am accessing some entities, for instance from the EntityFramework like so: `IEnumerable<Person> people = dbContext.People;` then it's clear how it will behave but things are getting interesting when I will cast to the `IQueryable<Person>` -> `var peopleQueryable = (IQueryable<Person>)people;`. It still knows the difference and makes queries different. So for instance we add some Where instruction then it will fetch the data and then it will calculate it in the memory but for IQueryable it will add the WHERE statement to the SQL query instead of fetching all the data.
Thanks Brian - very helpful. I tried for days with DevExpress DialogSrvice and just coludn't find a way to resize them - that was the only problem! Learning to "hand roll" them has great beneift.
So clear Brian
When the if condition becomes false, then the task is skipped, but the task should not be skipped until the condition becomes true.
get on with it!
Jonny333 you'll see it
Brian ! Please help me! This guy hacked me then put up a video of it! Complaining that he couldn't get into my phone! Wtf!? This A*sMonkey! Stopped me from having my hearing at unemployment and now they want me to pay them $23k?
great tutorial!!!!
4:12 😂
is there any reason using Activator CreateInstance not a new T()
bravo!
I like your method to open any dialogue from the viewmodel i used it on xamrin forms but the pages freeze until the viewmodel load and get all data from database my question is how to load the page fast then let the viewmodel do his staff then update the UI so my view or page not get freeze, thanks in advance
У меня не возникает DeadLock как в конце видео, хотя я сделал всё идентично. Я не понимаю почему он должен возникнуть. Почему .ConfigureAwait(true) вдруг должен ждать какого-то ответа от UI потока? Если мы говорим этим выражением, что хотим продолжать код в UI потоке. По логике второй поток должен выполнить дополнительный процесс, закрыться и передать управление обратно UI потоку. С чего бы второму потоку при await ждать первый?
[HttpGet(Name = "GetWeatherForecast")] public async Task<IEnumerable<WeatherForecast>> Get() { Task x = DoWork(); x.Wait(); return Enumerable.Range(1, 5).Select(index => new WeatherForecast { Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)), TemperatureC = Random.Shared.Next(-20, 55), Summary = Summaries[Random.Shared.Next(Summaries.Length)] }) .ToArray(); } private async Task DoWork() { Console.WriteLine("Work started"); await Task.Delay(5000); Console.WriteLine("Work finished"); }
Very clear explanation, thank you!
Thanks for watching
What a great channel 🤩
Thank you!
What if I don’t/can’t use polling? Like a db task which may take too long n I just want to timeout?
is this project considered as intermediate - hard ? i started c# wpf about a month ago and I'm wondering if this project is a good way to start & learn Prism as well as WPF
yeah .. no. This video is so wrong. "why async void" is bad (He is still using async void). "How do I await task in Ctor" (He is still not awaiting the task).
hi brain . what about having splash screen and login and main . since in winforms i used to do splash screen to load dlls for me and checking the database connection and more . how should i close the splash screen and open the login and when logged in i close the login and open main form ?
Is there a good deep dive video on the reasons for NOT nesting ViewModels? It sounds like performance issues when having many delegates, which I can understand, but.. can't you still just have a ViewModel that can just do exactly what you do here? I'm really struggling with reconciling general MVVM theory and Prism, where it seems like Prism has Models (that are really just ViewModels in disguise) that bleed all over into UI handling business. Is this just to protect the 1-to-1 View and ViewModel concept and avoid confusion around registering? Or is it a redundancy thing where the Models and ViewModels end up always being so similar that it just makes sense to always bind directly to business objects (which in turn can jack with validation stuff and all sorts of other things). It seems like Models should be ultra vanilla, ultra simple business objects (that you might not even have control over at times!), but what seems to happen in Prism is Models just take on more and more "dressing" for view stuff and just become VMs essentially. Or, on the flip side, the single ViewModel needs to get crazy to handle the "dressing" stuff.
Ngl, I really love Java and I am getting into C#, but this is a game changer. Pretty sure you could do something similar in Java, but probably not with Java's default syntax.
Great video and tutorial. The latest version of Blazor with .NET 8 allows us to interact with this radial gauge component without having to write a JS function, and without using any JS InterOps. To do this, we include @rendermode InteractiveServer at the top of the razor file, then for example, we change value="25" to say value="@getCurrentValue()", then taking your onClick function within the @onclick event within the button, we write the following in the @code section: @code { public int currentValue = 35; public void onClick() { currentValue = 45; } public int getCurrentValue() => currentValue; }
Great explanation. Just a quick question, performance wise which is better Dynamic object or ExpandoObject when dealing with large data?
Incredible video, thank you for sharing :)
why the canada president make video on CZcams >😂<
I had some free time 🤣🤣🤣
in 2024 still works :) Thankss a lot
Awesome! Great to hear