diff --git a/ProjectTemplates/ShinyApp/.template.config/ide.host.json b/ProjectTemplates/ShinyApp/.template.config/ide.host.json index 824dc20..0399f67 100644 --- a/ProjectTemplates/ShinyApp/.template.config/ide.host.json +++ b/ProjectTemplates/ShinyApp/.template.config/ide.host.json @@ -306,8 +306,13 @@ "text": "Add Audio (Plugin.Maui.Audio)" }, "isVisible": true - }, - { + },{ + "id": "ffimageloading", + "name":{ + "text": "Add FFImageLoading MAUI (FFImageLoading.Maui)" + }, + "isVisible": true + },{ "id": "fingerprint", "name":{ "text": "Add Fingerprint/Facial Recognition (Plugin.Fingerprint)" diff --git a/ProjectTemplates/ShinyApp/.template.config/template.json b/ProjectTemplates/ShinyApp/.template.config/template.json index 79c1df5..caf0825 100644 --- a/ProjectTemplates/ShinyApp/.template.config/template.json +++ b/ProjectTemplates/ShinyApp/.template.config/template.json @@ -428,6 +428,13 @@ "description": "Add SkiaSharp Extended (Lottie) - Documentation: https://github.com/mono/SkiaSharp.Extended", "displayName": "Add SkiaSharp Extended (Lottie)" }, + "ffimageloading":{ + "type": "parameter", + "datatype": "bool", + "defaultValue": "false", + "description": "Add FFImageLoading MAUI - Documentation: https://github.com/microspaze/FFImageLoading.Maui", + "displayName": "Add FFImageLoading MAUI" + }, "embedio": { "type": "parameter", "datatype": "bool", diff --git a/ProjectTemplates/ShinyApp/MauiProgram.cs b/ProjectTemplates/ShinyApp/MauiProgram.cs index e4a6830..d0211cc 100644 --- a/ProjectTemplates/ShinyApp/MauiProgram.cs +++ b/ProjectTemplates/ShinyApp/MauiProgram.cs @@ -31,6 +31,9 @@ #if skia || skiaextended using SkiaSharp.Views.Maui.Controls.Hosting; #endif +#if ffimageloading +using FFImageLoading.Maui; +#endif #if uraniumui using UraniumUI; #endif @@ -66,6 +69,9 @@ public static MauiApp CreateMauiApp() => MauiApp #if sharpnadocv .UseSharpnadoCollectionView(false) #endif +#if ffimageloading + .UseFFImageLoading() +#endif #if skia || skiaextended .UseSkiaSharp() #endif diff --git a/ProjectTemplates/ShinyApp/ShinyApp.csproj b/ProjectTemplates/ShinyApp/ShinyApp.csproj index b7ff00a..ea2db8c 100644 --- a/ProjectTemplates/ShinyApp/ShinyApp.csproj +++ b/ProjectTemplates/ShinyApp/ShinyApp.csproj @@ -85,13 +85,13 @@ - + - + - + @@ -189,9 +189,9 @@ - - - + + + @@ -199,6 +199,9 @@ + + + diff --git a/ProjectTemplates/ShinyAspNet/ShinyAspNet.csproj b/ProjectTemplates/ShinyAspNet/ShinyAspNet.csproj index b4f6e60..77dbaca 100644 --- a/ProjectTemplates/ShinyAspNet/ShinyAspNet.csproj +++ b/ProjectTemplates/ShinyAspNet/ShinyAspNet.csproj @@ -5,7 +5,7 @@ enable enable 8.0.0 - 5.20.0-rc2 + 5.20.1 7.2.3 diff --git a/Template.csproj b/Template.csproj index 01dd5f4..c5c70f6 100644 --- a/Template.csproj +++ b/Template.csproj @@ -3,7 +3,7 @@ Shiny.NET Templates - One stop shop to setup almost everything you can imagine within your .NET MAUI application Template - 2.0.0-beta-0001 + 2.0.0-beta-0002 Shiny.Templates Shiny Templates Allan Ritchie