Hacker Maui Template Studio
Jumpstart your .NET MAUI app development with an intuitive, wizard-driven interface that guides you every step of the way
🚀 Getting Started with Hacker Maui Template Studio
📦 Installation
Via Visual Studio
- Open Extensions > Manage Extensions
- Search for "Hacker Maui Template Studio"
- Click Download and restart VS
Via Marketplace
CLI Installation
dotnet new install HackerMauiTemplateStudio
🏗️ Creating a New Project
Basic Command (Manual)
dotnet new hacker-maui -n MySecureApp -f net8.0 -a LayeredArchitecture
Full Options
dotnet new hacker-maui \ --name YourAppName \ --framework net8.0|net9 \ --architecture LayeredArchitecture|None \ --navigation Flyout|Tabs|Default \ --codingstyle MVVM|CodeBehind \ --features "EFCore,Refit,Serilog"
Project Wizard
Provide the project name and select where it will be saved
A new wizard will then guide you through creating the app you need
Select the version of .NET you want to target
Do you want to apply an architectural pattern? Select it here
Pick a coding method that suits your development needs
Decide on the navigation structure for your app
Select the pages or views you want to include in your app
Select pages with example content to help you get started, or opt for empty ones. You’ll also have the option to name your components
Select any optional features you’d like to include
Finally, click 'Create' to generate a ready-to-use solution that jumpstarts your next great app—saving you valuable setup time
🔥 Key Features Quickstart
1. Map Integration
// In your ViewModel public Location UserLocation { get; } = new(47.6062, -122.3321);
In XAML
<maps:Map x:Name="map" MapType="Street" IsShowingUser="True"/>
2. API Client (Refit + Polly)
// Define interface public interface IApiService { [Get("/users/{id}")] Task<User> GetUserAsync(string id); } // Register with retry policy builder.Services.AddRefitClient<IApiService>() .AddPolicyHandler(RetryPolicy);
3. Performance Monitoring
// Add to MauiProgram.cs builder.Services.AddSentry(options => { options.Dsn = "YOUR_DSN"; options.TracesSampleRate = 1.0; });
🛠️ Development Tips
Hot Reload Customization
// In .hotreload { "$schema": "http://json.schemastore.org/hotreload", "watch": [ "**/*.xaml", "**/*.cs" ] }