Prism Region Not Found Exception in WPF

  Рет қаралды 2,245

Brian Lagunas

Brian Lagunas

Күн бұрын

Пікірлер: 46
@rahulmathew8713
@rahulmathew8713 2 жыл бұрын
Fantastic Video Brian. Hope you are well. Your really helped me out to impress my current employer. I could not have implemented that project without you. Many thanks and respect. Always a fan.
@BrianLagunas
@BrianLagunas 2 жыл бұрын
Thank you very much for the kind words. I will continue to do my best to help others.
@user-mr-m12312
@user-mr-m12312 4 жыл бұрын
"Prism region not found? Lagunas to the rescue!" Thx for content, Brian! :)
@BrianLagunas
@BrianLagunas 4 жыл бұрын
My pleasure!
@kblyr
@kblyr 4 жыл бұрын
Ah... a youtube video for a specific issue, you're the only one I know who does that 😂😂😂 Well, that's great, man!
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Thank you very much.
@julianturner6203
@julianturner6203 4 жыл бұрын
Thanks for the video Brian. I simply love those videos where you explain something :-) I hope you keep going
@BrianLagunas
@BrianLagunas 4 жыл бұрын
More to come!
@Tamer_Ali
@Tamer_Ali 4 жыл бұрын
Amazing as usual Hope to see you on Twitch soon.
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Very soon!
@garyvasey5598
@garyvasey5598 4 жыл бұрын
Thank you for fixing my code Brian, It is easy when you know how. Interesting that you also use NuGet instead of the IG toolbox. Something else to look into.
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Happy to help! Yes, NuGet all the things 😁
@rahulmathew8713
@rahulmathew8713 4 жыл бұрын
Its a blessing we have Brian to show us the path. I was switching from a web developer career to Desktop Application career, and Brian"s videos taught me lot of things. Things we wont even leatn from stackoverflow or books.
@Tamer_Ali
@Tamer_Ali 4 жыл бұрын
Hi Brian, I have another strange question. Is there away to import all the using namespaces in 1 file as _ViewImports.cshtml do but for code behind ? Thanks
@BrianLagunas
@BrianLagunas 4 жыл бұрын
No, you cannot have global using statements in C#. You can in VB.NET though 😁
@dsuess
@dsuess 3 жыл бұрын
Seeing private fields named with _underScores make me happy :) Sorry, not sorry, StyleCop. Underscores are just cleaner.
@BrianLagunas
@BrianLagunas 3 жыл бұрын
Agreed! underscores FTW!!!
@Tamer_Ali
@Tamer_Ali 4 жыл бұрын
Hi Brian, What is the difference between Task and Thread and when to use each one of them? Thanks
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Great question!
@andreikashin
@andreikashin 4 жыл бұрын
Brian, sometimes "syntactically correct async code" does not catch exceptions. Why is this happening?
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Hard to say without seeing the code. If you can't catch exceptions then I think you have a problem somewhere in the code.
@prabhakaranvelliangiri9655
@prabhakaranvelliangiri9655 4 жыл бұрын
Hey Brain, based on the user role are we able to enable disable (load/unload) the module. If yes, please make a small video possible 🙏
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Of course it's possible. Keep in mind that you don't "unload" a module, however, you can remove views that module contains from any regions when a user does not have access to them. I actually have a course on loading modules based on user roles. Check it out: pluralsight.pxf.io/GvjkE
@rahulmathew8713
@rahulmathew8713 4 жыл бұрын
Hi Brian, can you please do a video on implementing Login View so that Main Window and all regions show after successful login
@BrianLagunas
@BrianLagunas 4 жыл бұрын
Yeah, I can do a simple video on this concept.
@rahulmathew8713
@rahulmathew8713 4 жыл бұрын
@@BrianLagunas No need of db part and those things. Just wpf prism aspect of it. Login View user name textbox and password and login button then actual full app opens. We cant find any proper example we can implement this with prism. If possible please also check the user role so when main window opens only the elligible modules load.
@rahulmathew8713
@rahulmathew8713 4 жыл бұрын
Hi Brian Please do that Login View video please please please..really need help.
@michaeltarros2092
@michaeltarros2092 4 жыл бұрын
Can you please give some pointers of what is the best practice with consuming API POCO’s and using them in the View Models, currently we are using them directly in the View Models and the main issue is not having INotifyPropertyChanged on an Observable List of the API POCO. We are using Prism with Xamarin.Forms. P.S. Currently using Regions and love them thanks for that feature 😊
@BrianLagunas
@BrianLagunas 4 жыл бұрын
If you are using some type of object mapper like EF where you have these simple POCOs as a simple data transfer object, and then are trying to use those same POCOS as business objects in a rich client app, then I'd say don't do that. Business objects are meant to maintain the state, behavior, and other rules of your client app. Those simple POCO objects are just meant to transfer state to and from your data source. I don't use mapper anyways because a database should never match your object model exactly. I can always tell when a developer designed a database 🤣
@michaeltarros2092
@michaeltarros2092 4 жыл бұрын
@@BrianLagunas Thank you for your reply, it was basically what I thought we should not be doing and have been looking at different patterns like Repository and Adapter patterns to bridge the DTO to the Clients Business Objects. The issue I am having is trying to find a decent Xamarin example that I can see in action, was even looking at AutoMapper. Do you have any code examples or know of any I can look at? P.s Started Playing with Uno and its exciting to see where is going, can’t wait to try the Prism Templates with Uno
@BrianLagunas
@BrianLagunas 4 жыл бұрын
You may consider taking a look at a proper business object framework like CSLA.NET
@michaeltarros2092
@michaeltarros2092 4 жыл бұрын
@@BrianLagunas thanks for your help I will look into it 👍
@mikoo1991
@mikoo1991 4 жыл бұрын
plz no more prims, plz web dev
@davidwhite2011
@davidwhite2011 4 жыл бұрын
You don't have to watch it...
@BrianLagunas
@BrianLagunas 4 жыл бұрын
I'm not getting web dev questions 🤷‍♂️
@mikoo1991
@mikoo1991 4 жыл бұрын
@@BrianLagunas i asked you many times to do more web dev, please respond
@BrianLagunas
@BrianLagunas 4 жыл бұрын
That's not a question. Is there something specific you're looking for
@mikoo1991
@mikoo1991 4 жыл бұрын
@@BrianLagunas just do some nodejs and react
Why is this WPF ItemsControl broken?
11:24
Brian Lagunas
Рет қаралды 3 М.
C# Yield Return: What is it and how does it work?
15:09
Brian Lagunas
Рет қаралды 57 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 16 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 11 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 16 МЛН
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 678 М.
Task vs ValueTask: When Should I use ValueTask?
10:43
Brian Lagunas
Рет қаралды 20 М.
When do you use threads?
29:36
Hussein Nasser
Рет қаралды 11 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Maximilian Schwarzmüller
Рет қаралды 60 М.
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
CoPilot Review: My Thoughts After 6 Months
9:45
ThePrimeagen
Рет қаралды 553 М.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
I'm Back! What I've been doing and what I'm working on next!
6:58
Brian Lagunas
Рет қаралды 1,6 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 16 МЛН