Tag Archives: .NET

A Workaround for GIF issues in .NET MAUI

I have been having issues getting a GIF to animate consistently in iOS and Android using the Image control in MAUI. There are open issues on this, but in the meantime, hopefully this solution will meet your needs. On Windows, GIF images in an Image control work as expected. I tried several workarounds many of… Read More »

Printing a PDF from .NET MAUI Windows Silently

I had a request recently to print PDFs from .NET MAUI specifically on Windows Desktop. They also had the need to not display a print dialog, and just print to the default printer. This isn’t nearly as easy as it would seem, and there is a lot of conflicting information online about it. I tried… Read More »

Which version of .NET MAUI should I be using?

Here we are in September of 2023 and it may not be obvious whether you should be using the stable version of Visual Studio or the preview version. Also, things have become a bit more complicated with the announcement that Visual Studio for Mac is in maintenance mode and will go away eventually. First of… Read More »

Templated Controls in .NET MAUI

Let’s say you want a custom control in .NET MAUI where the look and feel can be completely described in XAML and doesn’t require any platform specific rendering. You can easily do this using a ContentView. If you Add New Item, you can choose a .NET MAUI ContentView (XAML). And this will generate a XAML… Read More »

Accessing Xamarin Forms App Properties in .NET MAUI

There were two primary ways to store preferences in Xamarin Forms. You could use either App Properties or Xamarin Essentials Preferences. Both are similar, with key/value pairs that are stored somewhere that the application can access, but private to the application. You could remember a username, store application preferences like colors and other customizations, and… Read More »

.NET MAUI Release Delayed to 2022

Good news and not so good news. First the good news. A new Preview for .NET MAUI became available on September 14, 2021. There are several changes, with the most important being that MAUI is now integrated into the workload installer (as an optional package under the Mobile Development workload) and you can now create… Read More »

Blazor in .NET MAUI

In 2011, the Microsoft Build developer conference rocked the Windows developer world by pitching JavaScript and HTML as the preferred way to develop applications for Windows 8. It was seen as a betrayal by many loyal .NET developers, and there was a lot of skepticism about Microsoft being able to lure web developers to develop… Read More »