Posts

Introduction to .NET MAUI

  You may have heard of .NET MAUI and are wondering what, exactly, it is. Not to worry - we explore the basics of the App UI and what it means for .NET developers in today's coding highlight. If you have not heard of it, don't worry - .NET MAUI is not entirely new technology! .NET MAUI stands for .NET Multi-platform App UI. But what, exactly, does that mean? .NET MAUI is simply Xamarin.Forms supporting desktop apps. What is nice about this is that it can be used with Visual Studio Code. While experimental, it is still better than Xamarin.Forms not supporting Visual Studio Code at all! .NET MAUI provides a single stack that supports all modern workloads, including Android, iOS, macOS, and Windows. Each platform's native features are included in a cross-platform API with which you can deliver awesome user experiences while sharing even more code. In .NET MAUI, you can use a single project to target multiple platforms. This simply means you can quickly deploy to targets such a...

Android With Xamarin Debugging Over Wifi

Image
Xamarin.Android – debugging via WiFi   In this short post, I’m going to show you a very handy feature of Android Debug Bridge (adb) – the possibility to debug Xamarin. Android apps in Visual Studio via WiFi connection Using ADB to debug Android apps By default,  adb  is configured to “map” Android devices connected via USB ports to the computer as  debug devices , which are then available e.g. in Visual Studio as the device on which our app can be deployed and debugged. In many cases, we debug apps on Android emulators, which is frequently fair enough, but at some point, we need to make our tests on a physical device. It may not be very comfortable to have the phone connected using USB cable all the time, especially when testing some physical sensors like accelerometers or gyroscopes. For such purposes, ADB gives us the possibility to connect Android devices via WiFi instead of USB. Let’s see how to configure it. Configure ADB to work on WiFi The first requirement is...