Android Splash Screen Logos and Animations with Xamarin
Android 12 has a few surprises for mobile developers, and its new splash screen is one of the most notorious. In previous versions of the SDK, you needed to create an activity if you wanted to customize the splash screen. However, we now have access to the splash screen API to customize the screen. You […]
Using Serilog for Logging in ASP.NET Core
In .NET, there is built-in API that supports logging (Microsoft.Extensions.Logging) and there are many third-party logging providers that implement that API. For simple use cases, the built-in logging can be sufficient, but for many or our projects at Trailhead, we need a more powerful and flexible logging system. For these projects we often use a […]
What’s New in .NET 7?
At Trailhead, we think that .NET is the world’s most powerful and flexible framework for custom development. That’s why we are so excited that .NET 7 was officially released this week. When you see what’s new in .NET 7, we think you will agree that it moves the platform forward in some very compelling and […]
So You Want to Migrate a Xamarin.Forms App to .NET MAUI
.NET MAUI is out, Xamarin.Forms support will end on May 1, 2024, and you are probably thinking “How can I migrate my Xamarin.Forms app to this new .NET MAUI framework?” Fear not, my fellow developers! I shall provide an example of how we can migrate an app to .NET MAUI. However, there are some requirements you […]
Create Beautiful .NET Console Applications with Spectre.Console
Ugly Console Applications On several occasions, I have had to create console applications that update the screen as time passes or some background task progresses. When I do, I often end up with something that looks like the following screenshot: This works just fine but can certainly be improved. We can reformat the data better […]
Xamarin Isn’t Dead; It’s Evolving Into .NET MAUI
The world of cross-platform app development is undergoing a major revolution right now thanks to .NET MAUI—the next evolution of Xamarin.Forms. Using .NET MAUI, developers can build a single project and compile it into native code and native UI components running on a broad array of platforms including Android, iOS, MacOS, and Windows. What Is […]
Dynamic XAML in Xamarin.Forms Applications
Note: you can download the source code for this blog post here. As you know, Xamarin.Forms application usually will generate code at compilation time using your XAML definition, and after building and distribution, the application is ready to be used. If you want to change the user interface dynamically or how it consumes data, you […]
Xamarin and the Magical Quest to Bind a Java Native Library
Hello folks! Did you ever think about how cool it would be to re-use an already working and tested Java library to save a couple of months of development time? Well, you’re not alone. The third-party library ecosystem for Android is vast and had the potential to save app developers a lot of time. Most […]
Clean Code: Bucket Pattern, Lazy Dependency Creation in .NET
Introduction What are Design Patterns in Software Programming? There are many definitions of the design pattern. For example, from Wikipedia: “In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly […]
Using Postman with SignalR WebSockets Development
SignalR from Microsoft .NET is a great tool for adding real-time websocket functionality to web applications. The latest libraries simplify the process to add Hubs to your .NET API projects, and the technology makes sending messages between client and server work really well. But if you are a .NET developer working on an API, the […]