How to build a story generator application for children with .NET MAUI and Microsoft Azure
Héctor’s .NET Conf demo was a story generator for children, and this post is the follow-up that shows how each piece was put together. The app was built in five steps, and the write-up follows that order.
- Parallax effect: images move with the device’s
Accelerometer, with helper methods that limit how far each image can shift and control the speed. - Animated gradients: an extension on
VisualElementcycles through any number of gradients over a time you choose, so it works on pages, layouts, and controls. - Loading experience: a Mopups popup with an animation, plus a fading
Labelto show a story is being created. - Story player: an image that animates on every change, a SkiaSharp control for the current page, a progress control from Javier Suarez, and
Plugin.MediaManagerfor audio playback. - Backend: an ASP.NET Core Web API that keeps API keys out of the app, uses Semantic Kernel for text and image generation, and relies on Azure Speech and Blob Storage for text-to-speech and file upload.
If you’re curious how a .NET MAUI front end and Azure AI services can fit together in a creative app, the post links the project resources and credits the people whose work he built on.