Programming With Chris
Programming With Chris
  • 21
  • 117 792
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 439

Відео

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,1 тис.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!
Переглядів 6 тис.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
Переглядів 7052 роки тому
🔴 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#
Переглядів 22 тис.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,6 тис.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
Переглядів 5052 роки тому
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,8 тис.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 роки тому
.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
Переглядів 3,6 тис.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 роки тому
A Beginner's Guide to Image Manipulation with OpenCV in C#
How to Create A Word Generator with Tensorflow in Python - Our RNN
Переглядів 2792 роки тому
How to Create A Word Generator with Tensorflow in Python - Our RNN
OpenCV in C# for Beginners - Introduction to OpenCV in C# using Emgu!
Переглядів 16 тис.2 роки тому
OpenCV in C# for Beginners - Introduction to OpenCV in C# using Emgu!
How to Create a Word Generator with TensorFlow in Python
Переглядів 1972 роки тому
How to Create a Word Generator with TensorFlow in Python

КОМЕНТАРІ

  • @SaraCarri-l6t
    @SaraCarri-l6t 10 днів тому

    Hahn Spurs

  • @mouna5252elle
    @mouna5252elle 11 днів тому

    Just use skia

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

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

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

    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 2 місяці тому

    Thank you for this great introduction. Very useful.

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

    Is there a code snippet to create BindableProperty?

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

    Great video. Good work !

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

    Yeah this is awesome!

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

    Any idea how does the installation work on a mac?

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

    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 5 місяців тому

    Hi, whats your theme for Visual Studio called?

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

      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 5 місяців тому

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

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

    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 5 місяців тому

    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 5 місяців тому

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

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

    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 5 місяців тому

    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 5 місяців тому

    I search Advanced MAUI, finding this!

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

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

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

    keep it up

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

    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 6 місяців тому

    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 4 місяці тому

      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 6 місяців тому

    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 6 місяців тому

    Do you know if we can use a vimconfig file?

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

    Appreciate your work. Many thanks, buddy :)

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

    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 7 місяців тому

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

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

    You make it look easy😂

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

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

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

    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 8 місяців тому

    Helo, how to Object Tracking on C#?

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

    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 9 місяців тому

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

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

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

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

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

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

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

  • @LinaAbdalla-z8p
    @LinaAbdalla-z8p 10 місяців тому

    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 10 місяців тому

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

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

    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 11 місяців тому

    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?

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

    Heyo. We've been having a problem we cant fix with a friend for the past 5 hours. Even when we entiretly 1:1 got ur code from github and put it on, we keep getting this error across the cod, while the actual problems tab at the bottom is empty. We're losing our minds. Any clue what the issue could be? Exception has occurred: CLR/System.ArgumentException An unhandled exception of type 'System.ArgumentException' occurred in Emgu.CV.dll: 'File Desktop/sest.jpg do not exist' at Emgu.CV.Mat..ctor(String fileName, ImreadModes loadType) at Emgu.CV.CvInvoke.Imread(String filename, ImreadModes loadType) at Image.Program.ProcessImage() in D:\C#Nuked\Cube\IdleonCubeAC\IdleonCubeAC\IdelonARCADE.cs:line 28 at Image.Program.Main(String[] args) in D:\C#Nuked\Cube\IdleonCubeAC\IdleonCubeAC\IdelonARCADE.cs:line 18 We've checked and tried relative and absolute paths. We've tried solutions from chatgpt and bing ai what the hell ;W; Otherwise sick video yo >;D Just wish it worked for us too : )

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

    Can u do "The Easiest " code in 10-15lines to demonstrange to how EASY start. no those things. omg. BE SIMPLE DUDE! there mose ppls who cant/dont want read documentation.

  • @Paul-Jean
    @Paul-Jean Рік тому

    Is there any way to change the Vim shortcut keys? I'd like to change the navigation and other things that annoy me.

  • @kumar--vasan
    @kumar--vasan Рік тому

    Thanks for sharing quality work like this. Much appreciated.

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

    I'm outta here

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

    nope ... knew it all

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

    Why didn't you use a Conic Gradient for the Meter? Why a linear Gradient?

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

    ctrl+[ is considered escape command you can use that instead.

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

    is there a way to edit the vim motions in Visual Studio Community?

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

    Thanks for the video. I am using your examples for drawing tiles for a game. I would like to extend the technique to draw bitmap images for the playing tiles rather than drawing colored rectangles. I would like to use canvas.DrawImage(). The problem I am having is with loading the images. There are about 20 images to load. I understand that the image must be an IImage object . What is the most straight forward way to load a bitmap?

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

    I like your videos. I have a suggestion for a future video. The scrollbar on the Maui editor control does not work on IOS or MacCatalyst. This is a known issue logged on Github. How about a video about how to create a custom editor control that has a working scrollbar.