Hi Brian. Thanks for this video. Can we have this cancellation token implemented for Background Service as well - can we cancel the task via UI screen ?
@Shad0wB0X3r28 күн бұрын
Finally, i understand yield return better
@FranciscoTChavezАй бұрын
44:34, It's cleaner to check that they don't exist in the cache then to check if they do. If they don't exist in the cache, then create and insert them into the cache. After that bit of code, you just have code that assumes that the cache exists because it does. This is a single threaded method here, we don't need to worry about race conditions. This turns that if...else into just an if-statement. Also, that var was of type 'List<T>'. An 'IList<T>' doesn't have to be a 'List<T>' which is why you can't assign an 'IList<T>' to a 'List<T>'. It's find to do it the other way around because a 'List<T>' is an 'IList<T>'.
@FranciscoTChavezАй бұрын
That thing with the bad namespace assigned to "igWPF" stopped all my intellisense from working. Don't you just LOVE how Microsoft keeps improving Visual Studio.
@GELSAV777Ай бұрын
Good video. I don't get one moment. How did background thread from thread pool changed text on UI? Method DoSomething is executed fully on background thread?
@VectorMousepad8759Ай бұрын
As of June. 2024: Infragistics Nugets now have ".Trial" added at the end. It will just add a watermark over the running program. You can still use them without making an account or entering a trial thingy. Just use it like he did in the video
@VectorMousepad8759Ай бұрын
Timestamp 42:00ish - If you (like me using VS 2022) can't see the "Reference"-Icon he has under PrismOutlook. You can add the Reference by RightClicking the project PrismOutlook -> Add.. -> ProjectReference... The same window he has will pop up. Then "Rebuild" instead of "Build"
@vaporeon3442 ай бұрын
Question, do you know if it's possible to use Infragistics.Documents.Excel to find the last filled row in an Excel File? I've been trying to use that for data, and have had a slight bit of trouble.
@MrMatthewLayton2 ай бұрын
So TL;DR, UI = true, Library = false. What happens when Library code is used in a UI?
@chrisvarone872 ай бұрын
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?
@whosgotrythm2 ай бұрын
Great video. I hope you start making videos again!
@newbiex112 ай бұрын
I See states machines where? Everywhere
@ronen1243 ай бұрын
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>
@vinodcs803 ай бұрын
such a complicated concept taught so easily, wow, appreciate it
@bekisiphotshili25663 ай бұрын
How can I clone this teacher and spread him to all IT institutions?
@teraformerr3 ай бұрын
Another brilliant video, hope you will come back to teach us more! Thank you
@teraformerr3 ай бұрын
Very very good explanation, thanks a lot
@ivandrofly3 ай бұрын
Good one thanks :)
@sheikhAbdelrahman3 ай бұрын
Nice!
@FB-eb6tx3 ай бұрын
Excelent video! The best explanation!
@BrianLagunas3 ай бұрын
Thanks for watching
@minitam15273 ай бұрын
Thank you for this video.. You explained everything so clearly.
@BrianLagunas3 ай бұрын
Thank you very much.
@ghosthunter98973 ай бұрын
Can one add dropdown menu in cell? Thanks for the wonderful video.
@DoctorMGL3 ай бұрын
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 .
@BrianLagunas3 ай бұрын
Thank you so much for the kind words. I appreciate you
@yohanaalemseged66833 ай бұрын
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
@CRBarchager3 ай бұрын
Awesome explaination. I failed to understand other explainations of this type but yours was clear and easy to understand.
@CRBarchager3 ай бұрын
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.
@mrez03 ай бұрын
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).
@codegate6154 ай бұрын
24:30 where homepage starts
@brent84504 ай бұрын
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.
@DivineOG-sy6fr4 ай бұрын
Okay how can i find the password?
@LeonardHarrisLH4 ай бұрын
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.
@Prof_Bum4 ай бұрын
26min to show how to display a simple dialog. Winforms was ahead of his time.
@Mariusz54004 ай бұрын
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.
@stephentrouse20694 ай бұрын
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.
@JaafarCherkaoui4 ай бұрын
So clear Brian
@abbaskhan.7864 ай бұрын
When the if condition becomes false, then the task is skipped, but the task should not be skipped until the condition becomes true.
@mohambobujambo4 ай бұрын
get on with it!
@anamaria-0074 ай бұрын
Jonny333 you'll see it
@anamaria-0074 ай бұрын
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?
@karlok744 ай бұрын
great tutorial!!!!
@rogertsai81905 ай бұрын
4:12 😂
@NagiTangCheong5 ай бұрын
is there any reason using Activator CreateInstance not a new T()
@josmit17085 ай бұрын
bravo!
@solvedplus8585 ай бұрын
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
@yaroslav71055 ай бұрын
У меня не возникает DeadLock как в конце видео, хотя я сделал всё идентично. Я не понимаю почему он должен возникнуть. Почему .ConfigureAwait(true) вдруг должен ждать какого-то ответа от UI потока? Если мы говорим этим выражением, что хотим продолжать код в UI потоке. По логике второй поток должен выполнить дополнительный процесс, закрыться и передать управление обратно UI потоку. С чего бы второму потоку при await ждать первый?
What if I don’t/can’t use polling? Like a db task which may take too long n I just want to timeout?
@user-gn7cc6hs1d6 ай бұрын
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