Skip to content

shinyorg/templates

Repository files navigation

Shiny Templates

Nuget

To Install

dotnet new install Shiny.Templates


Features

Project Templates

MAUI Shiny.NET App Project Template

  • Supports Visual Studio for Windows 2022 and Visual Studio for Mac 2022
  • Creates all the necessary permissions, boilerplate, & setup you'll need to get your .NET MAUI app up and running with Shiny & many other great community libraries
  • Easy setup and choice for push notifications
    • Full Native
    • Azure Notification Hubs
    • Firebase
  • Creates a best practice MAUI application with best-in-class frameworks:
  • Select mutliple platform UI Markup types
    • XAML
    • Blazor
    • C# Markup (courtesy of .NET MAUI Community Toolkit) Documentation
  • .NET MAUI Community Toolkit Setup Including:
  • Entitlements for iOS/MacCatalyst if necessary (ie. Push, MSAL)
  • Info.plist & Entitlement permissions for iOS/MacCatalyst
  • Helps generate Apple's "fun" PrivacyInfo.xcprivacy
  • AndroidManifest.xml Permissions & Features for Android
  • Preps all of the necessary functionality for a SQLite Database
  • Setup proper localization
  • All of your MauiProgram.cs Dependency Injection
  • Setup Logging Options with Local SQLite & Sentry.IO
  • Create AppSettings.json
  • Create & auto-configure a strongly-typed settings class that can be bound to preferences or secure storage using Shiny
  • Create & auto-configure a Shiny startup service
  • Setup Android Auto & iOS CarPlay
  • Good practice setup for MSAL or Web Authenticator authentication service
    • Include a custom Refit HTTP client with authentication wired for best practices
  • Setup everything needed for the .NET MAUI Essentials Media Capture service
  • Setup .NET MAUI Maps
  • Setup all of the necessary boilerplate for the following authentication providers:
    • MAUI Web Authentication
    • MSAL (Microsoft Authentication Library) Basic
    • MSAL (Microsoft Authentication Library) B2C
    • MSAL (Microsoft Authentication Library) Broker
  • Full Setup for the following 3rd party components

MAUI XUnit Device Runner Project

Sets up a platform unit test project using Shiny.Xunit.Runners.Maui

iOS Extension for .NET 8

The Microsoft iOS Extension template is currently broken on VS4win & VS4mac, so this is in place for now. Instructions on how to wire this up to your MAUI project

Shiny.NET Server Extensions

  • Email Templating
  • Push Notification Setup
  • Minimal APIs
  • MediatR Setup
  • .NET Orleans
  • Entity Framework Basic Setup
  • MSAL & WebAuthenticator Setup /w Google & Facebook
  • Apple Domain Association Setup

Item Templates

  • Shiny BluetoothLE Hosted Managed Characteristic
  • Shiny Job