diff --git a/.NET-Templates.sln b/.NET-Templates.sln index a996ced7..df00e41d 100644 --- a/.NET-Templates.sln +++ b/.NET-Templates.sln @@ -140,22 +140,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Application", "Application" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1.Application", "templates\OnionArchitectureBlazorWebAssembly\src\Application\App1.Application\App1.Application.csproj", "{B3D77311-3DDD-42E6-A7E7-147D248BBD3A}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BlazorMauiShared", "BlazorMauiShared", "{30BF1453-3D5B-4348-BDC1-4FBCCD5CB7A6}" - ProjectSection(SolutionItems) = preProject - templates\BlazorMauiShared\Directory.Build.props = templates\BlazorMauiShared\Directory.Build.props - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1WebAssembly", "templates\BlazorMauiShared\App1WebAssembly\App1WebAssembly.csproj", "{866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Web", "templates\BlazorMauiShared\App1Web\App1Web.csproj", "{43DEC564-D532-4514-8215-13A5BBFFC0C9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Shared", "templates\BlazorMauiShared\App1Shared\App1Shared.csproj", "{472FE885-C2C7-467D-8FE8-73FB78B624A9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Client", "templates\BlazorMauiShared\App1Client\App1Client.csproj", "{F19C5BFD-1AAC-48F7-BFD1-B09517003912}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OnionArchitectureDotNetMauiRepository", "OnionArchitectureDotNetMauiRepository", "{BEFDDA02-7C41-47D0-B70C-0E47CD3C14D5}" ProjectSection(SolutionItems) = preProject - templates\OnionArchitectureBlazorServer\Directory.Build.props = templates\OnionArchitectureBlazorServer\Directory.Build.props + templates\OnionArchitectureDotNetMauiRepository\Directory.Build.props = templates\OnionArchitectureDotNetMauiRepository\Directory.Build.props EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{FF94AD6B-7455-4D17-B3BF-0A34D0A1D57B}" @@ -192,7 +179,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1.Application", "templat EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OnionArchitectureCrossPlatformApplicationRepository", "OnionArchitectureCrossPlatformApplicationRepository", "{7783630E-583B-40FC-B466-4A7F889D41F5}" ProjectSection(SolutionItems) = preProject - templates\OnionArchitectureBlazorServer\Directory.Build.props = templates\OnionArchitectureBlazorServer\Directory.Build.props + templates\OnionArchitectureCrossPlatformApplicationRepository\Directory.Build.props = templates\OnionArchitectureCrossPlatformApplicationRepository\Directory.Build.props EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{5F7E278A-6E3E-4E16-B1C3-1808C1AC30E4}" @@ -255,7 +242,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1.Application", "templat EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OnionArchitectureBlazor", "OnionArchitectureBlazor", "{F3920638-0D5D-4F45-A783-7AEE77510299}" ProjectSection(SolutionItems) = preProject - templates\OnionArchitectureBlazorServer\Directory.Build.props = templates\OnionArchitectureBlazorServer\Directory.Build.props + templates\OnionArchitectureBlazor\Directory.Build.props = templates\OnionArchitectureBlazor\Directory.Build.props EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{5849C7A4-D8C8-4C10-B707-BCC66DFFBB5B}" @@ -292,7 +279,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1.Application", "templat EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OnionArchitectureBlazorRepository", "OnionArchitectureBlazorRepository", "{49A8B757-6749-44FC-8D26-7F1E336920F5}" ProjectSection(SolutionItems) = preProject - templates\OnionArchitectureBlazorServer\Directory.Build.props = templates\OnionArchitectureBlazorServer\Directory.Build.props + templates\OnionArchitectureBlazorRepository\Directory.Build.props = templates\OnionArchitectureBlazorRepository\Directory.Build.props EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1475C294-98E8-4860-B381-078017646943}" @@ -465,24 +452,6 @@ Global {B3D77311-3DDD-42E6-A7E7-147D248BBD3A}.Debug|Any CPU.Build.0 = Debug|Any CPU {B3D77311-3DDD-42E6-A7E7-147D248BBD3A}.Release|Any CPU.ActiveCfg = Release|Any CPU {B3D77311-3DDD-42E6-A7E7-147D248BBD3A}.Release|Any CPU.Build.0 = Release|Any CPU - {866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC}.Release|Any CPU.Build.0 = Release|Any CPU - {43DEC564-D532-4514-8215-13A5BBFFC0C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {43DEC564-D532-4514-8215-13A5BBFFC0C9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {43DEC564-D532-4514-8215-13A5BBFFC0C9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {43DEC564-D532-4514-8215-13A5BBFFC0C9}.Release|Any CPU.Build.0 = Release|Any CPU - {472FE885-C2C7-467D-8FE8-73FB78B624A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {472FE885-C2C7-467D-8FE8-73FB78B624A9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {472FE885-C2C7-467D-8FE8-73FB78B624A9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {472FE885-C2C7-467D-8FE8-73FB78B624A9}.Release|Any CPU.Build.0 = Release|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Release|Any CPU.Build.0 = Release|Any CPU - {F19C5BFD-1AAC-48F7-BFD1-B09517003912}.Release|Any CPU.Deploy.0 = Release|Any CPU {6FA7EF54-2B29-43A1-999F-06865BB8B700}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6FA7EF54-2B29-43A1-999F-06865BB8B700}.Debug|Any CPU.Build.0 = Debug|Any CPU {6FA7EF54-2B29-43A1-999F-06865BB8B700}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -713,10 +682,6 @@ Global {9EA6C5A0-D27F-43E7-89EE-B354935C8DAD} = {A41E1C1F-80A1-4C63-9E86-1554318449F2} {3B8B4D5D-675D-4BFB-B352-5E68C315419E} = {18F34221-74BF-4CB3-841B-9540F983DFC7} {B3D77311-3DDD-42E6-A7E7-147D248BBD3A} = {3B8B4D5D-675D-4BFB-B352-5E68C315419E} - {866D0BC9-22B3-4CE6-B111-09EB6BA8D2CC} = {30BF1453-3D5B-4348-BDC1-4FBCCD5CB7A6} - {43DEC564-D532-4514-8215-13A5BBFFC0C9} = {30BF1453-3D5B-4348-BDC1-4FBCCD5CB7A6} - {472FE885-C2C7-467D-8FE8-73FB78B624A9} = {30BF1453-3D5B-4348-BDC1-4FBCCD5CB7A6} - {F19C5BFD-1AAC-48F7-BFD1-B09517003912} = {30BF1453-3D5B-4348-BDC1-4FBCCD5CB7A6} {FF94AD6B-7455-4D17-B3BF-0A34D0A1D57B} = {BEFDDA02-7C41-47D0-B70C-0E47CD3C14D5} {0BAC67FE-0E7C-4DB7-B607-2FE008504846} = {FF94AD6B-7455-4D17-B3BF-0A34D0A1D57B} {6FA7EF54-2B29-43A1-999F-06865BB8B700} = {0BAC67FE-0E7C-4DB7-B607-2FE008504846} diff --git a/README.md b/README.md index 6df2dd2e..3fd2ce6b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ [![NuGet Downloads](https://img.shields.io/nuget/dt/VladislavAntonyuk.DotNetTemplates.svg?style=flat-square)](https://www.nuget.org/packages/VladislavAntonyuk.DotNetTemplates) Table of contents: -* [BlazorMauiShared](#blazor-maui-shared) * [Blazor WebApp Microsoft Identity Platform](#blazor-webapp-microsoft-identity-platform) * [Onion Architecture Templates](#onion-architecture-templates) + [Onion Architecture Cross-Platform Application](#onion-architecture-cross-platform-application) diff --git a/VladislavAntonyukDotnetTemplates.csproj b/VladislavAntonyukDotnetTemplates.csproj index 70851d60..7ba79b4b 100644 --- a/VladislavAntonyukDotnetTemplates.csproj +++ b/VladislavAntonyukDotnetTemplates.csproj @@ -2,7 +2,7 @@ Template - 3.0 + 4.0 VladislavAntonyuk.DotNetTemplates Vladislav Antonyuk .NET Templates Vladislav Antonyuk @@ -18,7 +18,7 @@ - + diff --git a/templates/BlazorMauiShared/.editorconfig b/templates/BlazorMauiShared/.editorconfig deleted file mode 100644 index 94ef6e5e..00000000 --- a/templates/BlazorMauiShared/.editorconfig +++ /dev/null @@ -1,215 +0,0 @@ -# To learn more about .editorconfig see https://aka.ms/editorconfigdocs -############################### -# Core EditorConfig Options # -############################### -# All files -[*] -end_of_line=crlf -indent_style=tab -resharper_arrange_redundant_parentheses_highlighting=hint -resharper_arrange_this_qualifier_highlighting=hint -resharper_arrange_type_member_modifiers_highlighting=hint -resharper_arrange_type_modifiers_highlighting=hint -resharper_braces_for_for=required -resharper_braces_for_foreach=required -resharper_braces_for_ifelse=required -resharper_braces_for_while=required -resharper_built_in_type_reference_style_for_member_access_highlighting=hint -resharper_built_in_type_reference_style_highlighting=hint -resharper_redundant_base_qualifier_highlighting=warning -resharper_suggest_var_or_type_built_in_types_highlighting=hint -resharper_suggest_var_or_type_elsewhere_highlighting=hint -resharper_suggest_var_or_type_simple_types_highlighting=hint -resharper_xml_indent_style=tab -resharper_xml_use_indent_from_vs=false -resharper_xmldoc_indent_style=tab -resharper_xmldoc_use_indent_from_vs=false -trim_trailing_whitespace=true -csharp_new_line_before_members_in_object_initializers=true -csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion -csharp_style_var_elsewhere=true:suggestion -csharp_style_var_for_built_in_types=true:suggestion -csharp_style_var_when_type_is_apparent=true:suggestion -csharp_using_directive_placement=inside_namespace:silent -dotnet_naming_rule.private_constants_rule.severity=warning -dotnet_naming_rule.private_constants_rule.style=upper_camel_case_style -dotnet_naming_rule.private_constants_rule.symbols=private_constants_symbols -dotnet_naming_rule.private_instance_fields_rule.severity=warning -dotnet_naming_rule.private_instance_fields_rule.style=lower_camel_case_style -dotnet_naming_rule.private_instance_fields_rule.symbols=private_instance_fields_symbols -dotnet_naming_rule.private_static_fields_rule.severity=warning -dotnet_naming_rule.private_static_fields_rule.style=lower_camel_case_style_1 -dotnet_naming_rule.private_static_fields_rule.symbols=private_static_fields_symbols -dotnet_naming_rule.private_static_readonly_rule.severity=warning -dotnet_naming_rule.private_static_readonly_rule.style=upper_camel_case_style -dotnet_naming_rule.private_static_readonly_rule.symbols=private_static_readonly_symbols -dotnet_naming_style.lower_camel_case_style.capitalization=camel_case -dotnet_naming_style.lower_camel_case_style_1.capitalization=camel_case -dotnet_naming_style.lower_camel_case_style_1.required_prefix=_ -dotnet_naming_style.upper_camel_case_style.capitalization=pascal_case -dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities=private -dotnet_naming_symbols.private_constants_symbols.applicable_kinds=field -dotnet_naming_symbols.private_constants_symbols.required_modifiers=const -dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities=private -dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds=field -dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities=private -dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds=field -dotnet_naming_symbols.private_static_fields_symbols.required_modifiers=static -dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities=private -dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds=field -dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers=static,readonly -dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:none -dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:none -dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:none -dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion -dotnet_style_predefined_type_for_member_access=true:suggestion -dotnet_style_qualification_for_event=false:suggestion -dotnet_style_qualification_for_field=false:suggestion -dotnet_style_qualification_for_method=false:suggestion -dotnet_style_qualification_for_property=false:suggestion -dotnet_style_require_accessibility_modifiers=for_non_interface_members:suggestion - -# Microsoft .NET properties -csharp_preserve_single_line_blocks=true -dotnet_naming_rule.constants_rule.severity=warning -dotnet_naming_rule.constants_rule.style=upper_camel_case_style -dotnet_naming_rule.constants_rule.symbols=constants_symbols -dotnet_naming_symbols.constants_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected -dotnet_naming_symbols.constants_symbols.applicable_kinds=field -dotnet_naming_symbols.constants_symbols.required_modifiers=const - -# ReSharper properties -resharper_align_linq_query=true -resharper_align_multiline_argument=true -resharper_align_multiline_calls_chain=true -resharper_align_multiline_extends_list=true -resharper_align_multiline_for_stmt=true -resharper_align_multline_type_parameter_constrains=true -resharper_align_multline_type_parameter_list=true -resharper_align_tuple_components=true -resharper_csharp_align_multiline_parameter=false -resharper_csharp_align_multiple_declaration=true -resharper_csharp_indent_style=tab -resharper_csharp_naming_rule.constants=AaBb, aaBb -resharper_csharp_naming_rule.private_constants=AaBb -resharper_csharp_naming_rule.private_static_fields=_ + aaBb -resharper_csharp_naming_rule.private_static_readonly=AaBb -resharper_csharp_stick_comment=false -resharper_csharp_wrap_chained_method_calls=chop_if_long -resharper_csharp_wrap_extends_list_style=chop_if_long -resharper_csharp_wrap_parameters_style=chop_if_long -resharper_enforce_line_ending_style=true -resharper_keep_existing_arrangement=false -resharper_max_initializer_elements_on_line=0 -resharper_nested_ternary_style=compact -resharper_place_attribute_on_same_line=false -resharper_place_expr_accessor_on_single_line=true -resharper_place_expr_method_on_single_line=true -resharper_place_expr_property_on_single_line=true -resharper_place_simple_accessor_on_single_line=false -resharper_place_simple_anonymousmethod_on_single_line=false -resharper_place_simple_embedded_statement_on_same_line=false -resharper_place_simple_initializer_on_single_line=false -resharper_use_indent_from_vs=false -resharper_wrap_array_initializer_style=chop_always -resharper_wrap_chained_binary_expressions=chop_if_long -resharper_wrap_object_and_collection_initializer_style=chop_always -# Code files -[*.{cs,csx,vb,vbx}] -charset=utf-8-bom -indent_size=4 -insert_final_newline=false -############################### -# .NET Coding Conventions # -############################### -[*.{cs,vb}] -dotnet_naming_rule.constant_fields_should_be_pascal_case.severity=suggestion -dotnet_naming_rule.constant_fields_should_be_pascal_case.style=pascal_case_style -dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols=constant_fields -dotnet_naming_style.pascal_case_style.capitalization=pascal_case -dotnet_naming_symbols.constant_fields.applicable_accessibilities=* -dotnet_naming_symbols.constant_fields.applicable_kinds=field -dotnet_naming_symbols.constant_fields.required_modifiers=const -dotnet_sort_system_directives_first=true -dotnet_style_coalesce_expression=true:suggestion -dotnet_style_collection_initializer=true:suggestion -dotnet_style_explicit_tuple_names=true:suggestion -dotnet_style_null_propagation=true:suggestion -dotnet_style_object_initializer=true:suggestion -dotnet_style_parentheses_in_arithmetic_binary_operators=always_for_clarity:silent -dotnet_style_parentheses_in_other_binary_operators=always_for_clarity:silent -dotnet_style_parentheses_in_other_operators=never_if_unnecessary:silent -dotnet_style_parentheses_in_relational_binary_operators=always_for_clarity:silent -dotnet_style_predefined_type_for_locals_parameters_members=true:silent -dotnet_style_predefined_type_for_member_access=true:silent -dotnet_style_prefer_auto_properties=true:silent -dotnet_style_prefer_conditional_expression_over_assignment=true:silent -dotnet_style_prefer_conditional_expression_over_return=true:silent -dotnet_style_prefer_inferred_anonymous_type_member_names=true:suggestion -dotnet_style_prefer_inferred_tuple_names=true:suggestion -dotnet_style_prefer_is_null_check_over_reference_equality_method=true:silent -dotnet_style_qualification_for_event=false:silent -dotnet_style_qualification_for_field=false:silent -dotnet_style_qualification_for_method=false:silent -dotnet_style_qualification_for_property=false:silent -dotnet_style_readonly_field=true:suggestion -dotnet_style_require_accessibility_modifiers=for_non_interface_members:silent -############################### -# C# Coding Conventions # -############################### -[*.cs] -csharp_indent_case_contents_when_block=true -csharp_indent_case_contents=true -csharp_indent_labels=flush_left -csharp_indent_switch_labels=true -csharp_new_line_before_catch=true -csharp_new_line_before_else=true -csharp_new_line_before_finally=true -csharp_new_line_before_members_in_anonymous_types=true -csharp_new_line_before_members_in_object_initializers=true -csharp_new_line_before_open_brace=all -csharp_new_line_between_query_expression_clauses=true -csharp_prefer_braces=true:silent -csharp_prefer_simple_default_expression=true:suggestion -csharp_preferred_modifier_order=public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion -csharp_preserve_single_line_blocks=true -csharp_preserve_single_line_statements=true -csharp_space_after_cast=false -csharp_space_after_colon_in_inheritance_clause=true -csharp_space_after_keywords_in_control_flow_statements=true -csharp_space_around_binary_operators=before_and_after -csharp_space_before_colon_in_inheritance_clause=true -csharp_space_between_method_call_empty_parameter_list_parentheses=false -csharp_space_between_method_call_name_and_opening_parenthesis=false -csharp_space_between_method_call_parameter_list_parentheses=false -csharp_space_between_method_declaration_empty_parameter_list_parentheses=false -csharp_space_between_method_declaration_parameter_list_parentheses=false -csharp_space_between_parentheses=false -csharp_style_conditional_delegate_call=true:suggestion -csharp_style_deconstructed_variable_declaration=true:suggestion -csharp_style_expression_bodied_accessors=true:silent -csharp_style_expression_bodied_constructors=false:silent -csharp_style_expression_bodied_indexers=true:silent -csharp_style_expression_bodied_methods=false:silent -csharp_style_expression_bodied_operators=false:silent -csharp_style_expression_bodied_properties=true:silent -csharp_style_inlined_variable_declaration=true:suggestion -csharp_style_pattern_local_over_anonymous_function=true:suggestion -csharp_style_pattern_matching_over_as_with_null_check=true:suggestion -csharp_style_pattern_matching_over_is_with_cast_check=true:suggestion -csharp_style_throw_expression=true:suggestion -csharp_style_var_elsewhere=true:silent -csharp_style_var_for_built_in_types=true:silent -csharp_style_var_when_type_is_apparent=true:silent -dotnet_analyzer_diagnostic.category-.severity = unset -dotnet_analyzer_diagnostic.severity=unset -dotnet_diagnostic..severity = unset -dotnet_separate_import_directive_groups=false -indent_style=tab -indent_size=4 -tab_width=4 - -[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,jsproj,lsproj,njsproj,nuspec,proj,props,proto,StyleCop,targets,tasks,vbproj,xaml,xamlx,xml,xoml,xsd,asax,ascx,aspx,cs,cshtml,css,htm,html,js,json,jsx,master,razor,resjson,resw,resx,skin,ts,tsx,vb}] -indent_size=4 -indent_style=tab -tab_width=4 \ No newline at end of file diff --git a/templates/BlazorMauiShared/.template.config/template.json b/templates/BlazorMauiShared/.template.config/template.json deleted file mode 100644 index dc447753..00000000 --- a/templates/BlazorMauiShared/.template.config/template.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/template", - "author": "Vladislav Antonyuk", - "classifications": ["MAUI","Blazor"], - "description": "Creates a new solution with a shared UI for .NET MAUI, Blazor WebApp and Blazor WebAssembly.", - "name": "Blazor and .NET MAUI Shared UI", - "identity": "VladislavAntonyuk.DotNetTemplates.BlazorMauiShared", - "tags": { - "language": "C#", - "type": "project" - }, - "shortName": "blazor-maui-shared", - "sourceName": "App1", - "preferNameDirectory":true, - "symbols": { - "applicationId": { - "description": "ApplicationId", - "type": "parameter", - "replaces": "com.companyname.app" - } - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1.sln b/templates/BlazorMauiShared/App1.sln deleted file mode 100644 index e8e42fe0..00000000 --- a/templates/BlazorMauiShared/App1.sln +++ /dev/null @@ -1,47 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Client", "App1Client\App1Client.csproj", "{5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Shared", "App1Shared\App1Shared.csproj", "{17BF8A0D-2B30-4572-8258-2884E3525D96}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1Web", "App1Web\App1Web.csproj", "{A5D78BBD-E7EF-4218-BC97-0CEA04305BCA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App1WebAssembly", "App1WebAssembly\App1WebAssembly.csproj", "{4FA8B3F0-1C8F-4CAA-BBE7-EA4FDBAFE159}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0D9F0788-E0A6-4CA2-8498-A40621C21C64}" - ProjectSection(SolutionItems) = preProject - Directory.Build.props = Directory.Build.props - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Release|Any CPU.Build.0 = Release|Any CPU - {5FB94F7D-02B8-41FB-A09E-FDE6C57E49B5}.Release|Any CPU.Deploy.0 = Release|Any CPU - {17BF8A0D-2B30-4572-8258-2884E3525D96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17BF8A0D-2B30-4572-8258-2884E3525D96}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17BF8A0D-2B30-4572-8258-2884E3525D96}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17BF8A0D-2B30-4572-8258-2884E3525D96}.Release|Any CPU.Build.0 = Release|Any CPU - {A5D78BBD-E7EF-4218-BC97-0CEA04305BCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A5D78BBD-E7EF-4218-BC97-0CEA04305BCA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A5D78BBD-E7EF-4218-BC97-0CEA04305BCA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A5D78BBD-E7EF-4218-BC97-0CEA04305BCA}.Release|Any CPU.Build.0 = Release|Any CPU - {4FA8B3F0-1C8F-4CAA-BBE7-EA4FDBAFE159}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4FA8B3F0-1C8F-4CAA-BBE7-EA4FDBAFE159}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4FA8B3F0-1C8F-4CAA-BBE7-EA4FDBAFE159}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4FA8B3F0-1C8F-4CAA-BBE7-EA4FDBAFE159}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/templates/BlazorMauiShared/App1Client/App.xaml b/templates/BlazorMauiShared/App1Client/App.xaml deleted file mode 100644 index 29a833fc..00000000 --- a/templates/BlazorMauiShared/App1Client/App.xaml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - #512bdf - White - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/App.xaml.cs b/templates/BlazorMauiShared/App1Client/App.xaml.cs deleted file mode 100644 index 6e73c2ed..00000000 --- a/templates/BlazorMauiShared/App1Client/App.xaml.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace App1; - -public partial class App : Application -{ - public App() - { - InitializeComponent(); - - MainPage = new MainPage(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/App1Client.csproj b/templates/BlazorMauiShared/App1Client/App1Client.csproj deleted file mode 100644 index 53da5259..00000000 --- a/templates/BlazorMauiShared/App1Client/App1Client.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 - - - Exe - App1 - true - true - false - - - App1 - - - com.companyname.app - 5ED1D9D3-15CE-4C78-A0EF-4B14599417D4 - - - 1.0 - 1 - - 14.2 - 14.0 - 24.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 - - - - - - - - - - - - - - - - - - - - diff --git a/templates/BlazorMauiShared/App1Client/Main.razor b/templates/BlazorMauiShared/App1Client/Main.razor deleted file mode 100644 index 7c2f744b..00000000 --- a/templates/BlazorMauiShared/App1Client/Main.razor +++ /dev/null @@ -1,12 +0,0 @@ -@using App1Shared.Components.Layout - - - - - - - -

Sorry, there's nothing at this address.

-
-
-
\ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/MainPage.xaml b/templates/BlazorMauiShared/App1Client/MainPage.xaml deleted file mode 100644 index d2d0fd01..00000000 --- a/templates/BlazorMauiShared/App1Client/MainPage.xaml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/MainPage.xaml.cs b/templates/BlazorMauiShared/App1Client/MainPage.xaml.cs deleted file mode 100644 index 50d5a2bc..00000000 --- a/templates/BlazorMauiShared/App1Client/MainPage.xaml.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace App1; - -public partial class MainPage : ContentPage -{ - public MainPage() - { - InitializeComponent(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/MauiProgram.cs b/templates/BlazorMauiShared/App1Client/MauiProgram.cs deleted file mode 100644 index 6ad60785..00000000 --- a/templates/BlazorMauiShared/App1Client/MauiProgram.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace App1; - -using App1Shared; - -public static class MauiProgram -{ - public static MauiApp CreateMauiApp() - { - var builder = MauiApp.CreateBuilder(); - builder.UseMauiApp(); - - builder.Services.AddMauiBlazorWebView(); - builder.Services.AddShared(); - -#if DEBUG - builder.Services.AddBlazorWebViewDeveloperTools(); -#endif - - return builder.Build(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Android/AndroidManifest.xml b/templates/BlazorMauiShared/App1Client/Platforms/Android/AndroidManifest.xml deleted file mode 100644 index 57714a9b..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Android/AndroidManifest.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Android/MainActivity.cs b/templates/BlazorMauiShared/App1Client/Platforms/Android/MainActivity.cs deleted file mode 100644 index ac894a56..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Android/MainActivity.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace App1; - -using Android.App; -using Android.Content.PM; - -[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, - ConfigurationChanges = ConfigChanges.ScreenSize | - ConfigChanges.Orientation | - ConfigChanges.UiMode | - ConfigChanges.ScreenLayout | - ConfigChanges.SmallestScreenSize | - ConfigChanges.Density)] -public class MainActivity : MauiAppCompatActivity; \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Android/MainApplication.cs b/templates/BlazorMauiShared/App1Client/Platforms/Android/MainApplication.cs deleted file mode 100644 index 99744219..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Android/MainApplication.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace App1; - -using Android.App; -using Android.Runtime; - -[Application] -public class MainApplication(IntPtr handle, JniHandleOwnership ownership) : MauiApplication(handle, ownership) -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Android/Resources/values/colors.xml b/templates/BlazorMauiShared/App1Client/Platforms/Android/Resources/values/colors.xml deleted file mode 100644 index fa08fc4f..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Android/Resources/values/colors.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - #512BD4 - #2B0B98 - #2B0B98 - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/AppDelegate.cs b/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/AppDelegate.cs deleted file mode 100644 index b8fe0cc3..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/AppDelegate.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace App1; - -using Foundation; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() - { - return MauiProgram.CreateMauiApp(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Info.plist b/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Info.plist deleted file mode 100644 index 403ce9c6..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Program.cs b/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Program.cs deleted file mode 100644 index b73dda65..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/MacCatalyst/Program.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace App1; - -using UIKit; - -public static class Program -{ - // This is the main entry point of the application. - private 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)); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Tizen/Main.cs b/templates/BlazorMauiShared/App1Client/Platforms/Tizen/Main.cs deleted file mode 100644 index 2e85b3a2..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Tizen/Main.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace App1; - -using System; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; - -internal class Program : MauiApplication -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - static void Main(string[] args) - { - var app = new Program(); - app.Run(args); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Tizen/tizen-manifest.xml b/templates/BlazorMauiShared/App1Client/Platforms/Tizen/tizen-manifest.xml deleted file mode 100644 index 981b2058..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Tizen/tizen-manifest.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - maui-appicon-placeholder - - - - - http://tizen.org/privilege/internet - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml b/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml deleted file mode 100644 index 1c68e3ec..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml.cs b/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml.cs deleted file mode 100644 index c1095ff7..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Windows/App.xaml.cs +++ /dev/null @@ -1,24 +0,0 @@ -// To learn more about WinUI, the WinUI project structure, -// and more about our project templates, see: http://aka.ms/winui-project-info. - -namespace App1.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() - { - InitializeComponent(); - } - - protected override MauiApp CreateMauiApp() - { - return MauiProgram.CreateMauiApp(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Windows/Package.appxmanifest b/templates/BlazorMauiShared/App1Client/Platforms/Windows/Package.appxmanifest deleted file mode 100644 index 7aa9ae0d..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Windows/Package.appxmanifest +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - $placeholder$ - User Name - $placeholder$.png - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/BlazorMauiShared/App1Client/Platforms/Windows/app.manifest b/templates/BlazorMauiShared/App1Client/Platforms/Windows/app.manifest deleted file mode 100644 index 80e439c1..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/Windows/app.manifest +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - true/PM - PerMonitorV2, PerMonitor - - - diff --git a/templates/BlazorMauiShared/App1Client/Platforms/iOS/AppDelegate.cs b/templates/BlazorMauiShared/App1Client/Platforms/iOS/AppDelegate.cs deleted file mode 100644 index b8fe0cc3..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/iOS/AppDelegate.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace App1; - -using Foundation; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() - { - return MauiProgram.CreateMauiApp(); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Platforms/iOS/Info.plist b/templates/BlazorMauiShared/App1Client/Platforms/iOS/Info.plist deleted file mode 100644 index ecb7f719..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/iOS/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - 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/BlazorMauiShared/App1Client/Platforms/iOS/Program.cs b/templates/BlazorMauiShared/App1Client/Platforms/iOS/Program.cs deleted file mode 100644 index 6d605213..00000000 --- a/templates/BlazorMauiShared/App1Client/Platforms/iOS/Program.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace App1; - -using UIKit; - -public static 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)); - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Properties/launchSettings.json b/templates/BlazorMauiShared/App1Client/Properties/launchSettings.json deleted file mode 100644 index edf8aadc..00000000 --- a/templates/BlazorMauiShared/App1Client/Properties/launchSettings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "profiles": { - "Windows Machine": { - "commandName": "MsixPackage", - "nativeDebugging": false - } - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appicon.svg b/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appicon.svg deleted file mode 100644 index 9d63b651..00000000 --- a/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appiconfg.svg b/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/templates/BlazorMauiShared/App1Client/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/Resources/Splash/splash.svg b/templates/BlazorMauiShared/App1Client/Resources/Splash/splash.svg deleted file mode 100644 index 21dfb25f..00000000 --- a/templates/BlazorMauiShared/App1Client/Resources/Splash/splash.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/_Imports.razor b/templates/BlazorMauiShared/App1Client/_Imports.razor deleted file mode 100644 index 88b2d37c..00000000 --- a/templates/BlazorMauiShared/App1Client/_Imports.razor +++ /dev/null @@ -1,7 +0,0 @@ -@using System.Net.Http -@using Microsoft.AspNetCore.Components.Forms -@using Microsoft.AspNetCore.Components.Routing -@using Microsoft.AspNetCore.Components.Web -@using Microsoft.AspNetCore.Components.Web.Virtualization -@using Microsoft.JSInterop -@using App1Shared \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Client/wwwroot/index.html b/templates/BlazorMauiShared/App1Client/wwwroot/index.html deleted file mode 100644 index 1acfdbf7..00000000 --- a/templates/BlazorMauiShared/App1Client/wwwroot/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - App1 - - - - - - -
- -
Loading...
- - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/App1Shared.csproj b/templates/BlazorMauiShared/App1Shared/App1Shared.csproj deleted file mode 100644 index 5319660c..00000000 --- a/templates/BlazorMauiShared/App1Shared/App1Shared.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - - net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 - - - - 14.2 - 14.0 - 24.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 - - - - - - - diff --git a/templates/BlazorMauiShared/App1Shared/Components/Head.razor b/templates/BlazorMauiShared/App1Shared/Components/Head.razor deleted file mode 100644 index 9ecac30e..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Head.razor +++ /dev/null @@ -1,21 +0,0 @@ -@inherits ComponentBase - -@Title - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/Components/Head.razor.cs b/templates/BlazorMauiShared/App1Shared/Components/Head.razor.cs deleted file mode 100644 index 1088b026..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Head.razor.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace App1Shared.Components; - -using Microsoft.AspNetCore.Components; - -public partial class Head : ComponentBase -{ - [Inject] - public required NavigationManager NavigationManager { get; set; } - - [Parameter] - public string Title { get; set; } = "App1"; - - [Parameter] - public string Description { get; set; } = "App1"; - - [Parameter] - public string Image { get; set; } = "favicon.png"; - - [Parameter] - public string Keywords { get; set; } = "App1"; -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor b/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor deleted file mode 100644 index 1bc36dfb..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor +++ /dev/null @@ -1,15 +0,0 @@ -@inherits LayoutComponentBase - - - -@Body -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
\ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor.cs b/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor.cs deleted file mode 100644 index c99dadd7..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Layout/MainLayout.razor.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace App1Shared.Components.Layout; - -using Microsoft.AspNetCore.Components; - -public partial class MainLayout : LayoutComponentBase; \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor b/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor deleted file mode 100644 index d001e6d8..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor +++ /dev/null @@ -1,3 +0,0 @@ -@page "/" - -

App1

\ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor.cs b/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor.cs deleted file mode 100644 index 83107054..00000000 --- a/templates/BlazorMauiShared/App1Shared/Components/Pages/Home.razor.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace App1Shared.Components.Pages; - -using Microsoft.AspNetCore.Components; - -public partial class Home : ComponentBase; \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/DependencyInjections.cs b/templates/BlazorMauiShared/App1Shared/DependencyInjections.cs deleted file mode 100644 index e2a79714..00000000 --- a/templates/BlazorMauiShared/App1Shared/DependencyInjections.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace App1Shared; - -using Microsoft.Extensions.DependencyInjection; - -public static class DependencyInjections -{ - public static void AddShared(this IServiceCollection services) - { - - } -} \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/_Imports.razor b/templates/BlazorMauiShared/App1Shared/_Imports.razor deleted file mode 100644 index 88b2d37c..00000000 --- a/templates/BlazorMauiShared/App1Shared/_Imports.razor +++ /dev/null @@ -1,7 +0,0 @@ -@using System.Net.Http -@using Microsoft.AspNetCore.Components.Forms -@using Microsoft.AspNetCore.Components.Routing -@using Microsoft.AspNetCore.Components.Web -@using Microsoft.AspNetCore.Components.Web.Virtualization -@using Microsoft.JSInterop -@using App1Shared \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Shared/wwwroot/favicon.png b/templates/BlazorMauiShared/App1Shared/wwwroot/favicon.png deleted file mode 100644 index 63e859b4..00000000 Binary files a/templates/BlazorMauiShared/App1Shared/wwwroot/favicon.png and /dev/null differ diff --git a/templates/BlazorMauiShared/App1Shared/wwwroot/site.css b/templates/BlazorMauiShared/App1Shared/wwwroot/site.css deleted file mode 100644 index ab5d2362..00000000 --- a/templates/BlazorMauiShared/App1Shared/wwwroot/site.css +++ /dev/null @@ -1,79 +0,0 @@ -html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } - -h1:focus { outline: none; } - -a, .btn-link { color: #0071c1; } - -.btn-primary { - background-color: #1b6ec2; - border-color: #1861ac; - color: #fff; -} - -.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus { box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; } - -.content { padding-top: 1.1rem; } - -.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } - -.invalid { outline: 1px solid red; } - -.validation-message { color: red; } - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; -} - -#blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; -} - -.blazor-error-boundary { - background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; - color: white; - padding: 1rem 1rem 1rem 3.7rem; -} - -.blazor-error-boundary::after { content: "An error has occurred." } - -.loading-progress { - display: block; - height: 8rem; - margin: 20vh auto 1rem auto; - position: relative; - width: 8rem; -} - -.loading-progress circle { - fill: none; - stroke: #e0e0e0; - stroke-width: 0.6rem; - transform: rotate(-90deg); - transform-origin: 50% 50%; -} - -.loading-progress circle:last-child { - stroke: #1b6ec2; - stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0) * 0.8), 500%; - transition: stroke-dasharray 0.05s ease-in-out; -} - -.loading-progress-text { - font-weight: bold; - inset: calc(20vh + 3.25rem) 0 auto 0.2rem; - position: absolute; - text-align: center; -} - -.loading-progress-text:after { content: var(--blazor-load-percentage-text, "Loading"); } \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Web/App1Web.csproj b/templates/BlazorMauiShared/App1Web/App1Web.csproj deleted file mode 100644 index d7dbf88b..00000000 --- a/templates/BlazorMauiShared/App1Web/App1Web.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - net8.0 - - - - - - - diff --git a/templates/BlazorMauiShared/App1Web/Components/App.razor b/templates/BlazorMauiShared/App1Web/Components/App.razor deleted file mode 100644 index a5653908..00000000 --- a/templates/BlazorMauiShared/App1Web/Components/App.razor +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/templates/BlazorMauiShared/App1Web/Components/Routes.razor b/templates/BlazorMauiShared/App1Web/Components/Routes.razor deleted file mode 100644 index 4c3391f1..00000000 --- a/templates/BlazorMauiShared/App1Web/Components/Routes.razor +++ /dev/null @@ -1,7 +0,0 @@ -@using App1Shared.Components.Layout - - - - - - diff --git a/templates/BlazorMauiShared/App1Web/Components/_Imports.razor b/templates/BlazorMauiShared/App1Web/Components/_Imports.razor deleted file mode 100644 index 734e1014..00000000 --- a/templates/BlazorMauiShared/App1Web/Components/_Imports.razor +++ /dev/null @@ -1,7 +0,0 @@ -@using System.Net.Http -@using System.Net.Http.Json -@using Microsoft.AspNetCore.Components.Forms -@using Microsoft.AspNetCore.Components.Routing -@using Microsoft.AspNetCore.Components.Web -@using Microsoft.AspNetCore.Components.Web.Virtualization -@using Microsoft.JSInterop \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Web/Program.cs b/templates/BlazorMauiShared/App1Web/Program.cs deleted file mode 100644 index 3e385d3e..00000000 --- a/templates/BlazorMauiShared/App1Web/Program.cs +++ /dev/null @@ -1,30 +0,0 @@ -using App1Shared; -using App1Web.Components; - -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. -builder.Services.AddShared(); - -builder.Services.AddRazorComponents() - .AddInteractiveServerComponents(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (!app.Environment.IsDevelopment()) -{ - app.UseExceptionHandler("/Error"); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); -} - -app.UseHttpsRedirection(); - -app.UseStaticFiles(); -app.UseAntiforgery(); - -app.MapRazorComponents() - .AddInteractiveServerRenderMode(); - -app.Run(); \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1Web/Properties/launchSettings.json b/templates/BlazorMauiShared/App1Web/Properties/launchSettings.json deleted file mode 100644 index 34b05168..00000000 --- a/templates/BlazorMauiShared/App1Web/Properties/launchSettings.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:7563", - "sslPort": 44334 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5120", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7094;http://localhost:5120", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/templates/BlazorMauiShared/App1Web/appsettings.Development.json b/templates/BlazorMauiShared/App1Web/appsettings.Development.json deleted file mode 100644 index 770d3e93..00000000 --- a/templates/BlazorMauiShared/App1Web/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "DetailedErrors": true, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/templates/BlazorMauiShared/App1Web/appsettings.json b/templates/BlazorMauiShared/App1Web/appsettings.json deleted file mode 100644 index 10f68b8c..00000000 --- a/templates/BlazorMauiShared/App1Web/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/templates/BlazorMauiShared/App1WebAssembly/App.razor b/templates/BlazorMauiShared/App1WebAssembly/App.razor deleted file mode 100644 index 2c666b87..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/App.razor +++ /dev/null @@ -1,13 +0,0 @@ -@using App1Shared.Components.Layout - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/templates/BlazorMauiShared/App1WebAssembly/App1WebAssembly.csproj b/templates/BlazorMauiShared/App1WebAssembly/App1WebAssembly.csproj deleted file mode 100644 index 0ab6bbcb..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/App1WebAssembly.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - net8.0 - - - - - - - - - - - - diff --git a/templates/BlazorMauiShared/App1WebAssembly/Program.cs b/templates/BlazorMauiShared/App1WebAssembly/Program.cs deleted file mode 100644 index f6d248bb..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/Program.cs +++ /dev/null @@ -1,11 +0,0 @@ -using App1WebAssembly; -using Microsoft.AspNetCore.Components.Web; -using Microsoft.AspNetCore.Components.WebAssembly.Hosting; - -var builder = WebAssemblyHostBuilder.CreateDefault(args); -builder.RootComponents.Add("#app"); -builder.RootComponents.Add("head::after"); - -builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); - -await builder.Build().RunAsync(); \ No newline at end of file diff --git a/templates/BlazorMauiShared/App1WebAssembly/Properties/launchSettings.json b/templates/BlazorMauiShared/App1WebAssembly/Properties/launchSettings.json deleted file mode 100644 index 5ee0ed09..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/Properties/launchSettings.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:53240", - "sslPort": 44322 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:5206", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "https://localhost:7220;http://localhost:5206", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/templates/BlazorMauiShared/App1WebAssembly/_Imports.razor b/templates/BlazorMauiShared/App1WebAssembly/_Imports.razor deleted file mode 100644 index 71ff41bd..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/_Imports.razor +++ /dev/null @@ -1,9 +0,0 @@ -@using System.Net.Http -@using System.Net.Http.Json -@using Microsoft.AspNetCore.Components.Forms -@using Microsoft.AspNetCore.Components.Routing -@using Microsoft.AspNetCore.Components.Web -@using Microsoft.AspNetCore.Components.Web.Virtualization -@using Microsoft.AspNetCore.Components.WebAssembly.Http -@using Microsoft.JSInterop -@using App1Shared diff --git a/templates/BlazorMauiShared/App1WebAssembly/wwwroot/index.html b/templates/BlazorMauiShared/App1WebAssembly/wwwroot/index.html deleted file mode 100644 index d88e991b..00000000 --- a/templates/BlazorMauiShared/App1WebAssembly/wwwroot/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - App1WebAssembly - - - - - - -
- - - - -
-
- -
- An unhandled error has occurred. - Reload - 🗙 -
- - - - diff --git a/templates/BlazorMauiShared/Directory.Build.props b/templates/BlazorMauiShared/Directory.Build.props deleted file mode 100644 index 27b63f58..00000000 --- a/templates/BlazorMauiShared/Directory.Build.props +++ /dev/null @@ -1,13 +0,0 @@ - - - - - enable - enable - true - true - true - true - $(NoWarn);NU1603 - - \ No newline at end of file diff --git a/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/Program.cs b/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/Program.cs index 6a0029e6..fbbd2f2c 100644 --- a/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/Program.cs +++ b/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/Program.cs @@ -35,7 +35,7 @@ app.UseHttpsRedirection(); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAntiforgery(); app.MapControllers(); diff --git a/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/WebApp1.csproj b/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/WebApp1.csproj index c858a357..5c0a7f3e 100644 --- a/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/WebApp1.csproj +++ b/templates/BlazorWebAppMicrosoftIdentityPlatform/WebApp1/WebApp1.csproj @@ -1,13 +1,13 @@ - net8.0 + net9.0 enable enable - - + + diff --git a/templates/OnionArchitectureBlazor/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureBlazor/src/Application/App1.Application/App1.Application.csproj index 659efae1..10db90bf 100644 --- a/templates/OnionArchitectureBlazor/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureBlazor/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureBlazor/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureBlazor/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index 91cb61ac..da5a1544 100644 --- a/templates/OnionArchitectureBlazor/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureBlazor/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -21,5 +21,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureBlazor/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureBlazor/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureBlazor/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureBlazor/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj b/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj index 5945ddab..963eca63 100644 --- a/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj +++ b/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index b4ebff5f..4e8246b0 100644 --- a/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureBlazor/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,19 +1,19 @@  - net8.0 + net9.0 - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/App1.WebApp.csproj b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/App1.WebApp.csproj index a25bc034..12676d79 100644 --- a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/App1.WebApp.csproj +++ b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/App1.WebApp.csproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 - - + + diff --git a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor index 402f6211..8c93c480 100644 --- a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor +++ b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor @@ -11,7 +11,7 @@ Create item - + Class1 diff --git a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs index acb8e480..7c9bf74b 100644 --- a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs +++ b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs @@ -24,14 +24,14 @@ public partial class FetchData : App1BaseComponent [Inject] public required ISnackbar Snackbar { get; set; } - private async Task> LoadClass1s(TableState state) + private async Task> LoadClass1s(TableState state, CancellationToken cancellationToken) { var result = await QueryDispatcher.SendAsync(new GetClass1Query { Limit = state.PageSize, Name = searchString?.Value, Offset = state.Page - }, CancellationToken.None); + }, cancellationToken); if (result.IsSuccessful) { return new TableData diff --git a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Program.cs b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Program.cs index bf2cf465..9665b2cc 100644 --- a/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Program.cs +++ b/templates/OnionArchitectureBlazor/src/UI/App1.WebApp/Program.cs @@ -40,7 +40,7 @@ app.UseHttpsRedirection(); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAntiforgery(); app.MapRazorComponents() diff --git a/templates/OnionArchitectureBlazor/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj b/templates/OnionArchitectureBlazor/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj index 9577eda1..7256f757 100644 --- a/templates/OnionArchitectureBlazor/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj +++ b/templates/OnionArchitectureBlazor/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj @@ -1,20 +1,20 @@ - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj b/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj index cc4a692e..cdaad236 100644 --- a/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj +++ b/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj b/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj index 4b0f0cac..c63c3327 100644 --- a/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj +++ b/templates/OnionArchitectureBlazor/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/App1.Application.csproj index 5c07d5de..459a5d54 100644 --- a/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index c609888a..4c4da150 100644 --- a/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureBlazorRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -19,5 +19,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureBlazorRepository/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureBlazorRepository/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureBlazorRepository/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureBlazorRepository/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj b/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj index 5945ddab..963eca63 100644 --- a/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj +++ b/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index b4ebff5f..4e8246b0 100644 --- a/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureBlazorRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,19 +1,19 @@  - net8.0 + net9.0 - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/App1.WebApp.csproj b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/App1.WebApp.csproj index a25bc034..12676d79 100644 --- a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/App1.WebApp.csproj +++ b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/App1.WebApp.csproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 - - + + diff --git a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor index 310e8101..49cf5358 100644 --- a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor +++ b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor @@ -11,7 +11,7 @@ Create item - + Class1 diff --git a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs index 820019c6..b458bba3 100644 --- a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs +++ b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs @@ -24,9 +24,9 @@ public partial class FetchData : App1BaseComponent [Inject] public required ISnackbar Snackbar { get; set; } - private async Task> LoadClass1s(TableState state) + private async Task> LoadClass1s(TableState state, CancellationToken cancellationToken) { - var result = await QueryDispatcher.SendAsync(new GetClass1Query(), CancellationToken.None); + var result = await QueryDispatcher.SendAsync(new GetClass1Query(), cancellationToken); if (result.IsSuccessful) { return new TableData diff --git a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Program.cs b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Program.cs index bf2cf465..9665b2cc 100644 --- a/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Program.cs +++ b/templates/OnionArchitectureBlazorRepository/src/UI/App1.WebApp/Program.cs @@ -40,7 +40,7 @@ app.UseHttpsRedirection(); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAntiforgery(); app.MapRazorComponents() diff --git a/templates/OnionArchitectureBlazorRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj b/templates/OnionArchitectureBlazorRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj index 9577eda1..7256f757 100644 --- a/templates/OnionArchitectureBlazorRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj +++ b/templates/OnionArchitectureBlazorRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj @@ -1,20 +1,20 @@ - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj b/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj index cc4a692e..cdaad236 100644 --- a/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj +++ b/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj b/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj index 4b0f0cac..c63c3327 100644 --- a/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj +++ b/templates/OnionArchitectureBlazorRepository/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/App1.Application.csproj index 5c07d5de..459a5d54 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index c609888a..4c4da150 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureBlazorWebAssembly/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -19,5 +19,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureBlazorWebAssembly/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj b/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj index 5945ddab..963eca63 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index 05b5d349..b7626206 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,11 +1,11 @@  - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/App1.WebApp.csproj b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/App1.WebApp.csproj index f082dc9d..84a5f641 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/App1.WebApp.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/App1.WebApp.csproj @@ -1,15 +1,15 @@  - net8.0 + net9.0 service-worker-assets.js - - - - + + + + diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor index 9ac91ef8..e182ec3c 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor +++ b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor @@ -10,7 +10,7 @@ Create item - + Class1 diff --git a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs index a8f7955f..c28736fa 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs +++ b/templates/OnionArchitectureBlazorWebAssembly/src/UI/App1.WebApp/Components/Pages/FetchData.razor.cs @@ -24,14 +24,14 @@ public partial class FetchData : App1BaseComponent [Inject] public required ISnackbar Snackbar { get; set; } - private async Task> LoadClass1s(TableState state) + private async Task> LoadClass1s(TableState state, CancellationToken cancellationToken) { var result = await QueryDispatcher.SendAsync(new GetClass1Query { Limit = state.PageSize, Name = searchString?.Value, Offset = state.Page - }, CancellationToken.None); + }, cancellationToken); if (result.IsSuccessful) { return new TableData diff --git a/templates/OnionArchitectureBlazorWebAssembly/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj b/templates/OnionArchitectureBlazorWebAssembly/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj index 9577eda1..7256f757 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj @@ -1,20 +1,20 @@ - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj b/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj index cc4a692e..cdaad236 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Business.Tests/App1.Infrastructure.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj b/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj index 4b0f0cac..c63c3327 100644 --- a/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj +++ b/templates/OnionArchitectureBlazorWebAssembly/tests/Infrastructure/App1.Infrastructure.Data.Tests/App1.Infrastructure.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/App1.Application.csproj index 659efae1..10db90bf 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index c609888a..4c4da150 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -19,5 +19,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj index e9ddbf03..bd805828 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index 404681ef..ffc51b44 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,13 +1,13 @@  - net8.0 + net9.0 - - - + + + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj index e60ecd6d..186b0e82 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj @@ -1,11 +1,11 @@  - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj index be1e3ca3..51c60c5f 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj @@ -1,12 +1,12 @@  - net8.0 + net9.0 - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj index 713ada25..0405ed26 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj index 094e1580..962ec02a 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj @@ -1,16 +1,16 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App.xaml.cs b/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App.xaml.cs index 3246e30c..fa7f9194 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App.xaml.cs +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App.xaml.cs @@ -1,5 +1,6 @@ namespace App1.Client; +using Microsoft.Maui; using Application = Microsoft.Maui.Controls.Application; public partial class App : Application @@ -7,7 +8,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } \ No newline at end of file diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App1.Client.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App1.Client.csproj index 500ac8ce..780d19d3 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App1.Client.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/Client/App1.Client/App1.Client.csproj @@ -1,10 +1,10 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 - + Exe App1.Client true @@ -47,16 +47,16 @@ - - - + + + - - - - + + + + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj index 1160214f..22eec882 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj @@ -1,12 +1,12 @@  - net8.0 + net9.0 - - + + diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor index 402f6211..8c93c480 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor @@ -11,7 +11,7 @@ Create item - + Class1 diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs index a8f7955f..c28736fa 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs @@ -24,14 +24,14 @@ public partial class FetchData : App1BaseComponent [Inject] public required ISnackbar Snackbar { get; set; } - private async Task> LoadClass1s(TableState state) + private async Task> LoadClass1s(TableState state, CancellationToken cancellationToken) { var result = await QueryDispatcher.SendAsync(new GetClass1Query { Limit = state.PageSize, Name = searchString?.Value, Offset = state.Page - }, CancellationToken.None); + }, cancellationToken); if (result.IsSuccessful) { return new TableData diff --git a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Program.cs b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Program.cs index 0ee38671..7c5439e7 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Program.cs +++ b/templates/OnionArchitectureCrossPlatformApplication/src/UI/WebApp/App1.WebApp/Program.cs @@ -40,7 +40,7 @@ app.UseHttpsRedirection(); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAntiforgery(); app.MapRazorComponents() diff --git a/templates/OnionArchitectureCrossPlatformApplication/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplication/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj index 9577eda1..7256f757 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj @@ -1,20 +1,20 @@ - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj index e2c66117..202e1989 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj index dbb51076..0d57640b 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj index 3faa5bd2..52165a05 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj index d86731d6..5a657464 100644 --- a/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplication/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/App1.Application.csproj index 5c07d5de..459a5d54 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index c609888a..4c4da150 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -19,5 +19,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Application/App1.WebApp.Application/App1.WebApp.Application.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index 1d34f319..f24fbcba 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,13 +1,13 @@  - net8.0 + net9.0 - - - + + + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj index e60ecd6d..186b0e82 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Business/App1.Infrastructure.Client.Business.csproj @@ -1,11 +1,11 @@  - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj index be1e3ca3..51c60c5f 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/Client/App1.Infrastructure.Client.Data/App1.Infrastructure.Client.Data.csproj @@ -1,12 +1,12 @@  - net8.0 + net9.0 - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj index 713ada25..0405ed26 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business/App1.Infrastructure.WebApp.Business.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj index 481f450d..c2927fe2 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data/App1.Infrastructure.WebApp.Data.csproj @@ -1,16 +1,16 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App.xaml.cs b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App.xaml.cs index 3246e30c..0a823de1 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App.xaml.cs +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App.xaml.cs @@ -7,7 +7,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } \ No newline at end of file diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App1.Client.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App1.Client.csproj index 500ac8ce..780d19d3 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App1.Client.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/Client/App1.Client/App1.Client.csproj @@ -1,10 +1,10 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 - + Exe App1.Client true @@ -47,16 +47,16 @@ - - - + + + - - - - + + + + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj index e0562948..49d0dc4d 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/App1.WebApp.csproj @@ -1,12 +1,12 @@  - net8.0 + net9.0 - - + + diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor index 310e8101..49cf5358 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor @@ -11,7 +11,7 @@ Create item - + Class1 diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs index 31f95799..dfe7e8a7 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Components/Pages/FetchData.razor.cs @@ -24,9 +24,9 @@ public partial class FetchData : App1BaseComponent [Inject] public required ISnackbar Snackbar { get; set; } - private async Task> LoadClass1s(TableState state) + private async Task> LoadClass1s(TableState state, CancellationToken cancellationToken) { - var result = await QueryDispatcher.SendAsync(new GetClass1Query(), CancellationToken.None); + var result = await QueryDispatcher.SendAsync(new GetClass1Query(), cancellationToken); if (result.IsSuccessful) { return new TableData diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Program.cs b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Program.cs index dc4937ed..fe955fae 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Program.cs +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/src/UI/WebApp/App1.WebApp/Program.cs @@ -40,7 +40,7 @@ app.UseHttpsRedirection(); -app.UseStaticFiles(); +app.MapStaticAssets(); app.UseAntiforgery(); app.MapRazorComponents() diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj index 9577eda1..7256f757 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Application/App1.Application.Tests/App1.Application.Tests.csproj @@ -1,20 +1,20 @@ - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj index e2c66117..202e1989 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Business.Tests/App1.Infrastructure.Client.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj index dbb51076..0d57640b 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/Client/App1.Infrastructure.Client.Data.Tests/App1.Infrastructure.Client.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj index 3faa5bd2..52165a05 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Business.Tests/App1.Infrastructure.WebApp.Business.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj index d86731d6..5a657464 100644 --- a/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj +++ b/templates/OnionArchitectureCrossPlatformApplicationRepository/tests/Infrastructure/WebApp/App1.Infrastructure.WebApp.Data.Tests/App1.Infrastructure.WebApp.Data.Tests.csproj @@ -1,20 +1,20 @@  - net8.0 + net9.0 false - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/App1.Application.csproj b/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/App1.Application.csproj index 659efae1..10db90bf 100644 --- a/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/App1.Application.csproj +++ b/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/App1.Application.csproj @@ -1,18 +1,18 @@  - net8.0 + net9.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive true - + diff --git a/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs b/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs index c609888a..4c4da150 100644 --- a/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs +++ b/templates/OnionArchitectureDotNetMaui/src/Application/App1.Application/Interfaces/CQRS/OperationResult.cs @@ -19,5 +19,5 @@ public class OperationResult public class Error { - public string? Description { get; init; } + public required string Description { get; init; } } \ No newline at end of file diff --git a/templates/OnionArchitectureDotNetMaui/src/Domain/App1.Domain/App1.Domain.csproj b/templates/OnionArchitectureDotNetMaui/src/Domain/App1.Domain/App1.Domain.csproj index 58990cd5..1f059d7b 100644 --- a/templates/OnionArchitectureDotNetMaui/src/Domain/App1.Domain/App1.Domain.csproj +++ b/templates/OnionArchitectureDotNetMaui/src/Domain/App1.Domain/App1.Domain.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 diff --git a/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj b/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj index cd426ebf..f9d448aa 100644 --- a/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj +++ b/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrastructure.Business/App1.Infrastructure.Business.csproj @@ -1,11 +1,11 @@  - net8.0 + net9.0 - + diff --git a/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj b/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj index 98663c3d..27c36572 100644 --- a/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj +++ b/templates/OnionArchitectureDotNetMaui/src/Infrastructure/App1.Infrustructure.Data/App1.Infrastructure.Data.csproj @@ -1,15 +1,15 @@  - net8.0 + net9.0 - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App.xaml.cs b/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App.xaml.cs index 3246e30c..0a823de1 100644 --- a/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App.xaml.cs +++ b/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App.xaml.cs @@ -7,7 +7,10 @@ public partial class App : Application public App() { InitializeComponent(); + } - MainPage = new AppShell(); + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); } } \ No newline at end of file diff --git a/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App1.Client.csproj b/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App1.Client.csproj index bb122bfd..790868c6 100644 --- a/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App1.Client.csproj +++ b/templates/OnionArchitectureDotNetMaui/src/UI/App1.Client/App1.Client.csproj @@ -1,10 +1,10 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net9.0-android;net9.0-ios;net9.0-maccatalyst + $(TargetFrameworks);net9.0-windows10.0.19041.0 - + Exe true true @@ -46,16 +46,16 @@ - - - + + + - - - - + + + + - + Exe true true @@ -46,16 +46,16 @@ - - - + + + - - - - + + + +