C# Tutorials

The only way to learn a new programming language is by writing programs in it.
The tutorials in this section are intended to get you started working with C# and in particular the .NET Multi-platform App UI (MAUI). If you have already worked with C# in the past, you should take the opportunity to extend your knowledge of the language. Tha might mean, for example, adding other features into the examples provided here. If you have never worked with C#, this is an opportunity to add one more language to your skillset.
Requirements
If you are using your own computer for these exercises, you will need a working configuration. The exercises assume that you will be using Visual Studio Code (VSCode), although other tools are available such as Visual Studio and Rider. If you want to use an alternative IDE/editor, you need to be prepared to adapt the instructions provided in the tutorials.
You should install .NET 9 for the purposes of this module. The dev-environment tutorial will set up a containerized development environment with .NET 9 SDK, PostgreSQL, and Android tooling pre-configured.
Recommended Learning Path
Core Tutorials (Start Here)
Follow these tutorials in order to build a complete cross-platform MAUI application:
- Development Environment Setup - Set up Docker, PostgreSQL, VS Code with .NET 9, and dev containers
MAUI + MVVM + Database Tutorial Series
This comprehensive tutorial series teaches you to build production-quality cross-platform applications:
- Getting Started - Overview of what you’ll build and prerequisites
- Download StarterApp - Download and explore the PostgreSQL-ready StarterApp architecture
- Simplify the Default Code - Transform authentication app into note-taking app
- Add Repository Pattern - Abstract data access for future API integration
- Advanced Migrations - Master database schema evolution
- Testing and Verification - Complete end-to-end testing
Estimated completion time: 6-9 hours total
StarterApp Resources
These supplementary resources provide deeper understanding of specific concepts from the main tutorial:
- StarterApp Overview - Introduction to the StarterApp architecture
- Authentication Deep Dive - Detailed explanation of authentication implementation
- Navigation Patterns - Advanced navigation techniques in MAUI
Advanced Topics
- Unit Testing - Writing and running unit tests for MAUI applications with PostgreSQL
- CI/CD Pipeline - Continuous integration and deployment setup
Troubleshooting
Having issues? See the Troubleshooting Guide for common problems and solutions.