Programming With Chris
Programming With Chris
  • 21
  • 122 896
How Handlers Work In .Net Maui!
🔴 Link to the Github Repo for this project in the video! -
github.com/Programming-With-Chris/ShoppingList/tree/master/ShoppingList/Handlers
In today's video, I show you how you can add custom Handlers to your controls we made in the last video, how they work, and how you can use them to map platform specific actions/properties to their cross-platform parents! Handlers are a pretty cool architecture that I like much more than XamarinForms Renders, and hopefully this helps as an introduction to them.
For Further Reading on this topic - Here is a blogpost by Pedro Jesus who talks about this on the Microsoft .Net Blog! - devblogs.microsoft.com/dotnet/customizing-dotnet-maui-controls/
Other Resources I found Useful -
doumer.me/introduction-to-net-maui-handlers/
Video Handler mentioned in the, well, Video - docs.microsoft.com/en-us/dotnet/maui/user-interface/handlers/create
🔴 Subscribe For More Programming Tutorials
bit.ly/3NN23DB
☕️Buy me a coffee if you enjoy the free content! I don't believe in charging for education, but hey, I do love drinking coffee -
bit.ly/3Pw56Sf
🕘Timestamps:
00:00 - Video Start
00:28 - Creating Your Own Handler (Helpful in Understanding How They Work)
09:02 - How to Modify Existing Handlers and Mappers
14:30 - My Favorite Handler Example from the Microsoft Docs
Thanks for watching! I plan on making many more of these on all things .net, so if you wish to see more, continue the playlist and subscribe!
🎬Watch My most recent videos:
bit.ly/3yJwaY5
#dotnet #csharp #programming #dotnetmaui
Переглядів: 6 627

Відео

Reusable, Custom Controls in .Net Maui!
Переглядів 14 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/ShoppingList In today's video, I show you how you can create reusable, custom drawn controls that basically make the things you can do in your UI limitless! For the ShoppingList app, I created some "circular button' controls that allow you to create a class that encapsulates the animations, the custom p...
Runtime Themes in .Net Maui!
Переглядів 3,2 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/ShoppingList In today's video, I show you how I added the ability for a user to select the theme of my app in a settings page, which then at runtime adjusts all the colors in the app, programmatically! I couldn't decide on a good color scheme for the app, so I went down this path to allow a user to pic ...
Why I Use VSVim for Productivity
Переглядів 10 тис.2 роки тому
I'm all about speeding up my development, and one of the ways I've done that in the last few months is by switching to using Vim commands in visual studio! In this video, I walk you through getting started and some of the basic, useful, commands, so you can join in the fun (And I do think it's pretty fun!) I'm going to do more videos on Dev productivity coming soon, because I think it's an area...
Slightly More Advanced Maui.Graphics!
Переглядів 7 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/MauiDemos/tree/main/MeterGraphicsExample The New .NET Maui Graphics library is looking pretty nice to use, and so I figured I'd make a quick video to give you a rundown of how to use it in your .Net Maui applications! (Though you can use it in any .net app). In this video, I show two more advanced examp...
Drawing Graphics In Your Apps with Maui.Graphics
Переглядів 9 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/MauiDemos/tree/main/MauiGraphicsDemo The New Maui Graphics library is looking pretty nice to use, and so I figured I'd make a quick video to give you a rundown of how to use it in your .Net Maui applications! (Though you can use it in any .net app). In this video, I just go through the basic steps of ho...
Adding List Sorting to My First .Net Maui App
Переглядів 7272 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/ShoppingList .Net Maui is here! I'm personally very excited for it, and in this video i talk through the first app I threw together, a basic shopping list app that I'll add features to throughout this playlist. I talk through the Guard Class in CommunityToolkit.DIagnostics (which I love), as well as the...
The Easiest Way To Do Object Detection in C#
Переглядів 23 тис.2 роки тому
In this series, I will be taking you through an introductory tour of OpenCV and Emgu (the OpenCV C# Wrapper)! In this video, I show you how to do Object Detection in C# with Haar Cascade Classifiers and the YOLO Object Detection Algorithm! This version of detecting objects in an image works much better than template matching, and you can do some pretty crazy stuff with these two algorithms. Ope...
Adding Rest APIs to My First .Net Maui App
Переглядів 4,7 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/ShoppingList .Net Maui is here! I'm personally very excited for it, and in this video i talk through the first app I threw together, a basic shopping list app that I'll add features to throughout this playlist. I talk through the Rest API code I've added to pull information for Kroger Grocery stores, an...
10 of My Favorite Lesser Known C# Syntax Features - Dev Level Up Series
Переглядів 5312 роки тому
In this series, I put together small, bite sized chunks of information that you don't necessarily need to be at your computer to learn from (which is rare in programming). I feel like many of the tips in this series are ones that a lot of devs don't pick up along the way, and as such are missing some information that, well, could level up their dev skills. I'd love to hear what other topics you...
Augmented Reality (sort of) in OpenCV - OpenCv in C# for Beginners!
Переглядів 1,9 тис.2 роки тому
In this series, I will be taking you through an introductory tour of OpenCV and Emgu (the OpenCV C# Wrapper)! OpenCV has been one of my favorite libraries to tinker with, where you can do some impressive things such as facial recognition, image manipulations and filters, video processing, and much more! So I wanted to introduce fellow programmers to it, so you can have as much fun as I’ve had o...
The Struggles I Had While Building My First .Net Maui App
Переглядів 2,2 тис.2 роки тому
🔴 Link to the Github Repo for this project in the video! - github.com/Programming-With-Chris/ShoppingList .Net Maui is here! I'm personally very excited for it, and in this video i talk through the first app I threw together, a basic shopping list app that I'll add features to throughout this playlist. In this video, I talk about the basics of how .net Maui works, some struggles I had along the...
OpenCV in C# For Beginners - Introduction to Template Matching
Переглядів 6 тис.2 роки тому
In this series, I will be taking you through an introductory tour of OpenCV and Emgu (the OpenCV C# Wrapper)! OpenCV has been one of my favorite libraries to tinker with, where you can do some impressive things such as facial recognition, image manipulations and filters, video processing, and much more! So I wanted to introduce fellow programmers to it, so you can have as much fun as I’ve had o...
How to Run Your First .Net Maui App in 5 Steps
Переглядів 2,2 тис.2 роки тому
.Net Maui is here! I'm personally very excited for it, and can't wait to start building maui apps. It's just so nice being able to write applications for different operating systems in C#. In this video, i just quickly run through how to set up the maui dev tools, how to download the visual studio preview version and install the maui workloads, how to get the android emulator up and running, an...
Memory Management in .NET / C# Explained - Dev Level Up Series
Переглядів 4 тис.2 роки тому
In this series, I put together small, bite sized chunks of information that you don't necessarily need to be at your computer to learn from (which is rare in programming). I feel like many of the tips in this series are ones that a lot of devs don't pick up along the way, and as such are missing some information that, well, could level up their dev skills. I'd love to hear what other topics you...
The C# Build Process Explained - Dev Level Up Series
Переглядів 1,1 тис.2 роки тому
The C# Build Process Explained - Dev Level Up Series
Contours and Edge Detection with OpenCV in C#
Переглядів 6 тис.2 роки тому
Contours and Edge Detection with OpenCV in C#
A Beginner's Guide to Image Manipulation with OpenCV in C#
Переглядів 3,2 тис.2 роки тому
A Beginner's Guide to Image Manipulation with OpenCV in C#
How to Create A Word Generator with Tensorflow in Python - Our RNN
Переглядів 2892 роки тому
How to Create A Word Generator with Tensorflow in Python - Our RNN
OpenCV in C# for Beginners - Introduction to OpenCV in C# using Emgu!
Переглядів 17 тис.2 роки тому
OpenCV in C# for Beginners - Introduction to OpenCV in C# using Emgu!
How to Create a Word Generator with TensorFlow in Python
Переглядів 2022 роки тому
How to Create a Word Generator with TensorFlow in Python

КОМЕНТАРІ

  • @lilislilit
    @lilislilit 8 днів тому

    This is very neat! Thank you 🙏

  • @notdunntravelling
    @notdunntravelling Місяць тому

    Can you please make a video comparing two images and creating a new inage with the differences. Thanks!!

  • @NancyLouise-g4e
    @NancyLouise-g4e 2 місяці тому

    Halvorson Port

  • @PriestleyDickens-d9l
    @PriestleyDickens-d9l 2 місяці тому

    Gwendolyn Streets

  • @GrantBoris-r6w
    @GrantBoris-r6w 2 місяці тому

    Rohan Alley

  • @AlsoppRock-p6p
    @AlsoppRock-p6p 2 місяці тому

    Kub Creek

  • @LeacockFrances-s6u
    @LeacockFrances-s6u 2 місяці тому

    Spinka Prairie

  • @SaraCarri-l6t
    @SaraCarri-l6t 2 місяці тому

    Hahn Spurs

  • @mouna5252elle
    @mouna5252elle 2 місяці тому

    Just use skia

  • @RooseveltOdelia-b6i
    @RooseveltOdelia-b6i 2 місяці тому

    Funk Hill

  • @ReidBennett-h9k
    @ReidBennett-h9k 3 місяці тому

    Schulist Hollow

  • @KarenCavallo-j5w
    @KarenCavallo-j5w 3 місяці тому

    Miller Haven

  • @WildeRachel-d6t
    @WildeRachel-d6t 3 місяці тому

    Hagenes Knoll

  • @narf0339
    @narf0339 3 місяці тому

    which language get you further or can do more for object tracking ? c# or python ?

  • @abhijeetvibhandik9527
    @abhijeetvibhandik9527 3 місяці тому

    Try entering visual mode and then select a word or line and then if words are mix or in lower case do "shift + U" for uppercase or if u want everything in lower case try "u"

  • @TheAzovStar
    @TheAzovStar 4 місяці тому

    Thank you for this great introduction. Very useful.

  • @liemnguyen3088
    @liemnguyen3088 4 місяці тому

    Is there a code snippet to create BindableProperty?

  • @balajiv4843
    @balajiv4843 4 місяці тому

    Great video. Good work !

  • @xskodemedia746
    @xskodemedia746 4 місяці тому

    Yeah this is awesome!

  • @didinks1012
    @didinks1012 6 місяців тому

    Any idea how does the installation work on a mac?

  • @lucasribeiro1300
    @lucasribeiro1300 6 місяців тому

    Congratulations on the videos... I'm Brazilian and I've already subscribed to the channel to follow more videos. Is possible to do it with net maui and classifier with celular camera.

  • @SoulLostMDA
    @SoulLostMDA 6 місяців тому

    Hi, whats your theme for Visual Studio called?

    • @ProgrammingWithChris
      @ProgrammingWithChris 6 місяців тому

      So, I use Dracula theme pretty much everywhere, but looking back on this video, it appears that the theme colors here are messed up, and it’s really not appearing correctly! But in general, yeah, Dracula.

  • @cissemy
    @cissemy 6 місяців тому

    Thanks Chris How to build a document scanning app using OpenCv in C# ?

  • @jean-baptistedioli1692
    @jean-baptistedioli1692 7 місяців тому

    Good video but it doesn't work at all on Maui .Net 8. Is it normal ? in the CircularButton in the constructor Handler = new CircularButtonHandler(); make the application crash

  • @frankbraker
    @frankbraker 7 місяців тому

    This was awesome -- all the attention seems to be on LLMs lately, and I needed this for doing object detection, ideally in C#, which this fortunately covers. Also there's an OpenCV asset for Unity which would be fun to play with eventually. Thank you so much for doing the hard work of figuring all this out and making it accessible to RTFD-challenged people like myself. I really had no idea where to start.

  • @AJ93-lx6on
    @AJ93-lx6on 7 місяців тому

    can you also do tutorial on manual train a model and then add that to project

  • @joshuastelman6218
    @joshuastelman6218 7 місяців тому

    Im working on a person project where Im trying to control a character in a video game to walk around to monsters and kill them. I have image data of all the different types of monsters that could be my template. Say I have a large 2d image on my screen representing the world Im in, how would I match thousands of templates for a monster against my screen and draw rectangles around where a monster could possibly be located? In your example you have 1 template for 1 test sheet. I would like to have thousands of templates. Or maybe there is a better way? Is it possible for a template to be trained to account for different types of images instead of just one? Some insight to this would be very helpful. Also, Id like to be able to recognize thinks like ledges, ropes, ladders, platforms etc. Could this all be done if I have the images?

  • @jhummelgaard9310
    @jhummelgaard9310 7 місяців тому

    Great! What about outcommenting a code block ? I'm also looking for a duplicate line command, since VSVim overrides the default ctrl d.

  • @JohannesJacobusHough-n4j
    @JohannesJacobusHough-n4j 7 місяців тому

    I search Advanced MAUI, finding this!

  • @Ny_babs
    @Ny_babs 7 місяців тому

    how are you setting your camera to be in source for the analysis? I think I missed that step somewhere. Great vid!

  • @dastani1903
    @dastani1903 8 місяців тому

    keep it up

  • @DeimosesImpact
    @DeimosesImpact 8 місяців тому

    FYI blendmode is not supported except on iOS, and its pretty low priority for them so expect it to be a while before that works, so dont use it

  • @lulairenoroub3869
    @lulairenoroub3869 8 місяців тому

    I love the idea of vim. But it is all wrong. Hjkl as the arrow keys? Get the hell out of here. Not interested. Wasd. In fact, I want the whole thing left handed

    • @michrisoft
      @michrisoft 6 місяців тому

      So make it that way my dude. It's entirely configurable. Or maybe you'd prefer emacs keybinds. I think they're more in line with that.

  • @mrhoxell
    @mrhoxell 8 місяців тому

    I love this take. The problem with the idea of using Vim for everything simply doesn't work for me. For instance when I tinker with C++ code and I have to do the profiling and benchmarks then sure, I could install some plugins and get over it. The point is that I have a certain ecosystem that helps me get productive. My combo is resharper c++ and built-in VS tools. That helps me develop things easier and cleaner. So it's nice to see the idea where the idea of Vim is used as an additional tool to make the development more productive rather than moving it all and tweaking the toolset for a decent result. Like the sale-point of Vim is the productivity around faster coding but not necessarily faster development as many stuff depends on plugins you work with.

  • @bryanstark324
    @bryanstark324 8 місяців тому

    Do you know if we can use a vimconfig file?

  • @whatinthebloodyhell
    @whatinthebloodyhell 9 місяців тому

    Appreciate your work. Many thanks, buddy :)

  • @waltergrimm7161
    @waltergrimm7161 9 місяців тому

    At min 15 the dots did not match the fields that where checked with A, 11 are checked with A, only 6 dots show in result

  • @peri.platypus
    @peri.platypus 9 місяців тому

    Is it possible in plate number? Using c#? What is best to use haar classifier or yolo? Thanks

  • @peri.platypus
    @peri.platypus 9 місяців тому

    You make it look easy😂

  • @abdulkabir_02
    @abdulkabir_02 10 місяців тому

    Hi thank you for sharing your knowledge, Can you show us a custom tabbar with Button ?

  • @NoName-wh1xu
    @NoName-wh1xu 10 місяців тому

    this is just great, your presentation of the material is excellent, I fell in love with the first episode, I’m looking forward to the continuation

  • @PhạmNguyễnHoàngAnh-anhpnh
    @PhạmNguyễnHoàngAnh-anhpnh 10 місяців тому

    Helo, how to Object Tracking on C#?

  • @bulelanibotman
    @bulelanibotman 11 місяців тому

    i remember learning about macros since i was a beginner in vim, i knew all the basics but after discovering macros! i was absolutely blown away & i've never looked back. it got to a point that if an ide doesn't support any vim emulation, i just bounce! i also thought visual studio didn't support vim & i switched to rider but i recently discovered it did, so i'm heading back

  • @sologabriel.l
    @sologabriel.l 11 місяців тому

    What do you use to show the key presses on screen?

  • @lot10games
    @lot10games 11 місяців тому

    I get this error : Emgu.CV.Util.CvException: 'OpenCV: Transpose the weights (except for convolutional) is not implemented'

    • @lot10games
      @lot10games 11 місяців тому

      yolov3.weights is 2Kb LOL. It's corrupted or something . I downloaded from other source and it works.

  • @LeonardHarrisLH
    @LeonardHarrisLH 11 місяців тому

    Well explained and very helpful! My only suggestion is enable word wrap, that would make it easier follow. Thanks!!

  • @LinaAbdalla-z8p
    @LinaAbdalla-z8p Рік тому

    Hi Chris, thanks for the great video. I am wondering if there's a way to change the GraphicsView Background color? I can't seem to get it to change.

  • @jajnelumstransport2624
    @jajnelumstransport2624 Рік тому

    how would I get the name from of the detected object and store it in a value. Thanks.

  • @istuart0
    @istuart0 Рік тому

    I created a Circular Button (called a Fab - Floating Action Button on Android) using a Grid. It looked OK but didn't respond to a user tap. Now, I've copied your ScaleTo & Easing code and it reacts in a pleasing way that gives the user feedback it has been clicked.

  • @mirsad1709
    @mirsad1709 Рік тому

    I have the general problem that the Draw Method of IDrawable fires constantly when i debug on a real andorid device. Do somenone know this issue?