Darp.Templates 1.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install Darp.Templates@1.7.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Avalonia ExampleProject

This repository contains an example project which can be used to base new projects on.

Features

  • Already configured repository
    • GitHub actions workflows
    • editorconfig and .gitignore setup
    • CPM
    • .slnx solution files
    • CSharpier as a code formatter
  • Platform independent
    • Build for any desktop platform
    • Easily extensible to mobile platforms
  • High performant
    • PublishAot and trimming is enabled by default
    • SplashScreen for resource loading on startup
  • Personalization by default
    • Runtime switching of themes
    • Runtime switching of languages (using .resx and source generation)
  • Feature-oriented MVVM structure
    • Feature-specific views, view models, and registrations live together
    • Route-based shell navigation keeps navigation UI independent from concrete view model types
  • WinUI3 styling
  • Industry tested
    • Desktop applications used in the Industry were build with the same technologies
  • Opinionated toolset

Project structure

The app is organized by feature first, with a small set of app-wide folders:

src/AvaloniaExampleProject/
  Assets/    Global assets and localization resources
  Features/  User-facing feature slices
  Services/  App-wide services and runtime capabilities
  Shell/     Main window, app shell, and design-time support
  Styling/   Global Avalonia styling resources

Feature-specific UI, view models, and registrations live together under Features/<FeatureName>/. App-wide capabilities such as theming, logging, storage access, and navigation live under Services/.

Preview

alternate text is missing from this package README image

How to use this project as a template

Install the rosslight templates nuget package:

dotnet new install Darp.Templates 

Then, create a new template using

dotnet new darp.avalonia.desktop -o MyApp

GitHub Actions

Further reading

As stated, this is a opinionated app. Take a look at other resources

About

This is a project by rosslight GmbH

  • net9.0

    • 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.9.0 104 7/25/2026
1.8.1 103 7/24/2026
1.8.0 102 7/23/2026
1.7.0 111 7/23/2026
1.6.0 163 6/27/2026
1.5.0 278 3/25/2026
1.4.0 501 10/20/2025
1.3.0 598 5/26/2025
1.2.0 477 5/24/2025
1.1.3 526 5/23/2025
1.1.2 531 5/23/2025