Skip to content

SarahDuncan/dotnet-maui-freeCodeCampCourse

Repository files navigation

.NET MAUI Course for Beginners

I wrote this code by following along with the freeCodeCamp.org .NET Maui tutorial.

Course Content

  • what .NET Maui is / history
  • creating the first project & setup
  • typical project structure
  • three elements of stateful .NET Maui (view -> events -> state -> repeat)
  • URI-based navigation/page routing
  • basics of listview and data binding
  • event handling of a listview
  • parameters of URI-based navigation
  • work with stack layouts
  • using ObservableCollections to notify listviews of data changes
  • add validation on input fields
  • add a reusable content control
  • add ContextActions menu items
  • adding a searchbar

Screenshots

View Screenshot
The contacts list view: Contacts list view
The search for a contact view: Search for contact view
The right click menu: Contacts context menu/right click view
The edit a contact view: (add the contact view reuses the same layout) Edit contact view
An example of validation on the edit/add contact views: Validation for edit/add contact view

last updated 23/05/2024