Xivotec.CleanArchitecture.Maui.Template 1.0.0

dotnet new install Xivotec.CleanArchitecture.Maui.Template::1.0.0                
This package contains a .NET Template Package you can call from the shell/command line.

A Clean Architecture .NET MAUI Solution Template

github_build-url License Contributors Forks Issues

NugetLink NugetDownloads

Website Instagram LinkedIn

The goal of this template is to provide a straightforward and efficient approach for application development, leveraging the combined power of Clean Architecture and .Net MAUI. Using this template, you can easily create a multi platform app using .NET MAUI, while adhering to the core principles of Clean Architecture.

Getting Started

The easiest way to get started with this template is to install the NuGet package

Prerequisites

  • Install the latest .NET 8.x SDK & Tools
  • Install the latest version of Visual Studio IDE
  • Install the latest .NET MAUI package
  • Install / have access to a PostgreSQL database (optional, see below)
  • Enable Developer Mode on your device (required for debugging .NET MAUI applications)

Installation

[1] Open the command prompt and run:

dotnet new install Xivotec.CleanArchitecture.Maui.Template

[2] Once installed, create a new solution in your project folder or from Visual Studio :

dotnet new xt-camaui-sln -n <YourProjectName>

Because .NET MAUI is packaged by default, dotnet run won't work.
Instead, open your solution in Visual Studio directly and run it from there.

Database

The template is configured to use PostgreSQL as a database provider by default. If you want to use another provider, you need to exchange .RegisterPostgreSqlPortServices() in the Presentation project MauiProgram.cs file and the Infrastructure.PostgreSQLPort project itself with a corresponding implementation.

The database connection string is set in the appsettings.json file in the Presentation project.

Once you run the application, the database will be automatically created (if necessary) and the latest migrations will be applied.

License

This project is licensed with the MIT license.

Support

If you have any problem, please let us know by raising a new issue.

If you have suggestions on how to improve or extend the template, let us know via email.
Our homepage is linked in the banners at the top.

Technologies Used

Main technologies:

Unit Tests:

Learn More

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 3,437 11/16/2023

Initial .NET 8.0 Release Version