Uploaded June 2022 | Updated November 2026, 3 hours ago
.NET MAUI is an open-source framework for building multiplatform user interfaces that can reuse code across iOS, Android, MacOS and Windows! Let's dive into .NET MAUI and try to build a to-do app from scratch - learning what's new along the way as I build my first .NET MAUI app.
Let's explore how to layout our own UI with XAML, figure out how to setup a view model and data bind our UI to it and create our own custom commands to invoke. We'll build an app that uses the exact same C# code to write a native app we can test on both Windows and .NET.
***
Brandon Minnick and I discussed the architecture and how MAUI works a bit more in this video: youtube.com/watch?v=aUaqgTn2hQk
Want to learn more about .NET MAUI? You can find the docs here: dotnet.microsoft.com/en-us/apps/maui
.NET MAUI is Open Source! You can check it out on GitHub here: github.com/dotnet/maui
Looking for an easier way to integrate with MAUI? Check out the MAUI Community Toolkit which has a ton of cool tools to make writing MAUI code easier! github.com/CommunityToolkit/Maui
Some of the graphics in the thumbnail are 3D models by Kenney at https://www.kenney.nl/
Join the World of Zero Discord Server: discord.gg/hU5Kq2u
.NET MAUI is an open-source framework for building multiplatform user interfaces that can reuse code across iOS, Android, MacOS and Windows! Let's dive into .NET MAUI and try to build a to-do app from scratch - learning what's new along the way as I build my first .NET MAUI app.
Let's explore how to layout our own UI with XAML, figure out how to setup a view model and data bind our UI to it and create our own custom commands to invoke. We'll build an app that uses the exact same C# code to write a native app we can test on both Windows and .NET.
***
Brandon Minnick and I discussed the architecture and how MAUI works a bit more in this video: youtube.com/watch?v=aUaqgTn2hQk
Want to learn more about .NET MAUI? You can find the docs here: dotnet.microsoft.com/en-us/apps/maui
.NET MAUI is Open Source! You can check it out on GitHub here: github.com/dotnet/maui
Looking for an easier way to integrate with MAUI? Check out the MAUI Community Toolkit which has a ton of cool tools to make writing MAUI code easier! github.com/CommunityToolkit/Maui
Some of the graphics in the thumbnail are 3D models by Kenney at https://www.kenney.nl/
Join the World of Zero Discord Server: discord.gg/hU5Kq2u
 we built previously.
Our shader is based off of this formula.
```
weight * colorA + (1 - weight) * colorB;
```
This formula uses a weight to balance between two colors. We can modify this by using a boolean value for the weight which will make it 1 when the boolean is true or 0 when the boolean is false. This will make it possible to turn our gradient between two colors into a hard transition instead.
We can modify our material in C# using code like this in order to animate it from code:
```csharp
material.SetFloat(_Transition, currentTransitionState);
```
Join the World of Zero Discord server: https://discord.gg/hU5Kq2u Color Contrast Shader - Lets Make a Side Scrolling Shooter - Part 3](https://i.ytimg.com/vi/jJcSbixSy5c/mqdefault.jpg)

- [`AnimFloat`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimFloat.html)
- [`AnimQuaternion`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimQuaternion.html)
- [`AnimVector3`](https://docs.unity3d.com/ScriptReference/AnimatedValues.AnimVector3.html)
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Using AnimatedValues in Custom Unity Editors](https://i.ytimg.com/vi/jfhCaijXm6M/mqdefault.jpg)






![Creating our own Dockerized Mindustry Server
Lately Ive been playing Mindustry a factory based tower defense game that lets you build a factory, construct defenses and grow over time. Mindustry also includes its own self-hostable server. Were going to be taking a look at how we can use that self-hosted server file in order to create a reproducible containerized environment where we can run Mindustry games to play with friends.
To setup our Mindustry container image were going to create a `Dockerfile` with three layers:
```docker
FROM openjdk:25-slim
COPY server.jar /server.jar
CMD [ java, -jar, /server.jar ]
```
* `FROM`: defines which image to base our own image upon. Well be layering upon a slimmed down version of openjdks images.
* `COPY`: copies a file from our local machine - `server.jar` in this case - onto the container image so we can access it.
* `CMD`: defines the command to run to boot our server when we run it. For us this means using the packaged `jre` to run the `server.jar` we copied over into the container.
We build our Docker Image using this command:
```sh
docker build tag mindustry-server .
```
And then run that image using `docker run`:
```sh
docker run -it -p 6567:6567 -p 6567:6567/udp mindustry-server
```
Mindustry Server Hosting is documented on the Mindustry Wiki here: https://mindustrygame.github.io/wiki/servers/
We are basing our `Dockerfile` on the `openjdk` images. You can find them on Docker Hub here: https://hub.docker.com/_/openjdk
If youd like to see how we can apply similar ideas to hosting our own Minecraft Server, you can check out our containerized Minecraft server here: https://youtu.be/JtKIpGjtLzw
The current version of this container is available on GitHub at https://github.com/WorldOfZero/mindustry-server
***
Mindustry is available on Itch or Steam for desktop players or you can get a copy for your mobile phones:
* Itch.io: https://anuke.itch.io/mindustry
* Steam: https://store.steampowered.com/app/1127400/Mindustry/
* Google Play Store (Android): https://play.google.com/store/apps/details?id=io.anuke.mindustry&pli=1
* Apple App Store (iOS): https://apps.apple.com/us/app/mindustry/id1385258906?ls=1
(I dont have any association with this game, I just like playing it) Creating our own Dockerized Mindustry Server](https://i.ytimg.com/vi/m3mowhqXsXE/mqdefault.jpg)
![Importing .NET Libraries Into Unity 3D
You can import .NET Libraries into Unity in order to expose additional functionality in your game. In this video were going to build a basic demonstration of this feature by creating a brand new .NET Core library and importing it into Unity.
Once the library is imported we can invoke it and create objects defined by it just like any other code.
To create a new dotnet library with .NET Core you can use:
```csharp
dotnet new classlib name [your library name]
```
More about using the Unity Resources folder here on learn.unity.com: https://learn.unity.com/tutorial/assets-resources-and-assetbundles
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Importing .NET Libraries Into Unity 3D](https://i.ytimg.com/vi/m5Ls_NUChMk/mqdefault.jpg)
