diff --git a/templates/maui/.gitattributes b/templates/maui/.gitattributes
new file mode 100644
index 0000000000..c941e52669
--- /dev/null
+++ b/templates/maui/.gitattributes
@@ -0,0 +1 @@
+**/wwwroot/libs/** linguist-vendored
diff --git a/templates/maui/.gitignore b/templates/maui/.gitignore
new file mode 100644
index 0000000000..95d81cb113
--- /dev/null
+++ b/templates/maui/.gitignore
@@ -0,0 +1,255 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# DNX
+project.lock.json
+artifacts/
+
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# TODO: Comment the next line if you want to checkin your web deploy settings
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+# NuGet v3's project.json files produces more ignoreable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.pfx
+*.publishsettings
+node_modules/
+orleans.codegen.cs
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+*.mdf
+*.ldf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# MyProjectName
+src/MyCompanyName.MyProjectName.ConsoleApp/Logs/logs.txt
diff --git a/templates/maui/MyCompanyName.MyProjectName.sln b/templates/maui/MyCompanyName.MyProjectName.sln
new file mode 100644
index 0000000000..bf634844e7
--- /dev/null
+++ b/templates/maui/MyCompanyName.MyProjectName.sln
@@ -0,0 +1,32 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31611.283
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MyCompanyName.MyProjectName", "src\MyCompanyName.MyProjectName\MyCompanyName.MyProjectName.csproj", "{B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{88D70326-FD7B-4F90-8CDE-D99B7819AF7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {B22CB1A1-A9D3-4970-9F00-50307BCCCAB7} = {88D70326-FD7B-4F90-8CDE-D99B7819AF7E}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572}
+ EndGlobalSection
+EndGlobal
diff --git a/templates/maui/common.props b/templates/maui/common.props
new file mode 100644
index 0000000000..7e29afcfb8
--- /dev/null
+++ b/templates/maui/common.props
@@ -0,0 +1,7 @@
+
+
+ latest
+ 0.1.0
+ $(NoWarn);CS1591;CS0436
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/App.xaml b/templates/maui/src/MyCompanyName.MyProjectName/App.xaml
new file mode 100644
index 0000000000..00e2f461db
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/App.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/App.xaml.cs b/templates/maui/src/MyCompanyName.MyProjectName/App.xaml.cs
new file mode 100644
index 0000000000..0a02c4e624
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/App.xaml.cs
@@ -0,0 +1,11 @@
+namespace MyCompanyName.MyProjectName;
+
+public partial class App : Application
+{
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new AppShell();
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml b/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml
new file mode 100644
index 0000000000..7d34cba9c9
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml.cs b/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml.cs
new file mode 100644
index 0000000000..b35d0a3c9b
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/AppShell.xaml.cs
@@ -0,0 +1,9 @@
+namespace MyCompanyName.MyProjectName;
+
+public partial class AppShell : Shell
+{
+ public AppShell()
+ {
+ InitializeComponent();
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/HelloWorldService.cs b/templates/maui/src/MyCompanyName.MyProjectName/HelloWorldService.cs
new file mode 100644
index 0000000000..57a6884ea3
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/HelloWorldService.cs
@@ -0,0 +1,11 @@
+using Volo.Abp.DependencyInjection;
+
+namespace MyCompanyName.MyProjectName;
+
+public class HelloWorldService : ITransientDependency
+{
+ public string SayHello()
+ {
+ return "Hello, World!";
+ }
+}
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml b/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml
new file mode 100644
index 0000000000..7e0243db86
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml.cs b/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml.cs
new file mode 100644
index 0000000000..dfed23030a
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/MainPage.xaml.cs
@@ -0,0 +1,35 @@
+namespace MyCompanyName.MyProjectName;
+
+public partial class MainPage : ContentPage
+{
+ private readonly HelloWorldService _helloWorldService;
+
+ int count = 0;
+
+ public MainPage(HelloWorldService helloWorldService)
+ {
+ _helloWorldService = helloWorldService;
+ InitializeComponent();
+ SetHelloLabText();
+
+ }
+
+ private void SetHelloLabText()
+ {
+ HelloLab.Text = _helloWorldService.SayHello();
+ }
+
+
+ private void OnCounterClicked(object sender, EventArgs e)
+ {
+ count++;
+
+ if (count == 1)
+ CounterBtn.Text = $"Clicked {count} time";
+ else
+ CounterBtn.Text = $"Clicked {count} times";
+
+ SemanticScreenReader.Announce(CounterBtn.Text);
+ }
+}
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/MauiProgram.cs b/templates/maui/src/MyCompanyName.MyProjectName/MauiProgram.cs
new file mode 100644
index 0000000000..1a5bddae0e
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/MauiProgram.cs
@@ -0,0 +1,33 @@
+using System.Reflection;
+using Microsoft.Extensions.Configuration;
+using Volo.Abp;
+
+namespace MyCompanyName.MyProjectName;
+
+public static class MauiProgram
+{
+ public static MauiApp CreateMauiApp()
+ {
+
+ var builder = MauiApp.CreateBuilder();
+ builder
+ .UseMauiApp()
+ .ConfigureFonts(fonts =>
+ {
+ fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
+ fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
+ });
+
+ builder.Services.AddApplication(options =>
+ {
+ options.UseAutofac();
+ options.Services.ReplaceConfiguration(builder.Configuration);
+ });
+
+ var app = builder.Build();
+
+ app.Services.GetRequiredService().Initialize(app.Services);
+
+ return app;
+ }
+}
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/MyCompanyName.MyProjectName.csproj b/templates/maui/src/MyCompanyName.MyProjectName/MyCompanyName.MyProjectName.csproj
new file mode 100644
index 0000000000..7362d06897
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/MyCompanyName.MyProjectName.csproj
@@ -0,0 +1,56 @@
+
+
+
+
+
+ net6.0-android;net6.0-ios;net6.0-maccatalyst
+ $(TargetFrameworks);net6.0-windows10.0.19041.0
+
+
+ Exe
+ MyCompanyName.MyProjectName
+ true
+ true
+ enable
+
+
+ MyCompanyName.MyProjectName
+
+
+ com.mycompanyname.myprojectname
+
+
+ 1.0
+ 1
+
+ 14.2
+ 14.0
+ 21.0
+ 10.0.17763.0
+ 10.0.17763.0
+ 6.5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/MyProjectNameModule.cs b/templates/maui/src/MyCompanyName.MyProjectName/MyProjectNameModule.cs
new file mode 100644
index 0000000000..4506249857
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/MyProjectNameModule.cs
@@ -0,0 +1,13 @@
+using Volo.Abp.Autofac;
+using Volo.Abp.Modularity;
+
+namespace MyCompanyName.MyProjectName;
+
+[DependsOn(typeof(AbpAutofacModule))]
+public class MyProjectNameModule : AbpModule
+{
+ public override void ConfigureServices(ServiceConfigurationContext context)
+ {
+ context.Services.AddTransient();
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/AndroidManifest.xml b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/AndroidManifest.xml
new file mode 100644
index 0000000000..e9937ad77d
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/AndroidManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainActivity.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainActivity.cs
new file mode 100644
index 0000000000..bc4b23ae5d
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainActivity.cs
@@ -0,0 +1,10 @@
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+
+namespace MyCompanyName.MyProjectName;
+
+[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
+public class MainActivity : MauiAppCompatActivity
+{
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainApplication.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainApplication.cs
new file mode 100644
index 0000000000..091f9cf7c5
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/MainApplication.cs
@@ -0,0 +1,15 @@
+using Android.App;
+using Android.Runtime;
+
+namespace MyCompanyName.MyProjectName;
+
+[Application]
+public class MainApplication : MauiApplication
+{
+ public MainApplication(IntPtr handle, JniHandleOwnership ownership)
+ : base(handle, ownership)
+ {
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/Resources/values/colors.xml b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/Resources/values/colors.xml
new file mode 100644
index 0000000000..c04d7492ab
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Android/Resources/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #512BD4
+ #2B0B98
+ #2B0B98
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/AppDelegate.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/AppDelegate.cs
new file mode 100644
index 0000000000..8a44bf133a
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace MyCompanyName.MyProjectName;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Info.plist b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Info.plist
new file mode 100644
index 0000000000..c96dd0a225
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Info.plist
@@ -0,0 +1,30 @@
+
+
+
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Program.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Program.cs
new file mode 100644
index 0000000000..0a43774f9b
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/MacCatalyst/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace MyCompanyName.MyProjectName;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/Main.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/Main.cs
new file mode 100644
index 0000000000..98304224fb
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/Main.cs
@@ -0,0 +1,16 @@
+using System;
+using Microsoft.Maui;
+using Microsoft.Maui.Hosting;
+
+namespace MyCompanyName.MyProjectName;
+
+class Program : MauiApplication
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+
+ static void Main(string[] args)
+ {
+ var app = new Program();
+ app.Run(args);
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/tizen-manifest.xml b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/tizen-manifest.xml
new file mode 100644
index 0000000000..7230dd81c8
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Tizen/tizen-manifest.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+ appicon.xhigh.png
+
+
+
+
+ http://tizen.org/privilege/internet
+
+
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml
new file mode 100644
index 0000000000..a1686dd0fb
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml
@@ -0,0 +1,8 @@
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml.cs
new file mode 100644
index 0000000000..5cfe1c9a7f
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/App.xaml.cs
@@ -0,0 +1,24 @@
+using Microsoft.UI.Xaml;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace MyCompanyName.MyProjectName.WinUI;
+
+///
+/// Provides application-specific behavior to supplement the default Application class.
+///
+public partial class App : MauiWinUIApplication
+{
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/Package.appxmanifest b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/Package.appxmanifest
new file mode 100644
index 0000000000..2bcb11edf7
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/Package.appxmanifest
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+ $placeholder$
+ User Name
+ $placeholder$.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/app.manifest b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/app.manifest
new file mode 100644
index 0000000000..17fe5805a2
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/Windows/app.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/AppDelegate.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/AppDelegate.cs
new file mode 100644
index 0000000000..8a44bf133a
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace MyCompanyName.MyProjectName;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Info.plist b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Info.plist
new file mode 100644
index 0000000000..0004a4fdee
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Program.cs b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Program.cs
new file mode 100644
index 0000000000..0a43774f9b
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Platforms/iOS/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace MyCompanyName.MyProjectName;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Properties/launchSettings.json b/templates/maui/src/MyCompanyName.MyProjectName/Properties/launchSettings.json
new file mode 100644
index 0000000000..edf8aadcc8
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "Windows Machine": {
+ "commandName": "MsixPackage",
+ "nativeDebugging": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appicon.svg b/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appicon.svg
new file mode 100644
index 0000000000..9d63b6513a
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appicon.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appiconfg.svg b/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appiconfg.svg
new file mode 100644
index 0000000000..21dfb25f18
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/AppIcon/appiconfg.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Regular.ttf b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Regular.ttf
new file mode 100644
index 0000000000..2c9441374a
Binary files /dev/null and b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Regular.ttf differ
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Semibold.ttf b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Semibold.ttf
new file mode 100644
index 0000000000..3c54fa71a5
Binary files /dev/null and b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Fonts/OpenSans-Semibold.ttf differ
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Images/dotnet_bot.svg b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Images/dotnet_bot.svg
new file mode 100644
index 0000000000..abfaff26a8
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Images/dotnet_bot.svg
@@ -0,0 +1,93 @@
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Raw/AboutAssets.txt b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Raw/AboutAssets.txt
new file mode 100644
index 0000000000..15d6244845
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Raw/AboutAssets.txt
@@ -0,0 +1,15 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories). Deployment of the asset to your application
+is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
+
+
+
+These files will be deployed with you package and will be accessible using Essentials:
+
+ async Task LoadMauiAsset()
+ {
+ using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
+ using var reader = new StreamReader(stream);
+
+ var contents = reader.ReadToEnd();
+ }
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Splash/splash.svg b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Splash/splash.svg
new file mode 100644
index 0000000000..21dfb25f18
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Splash/splash.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Colors.xaml b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Colors.xaml
new file mode 100644
index 0000000000..245758ba17
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Colors.xaml
@@ -0,0 +1,44 @@
+
+
+
+
+ #512BD4
+ #DFD8F7
+ #2B0B98
+ White
+ Black
+ #E1E1E1
+ #C8C8C8
+ #ACACAC
+ #919191
+ #6E6E6E
+ #404040
+ #212121
+ #141414
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #F7B548
+ #FFD590
+ #FFE5B9
+ #28C2D1
+ #7BDDEF
+ #C3F2F4
+ #3E8EED
+ #72ACF1
+ #A7CBF6
+
+
\ No newline at end of file
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Styles.xaml b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Styles.xaml
new file mode 100644
index 0000000000..3b0fdc4123
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/Resources/Styles/Styles.xaml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/templates/maui/src/MyCompanyName.MyProjectName/appsettings.json b/templates/maui/src/MyCompanyName.MyProjectName/appsettings.json
new file mode 100644
index 0000000000..077404aaa4
--- /dev/null
+++ b/templates/maui/src/MyCompanyName.MyProjectName/appsettings.json
@@ -0,0 +1,3 @@
+{
+
+}
\ No newline at end of file