├── .github ├── ISSUE_TEMPLATE │ ├── 01_bug_report.yml │ ├── 02_feature.yml │ └── 03_blank.md └── workflows │ ├── push-nuget-package-manually.yml │ └── push-nuget-package-on-release.yml ├── .gitignore ├── .gitlab-ci.yml ├── LICENSE ├── README.md ├── build-nuget.ps1 └── src ├── Content ├── BlazorEmptyServer │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorEmptyServer.csproj │ ├── MainLayout.razor │ ├── Pages │ │ ├── Index.razor │ │ └── _Host.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── _Imports.razor │ ├── appsettings.Development.json │ ├── appsettings.json │ └── wwwroot │ │ └── css │ │ ├── fontawesome │ │ └── v6.4.0 │ │ │ ├── LICENSE.txt │ │ │ ├── css │ │ │ └── all.min.css │ │ │ └── webfonts │ │ │ ├── fa-brands-400.ttf │ │ │ ├── fa-brands-400.woff2 │ │ │ ├── fa-regular-400.ttf │ │ │ ├── fa-regular-400.woff2 │ │ │ ├── fa-solid-900.ttf │ │ │ ├── fa-solid-900.woff2 │ │ │ ├── fa-v4compatibility.ttf │ │ │ └── fa-v4compatibility.woff2 │ │ ├── material │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ └── icons.css │ │ ├── materialdesign │ │ └── v7.1.96 │ │ │ ├── css │ │ │ ├── materialdesignicons.min.css │ │ │ └── materialdesignicons.min.css.map │ │ │ └── fonts │ │ │ ├── materialdesignicons-webfont.eot │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ ├── materialdesignicons-webfont.woff │ │ │ └── materialdesignicons-webfont.woff2 │ │ └── site.css ├── BlazorEmptyWasm │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorEmptyWasm.csproj │ ├── MainLayout.razor │ ├── Pages │ │ └── Index.razor │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ ├── app.css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ └── materialdesign │ │ │ └── v7.1.96 │ │ │ ├── css │ │ │ ├── materialdesignicons.min.css │ │ │ └── materialdesignicons.min.css.map │ │ │ └── fonts │ │ │ ├── materialdesignicons-webfont.eot │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ ├── materialdesignicons-webfont.woff │ │ │ └── materialdesignicons-webfont.woff2 │ │ ├── icon-512.png │ │ ├── index.html │ │ ├── manifest.webmanifest │ │ ├── service-worker.js │ │ └── service-worker.published.js ├── BlazorMaui │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── BlazorMaui.Shared │ │ ├── BlazorMaui.Shared.csproj │ │ ├── Layout │ │ │ ├── MainLayout.razor │ │ │ ├── MainLayout.razor.css │ │ │ └── NavMenu.razor │ │ ├── Pages │ │ │ └── StackPage.razor │ │ ├── Routes.razor │ │ ├── Services │ │ │ └── IFormFactor.cs │ │ ├── Tabs │ │ │ ├── Counter.razor │ │ │ ├── Home.razor │ │ │ └── Weather.razor │ │ ├── _Imports.razor │ │ └── wwwroot │ │ │ └── css │ │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ │ └── materialdesign │ │ │ └── v7.1.96 │ │ │ ├── css │ │ │ ├── materialdesignicons.min.css │ │ │ └── materialdesignicons.min.css.map │ │ │ └── fonts │ │ │ ├── materialdesignicons-webfont.eot │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ ├── materialdesignicons-webfont.woff │ │ │ └── materialdesignicons-webfont.woff2 │ ├── BlazorMaui.Web.Client │ │ ├── BlazorMaui.Web.Client.csproj │ │ ├── Program.cs │ │ ├── Services │ │ │ └── FormFactor.cs │ │ ├── _Imports.razor │ │ └── wwwroot │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ ├── BlazorMaui.Web.sln │ ├── BlazorMaui.Web │ │ ├── BlazorMaui.Web.csproj │ │ ├── Components │ │ │ ├── App.razor │ │ │ ├── Pages │ │ │ │ └── Error.razor │ │ │ └── _Imports.razor │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Services │ │ │ └── FormFactor.cs │ │ ├── _Imports.razor │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ └── wwwroot │ │ │ ├── css │ │ │ ├── app.css │ │ │ └── materialdesign │ │ │ │ └── v7.1.96 │ │ │ │ ├── css │ │ │ │ ├── materialdesignicons.min.css │ │ │ │ └── materialdesignicons.min.css.map │ │ │ │ └── fonts │ │ │ │ ├── materialdesignicons-webfont.eot │ │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ │ ├── materialdesignicons-webfont.woff │ │ │ │ └── materialdesignicons-webfont.woff2 │ │ │ └── favicon.png │ ├── BlazorMaui.sln │ └── BlazorMaui │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── BlazorMaui.csproj │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cs │ │ ├── MauiProgram.cs │ │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── Resources │ │ ├── AppIcon │ │ │ ├── appicon.svg │ │ │ └── appiconfg.svg │ │ ├── Fonts │ │ │ └── OpenSans-Regular.ttf │ │ ├── Images │ │ │ └── dotnet_bot.svg │ │ ├── Raw │ │ │ └── AboutAssets.txt │ │ └── Splash │ │ │ └── splash.svg │ │ ├── Services │ │ └── FormFactor.cs │ │ ├── _Imports.razor │ │ └── wwwroot │ │ ├── css │ │ └── app.css │ │ ├── favicon.ico │ │ └── index.html ├── BlazorPhotino │ ├── .template.config │ │ └── template.json │ ├── App.razor │ ├── BlazorPhotino.csproj │ ├── Pages │ │ ├── Counter.razor │ │ ├── FetchData.razor │ │ └── Index.razor │ ├── Program.cs │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.html │ │ └── sample-data │ │ └── weather.json ├── BlazorProServer │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorProServer.csproj │ ├── Data │ │ ├── App │ │ │ ├── ECommerce │ │ │ │ ├── BasketService.cs │ │ │ │ ├── Dto │ │ │ │ │ ├── AddressDto.cs │ │ │ │ │ ├── AddressTypeDto.cs │ │ │ │ │ ├── BasketItemDto.cs │ │ │ │ │ ├── GoodsDto.cs │ │ │ │ │ ├── MultiRangeDto.cs │ │ │ │ │ └── RelatedGoodsDto.cs │ │ │ │ └── ShopService.cs │ │ │ ├── Invoice │ │ │ │ ├── Dto │ │ │ │ │ ├── BillDto.cs │ │ │ │ │ ├── InvoiceRecordDto.cs │ │ │ │ │ └── InvoiceStateDto.cs │ │ │ │ └── InvoiceService.cs │ │ │ ├── Todo │ │ │ │ ├── Dto │ │ │ │ │ ├── SelectData.cs │ │ │ │ │ └── TodoDto.cs │ │ │ │ └── TodoService.cs │ │ │ └── User │ │ │ │ ├── Dto │ │ │ │ ├── PermissionDto.cs │ │ │ │ └── UserDto.cs │ │ │ │ └── UserService.cs │ │ ├── Base │ │ │ ├── GlobalVariables.cs │ │ │ └── PagingData.cs │ │ ├── Dashboard │ │ │ ├── Analytics │ │ │ │ └── AnalyticsService.cs │ │ │ └── ECommerce │ │ │ │ ├── Dto │ │ │ │ └── CompanyDto.cs │ │ │ │ └── ECommerceService.cs │ │ ├── Others │ │ │ └── AccountSettings │ │ │ │ ├── AccountSettingService.cs │ │ │ │ └── Dto │ │ │ │ ├── AccountDto.cs │ │ │ │ ├── CountryDto.cs │ │ │ │ ├── InformationDto.cs │ │ │ │ └── SocialDto.cs │ │ └── Shared │ │ │ └── Favorite │ │ │ └── FavoriteService.cs │ ├── Global │ │ ├── Config │ │ │ ├── GlobalConfig.cs │ │ │ ├── NavigationStyles.cs │ │ │ └── PageModes.cs │ │ ├── CookieStorage.cs │ │ └── Nav │ │ │ ├── Model │ │ │ └── NavModel.cs │ │ │ ├── NavHelper.cs │ │ │ └── NavServiceCollectionExtensions.cs │ ├── Pages │ │ ├── App │ │ │ ├── ECommerce │ │ │ │ ├── Order │ │ │ │ │ ├── Address.razor │ │ │ │ │ ├── Cart.razor │ │ │ │ │ ├── Order.razor │ │ │ │ │ └── Payment.razor │ │ │ │ └── Shop │ │ │ │ │ ├── Details.razor │ │ │ │ │ ├── Shop.razor │ │ │ │ │ ├── Shop.razor.cs │ │ │ │ │ └── ViewModel │ │ │ │ │ └── ShopPage.cs │ │ │ ├── Invoice │ │ │ │ ├── Add.razor │ │ │ │ ├── Add.razor.cs │ │ │ │ ├── Components │ │ │ │ │ ├── AddPayment.razor │ │ │ │ │ ├── InvoiceList.razor │ │ │ │ │ ├── InvoiceList.razor.cs │ │ │ │ │ └── SendInvoice.razor │ │ │ │ ├── Edit.razor │ │ │ │ ├── List.razor │ │ │ │ ├── Preview.razor │ │ │ │ ├── Preview.razor.cs │ │ │ │ └── ViewModel │ │ │ │ │ └── InvoicePage.cs │ │ │ ├── Todo │ │ │ │ ├── Todo.razor │ │ │ │ ├── Todo.razor.cs │ │ │ │ ├── TodoDetail.razor │ │ │ │ ├── TodoDetail.razor.cs │ │ │ │ ├── TodoNav.razor │ │ │ │ └── TodoNavItem.razor │ │ │ └── User │ │ │ │ ├── Add.razor │ │ │ │ ├── Edit.razor │ │ │ │ ├── List.razor │ │ │ │ ├── List.razor.cs │ │ │ │ ├── View.razor │ │ │ │ └── ViewModel │ │ │ │ └── UserPage.cs │ │ ├── Authentication │ │ │ ├── Components │ │ │ │ ├── Login.razor │ │ │ │ └── Login.razor.cs │ │ │ ├── Login-v1.razor │ │ │ └── Login-v2.razor │ │ ├── Dashboard │ │ │ ├── Analytics.razor │ │ │ ├── Analytics.razor.cs │ │ │ ├── ECommerce.razor │ │ │ └── ECommerce.razor.cs │ │ ├── Error.cshtml │ │ ├── Error.cshtml.cs │ │ ├── Home │ │ │ └── Index.razor │ │ ├── Others │ │ │ ├── AccountSettings │ │ │ │ └── AccountSettings.razor │ │ │ ├── Error.razor │ │ │ ├── NotAuthorized.razor │ │ │ └── NotFound.razor │ │ └── _Host.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Shared │ │ ├── Breadcrumb.razor │ │ ├── EmptyLayout.razor │ │ ├── Favorite.razor │ │ ├── Favorite.razor.cs │ │ ├── Language.razor │ │ ├── Login.razor │ │ ├── MainLayout.razor │ │ ├── Navigation.razor │ │ ├── PageTabs.razor │ │ ├── ProComponentBase.cs │ │ ├── Search.razor │ │ └── Settings.razor │ ├── _Imports.cs │ ├── _Imports.razor │ ├── appsettings.Development.json │ ├── appsettings.json │ └── wwwroot │ │ ├── css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── masa-blazor-pro.css │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ ├── materialdesign │ │ │ └── v7.1.96 │ │ │ │ ├── css │ │ │ │ ├── materialdesignicons.min.css │ │ │ │ └── materialdesignicons.min.css.map │ │ │ │ └── fonts │ │ │ │ ├── materialdesignicons-webfont.eot │ │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ │ ├── materialdesignicons-webfont.woff │ │ │ │ └── materialdesignicons-webfont.woff2 │ │ └── site.css │ │ ├── i18n │ │ ├── en-US.json │ │ ├── supportedCultures.json │ │ └── zh-CN.json │ │ ├── img │ │ ├── analytics │ │ │ ├── json.png │ │ │ ├── left.png │ │ │ └── right.png │ │ ├── apps-eCommerce │ │ │ ├── 1.jpg │ │ │ ├── 1.png │ │ │ ├── 10.jpg │ │ │ ├── 10.png │ │ │ ├── 11.jpg │ │ │ ├── 11.png │ │ │ ├── 12.jpg │ │ │ ├── 12.png │ │ │ ├── 13.jpg │ │ │ ├── 13.png │ │ │ ├── 14.jpg │ │ │ ├── 14.png │ │ │ ├── 15.jpg │ │ │ ├── 15.png │ │ │ ├── 16.jpg │ │ │ ├── 16.png │ │ │ ├── 17.jpg │ │ │ ├── 17.png │ │ │ ├── 18.jpg │ │ │ ├── 18.png │ │ │ ├── 19.jpg │ │ │ ├── 19.png │ │ │ ├── 2.jpg │ │ │ ├── 2.png │ │ │ ├── 20.jpg │ │ │ ├── 20.png │ │ │ ├── 21.jpg │ │ │ ├── 21.png │ │ │ ├── 22.jpg │ │ │ ├── 22.png │ │ │ ├── 23.jpg │ │ │ ├── 23.png │ │ │ ├── 24.jpg │ │ │ ├── 24.png │ │ │ ├── 25.jpg │ │ │ ├── 25.png │ │ │ ├── 26.jpg │ │ │ ├── 26.png │ │ │ ├── 27.jpg │ │ │ ├── 27.png │ │ │ ├── 28.jpg │ │ │ ├── 29.jpg │ │ │ ├── 3.jpg │ │ │ ├── 3.png │ │ │ ├── 30.jpg │ │ │ ├── 31.jpg │ │ │ ├── 32.jpg │ │ │ ├── 4.jpg │ │ │ ├── 4.png │ │ │ ├── 5.jpg │ │ │ ├── 5.png │ │ │ ├── 6.jpg │ │ │ ├── 6.png │ │ │ ├── 7.jpg │ │ │ ├── 7.png │ │ │ ├── 8.jpg │ │ │ ├── 8.png │ │ │ ├── 9.jpg │ │ │ └── 9.png │ │ ├── auth │ │ │ ├── forgot-password-v2.9faba3c1.svg │ │ │ └── register-v2.0a9e487c.svg │ │ ├── avatar │ │ │ ├── 1.svg │ │ │ ├── 10.svg │ │ │ ├── 11.svg │ │ │ ├── 12.svg │ │ │ ├── 13.svg │ │ │ ├── 14.svg │ │ │ ├── 2.svg │ │ │ ├── 3.svg │ │ │ ├── 4.svg │ │ │ ├── 7.svg │ │ │ ├── 8.svg │ │ │ └── 9.svg │ │ ├── eCommerce │ │ │ ├── rectangle.png │ │ │ └── trophy.png │ │ ├── login │ │ │ ├── 2873.png │ │ │ ├── Gxwd.png │ │ │ └── left.svg │ │ ├── mainLayout │ │ │ ├── logo-en.svg │ │ │ └── logo.svg │ │ └── status │ │ │ ├── 401.png │ │ │ ├── 404.png │ │ │ └── 500.png │ │ ├── js │ │ └── echarts │ │ │ └── 5.1.1 │ │ │ └── echarts.min.js │ │ └── nav │ │ └── nav.json ├── BlazorProWasm │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorProWasm.csproj │ ├── Data │ │ ├── App │ │ │ ├── ECommerce │ │ │ │ ├── BasketService.cs │ │ │ │ ├── Dto │ │ │ │ │ ├── AddressDto.cs │ │ │ │ │ ├── AddressTypeDto.cs │ │ │ │ │ ├── BasketItemDto.cs │ │ │ │ │ ├── GoodsDto.cs │ │ │ │ │ ├── MultiRangeDto.cs │ │ │ │ │ └── RelatedGoodsDto.cs │ │ │ │ └── ShopService.cs │ │ │ ├── Invoice │ │ │ │ ├── Dto │ │ │ │ │ ├── BillDto.cs │ │ │ │ │ ├── InvoiceRecordDto.cs │ │ │ │ │ └── InvoiceStateDto.cs │ │ │ │ └── InvoiceService.cs │ │ │ ├── Todo │ │ │ │ ├── Dto │ │ │ │ │ ├── SelectData.cs │ │ │ │ │ └── TodoDto.cs │ │ │ │ └── TodoService.cs │ │ │ └── User │ │ │ │ ├── Dto │ │ │ │ ├── PermissionDto.cs │ │ │ │ └── UserDto.cs │ │ │ │ └── UserService.cs │ │ ├── Base │ │ │ ├── GlobalVariables.cs │ │ │ └── PagingData.cs │ │ ├── Dashboard │ │ │ ├── Analytics │ │ │ │ └── AnalyticsService.cs │ │ │ └── ECommerce │ │ │ │ ├── Dto │ │ │ │ └── CompanyDto.cs │ │ │ │ └── ECommerceService.cs │ │ ├── Others │ │ │ └── AccountSettings │ │ │ │ ├── AccountSettingService.cs │ │ │ │ └── Dto │ │ │ │ ├── AccountDto.cs │ │ │ │ ├── CountryDto.cs │ │ │ │ ├── InformationDto.cs │ │ │ │ └── SocialDto.cs │ │ └── Shared │ │ │ └── Favorite │ │ │ └── FavoriteService.cs │ ├── Global │ │ ├── Config │ │ │ ├── GlobalConfig.cs │ │ │ ├── NavigationStyles.cs │ │ │ └── PageModes.cs │ │ ├── CookieStorage.cs │ │ └── Nav │ │ │ ├── Model │ │ │ └── NavModel.cs │ │ │ ├── NavHelper.cs │ │ │ └── NavServiceCollectionExtensions.cs │ ├── Pages │ │ ├── App │ │ │ ├── ECommerce │ │ │ │ ├── Order │ │ │ │ │ ├── Address.razor │ │ │ │ │ ├── Cart.razor │ │ │ │ │ ├── Order.razor │ │ │ │ │ └── Payment.razor │ │ │ │ └── Shop │ │ │ │ │ ├── Details.razor │ │ │ │ │ ├── Shop.razor │ │ │ │ │ ├── Shop.razor.cs │ │ │ │ │ └── ViewModel │ │ │ │ │ └── ShopPage.cs │ │ │ ├── Invoice │ │ │ │ ├── Add.razor │ │ │ │ ├── Add.razor.cs │ │ │ │ ├── Components │ │ │ │ │ ├── AddPayment.razor │ │ │ │ │ ├── InvoiceList.razor │ │ │ │ │ ├── InvoiceList.razor.cs │ │ │ │ │ └── SendInvoice.razor │ │ │ │ ├── Edit.razor │ │ │ │ ├── List.razor │ │ │ │ ├── Preview.razor │ │ │ │ ├── Preview.razor.cs │ │ │ │ └── ViewModel │ │ │ │ │ └── InvoicePage.cs │ │ │ ├── Todo │ │ │ │ ├── Todo.razor │ │ │ │ ├── Todo.razor.cs │ │ │ │ ├── TodoDetail.razor │ │ │ │ ├── TodoDetail.razor.cs │ │ │ │ ├── TodoNav.razor │ │ │ │ └── TodoNavItem.razor │ │ │ └── User │ │ │ │ ├── Add.razor │ │ │ │ ├── Edit.razor │ │ │ │ ├── List.razor │ │ │ │ ├── List.razor.cs │ │ │ │ ├── View.razor │ │ │ │ └── ViewModel │ │ │ │ └── UserPage.cs │ │ ├── Authentication │ │ │ ├── Components │ │ │ │ ├── Login.razor │ │ │ │ └── Login.razor.cs │ │ │ ├── Login-v1.razor │ │ │ └── Login-v2.razor │ │ ├── Dashboard │ │ │ ├── Analytics.razor │ │ │ ├── Analytics.razor.cs │ │ │ ├── ECommerce.razor │ │ │ └── ECommerce.razor.cs │ │ ├── Home │ │ │ └── Index.razor │ │ └── Others │ │ │ ├── AccountSettings │ │ │ └── AccountSettings.razor │ │ │ ├── Error.razor │ │ │ ├── NotAuthorized.razor │ │ │ └── NotFound.razor │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Shared │ │ ├── Breadcrumb.razor │ │ ├── EmptyLayout.razor │ │ ├── Favorite.razor │ │ ├── Favorite.razor.cs │ │ ├── Language.razor │ │ ├── Login.razor │ │ ├── MainLayout.razor │ │ ├── Navigation.razor │ │ ├── PageTabs.razor │ │ ├── ProComponentBase.cs │ │ ├── Search.razor │ │ └── Settings.razor │ ├── _Imports.cs │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ ├── app.css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── masa-blazor-pro.css │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ ├── materialdesign │ │ │ └── v7.1.96 │ │ │ │ ├── css │ │ │ │ ├── materialdesignicons.min.css │ │ │ │ └── materialdesignicons.min.css.map │ │ │ │ └── fonts │ │ │ │ ├── materialdesignicons-webfont.eot │ │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ │ ├── materialdesignicons-webfont.woff │ │ │ │ └── materialdesignicons-webfont.woff2 │ │ └── spinkit.min.css │ │ ├── i18n │ │ ├── en-US.json │ │ ├── supportedCultures.json │ │ └── zh-CN.json │ │ ├── icon-192.png │ │ ├── icon-512.png │ │ ├── img │ │ ├── analytics │ │ │ ├── json.png │ │ │ ├── left.png │ │ │ └── right.png │ │ ├── apps-eCommerce │ │ │ ├── 1.jpg │ │ │ ├── 1.png │ │ │ ├── 10.jpg │ │ │ ├── 10.png │ │ │ ├── 11.jpg │ │ │ ├── 11.png │ │ │ ├── 12.jpg │ │ │ ├── 12.png │ │ │ ├── 13.jpg │ │ │ ├── 13.png │ │ │ ├── 14.jpg │ │ │ ├── 14.png │ │ │ ├── 15.jpg │ │ │ ├── 15.png │ │ │ ├── 16.jpg │ │ │ ├── 16.png │ │ │ ├── 17.jpg │ │ │ ├── 17.png │ │ │ ├── 18.jpg │ │ │ ├── 18.png │ │ │ ├── 19.jpg │ │ │ ├── 19.png │ │ │ ├── 2.jpg │ │ │ ├── 2.png │ │ │ ├── 20.jpg │ │ │ ├── 20.png │ │ │ ├── 21.jpg │ │ │ ├── 21.png │ │ │ ├── 22.jpg │ │ │ ├── 22.png │ │ │ ├── 23.jpg │ │ │ ├── 23.png │ │ │ ├── 24.jpg │ │ │ ├── 24.png │ │ │ ├── 25.jpg │ │ │ ├── 25.png │ │ │ ├── 26.jpg │ │ │ ├── 26.png │ │ │ ├── 27.jpg │ │ │ ├── 27.png │ │ │ ├── 28.jpg │ │ │ ├── 29.jpg │ │ │ ├── 3.jpg │ │ │ ├── 3.png │ │ │ ├── 30.jpg │ │ │ ├── 31.jpg │ │ │ ├── 32.jpg │ │ │ ├── 4.jpg │ │ │ ├── 4.png │ │ │ ├── 5.jpg │ │ │ ├── 5.png │ │ │ ├── 6.jpg │ │ │ ├── 6.png │ │ │ ├── 7.jpg │ │ │ ├── 7.png │ │ │ ├── 8.jpg │ │ │ ├── 8.png │ │ │ ├── 9.jpg │ │ │ └── 9.png │ │ ├── auth │ │ │ ├── forgot-password-v2.9faba3c1.svg │ │ │ └── register-v2.0a9e487c.svg │ │ ├── avatar │ │ │ ├── 1.svg │ │ │ ├── 10.svg │ │ │ ├── 11.svg │ │ │ ├── 12.svg │ │ │ ├── 13.svg │ │ │ ├── 14.svg │ │ │ ├── 2.svg │ │ │ ├── 3.svg │ │ │ ├── 4.svg │ │ │ ├── 7.svg │ │ │ ├── 8.svg │ │ │ └── 9.svg │ │ ├── eCommerce │ │ │ ├── rectangle.png │ │ │ └── trophy.png │ │ ├── login │ │ │ ├── 2873.png │ │ │ ├── Gxwd.png │ │ │ └── left.svg │ │ ├── mainLayout │ │ │ ├── logo-en.svg │ │ │ └── logo.svg │ │ └── status │ │ │ ├── 401.png │ │ │ ├── 404.png │ │ │ └── 500.png │ │ ├── index.html │ │ ├── js │ │ └── echarts │ │ │ └── 5.1.1 │ │ │ └── echarts.min.js │ │ ├── manifest.json │ │ ├── nav │ │ └── nav.json │ │ ├── service-worker.js │ │ └── service-worker.published.js ├── BlazorServer │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorServer.csproj │ ├── Data │ │ ├── WeatherForecast.cs │ │ └── WeatherForecastService.cs │ ├── Pages │ │ ├── Counter.razor │ │ ├── Error.cshtml │ │ ├── Error.cshtml.cs │ │ ├── FetchData.razor │ │ ├── Index.razor │ │ └── _Host.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ ├── _Imports.razor │ ├── appsettings.Development.json │ ├── appsettings.json │ └── wwwroot │ │ ├── css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ ├── materialdesign │ │ │ └── v7.1.96 │ │ │ │ ├── css │ │ │ │ ├── materialdesignicons.min.css │ │ │ │ └── materialdesignicons.min.css.map │ │ │ │ └── fonts │ │ │ │ ├── materialdesignicons-webfont.eot │ │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ │ ├── materialdesignicons-webfont.woff │ │ │ │ └── materialdesignicons-webfont.woff2 │ │ └── site.css │ │ └── favicon.png ├── BlazorWasm │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ └── template.json │ ├── App.razor │ ├── BlazorWasm.csproj │ ├── Pages │ │ ├── Counter.razor │ │ ├── FetchData.razor │ │ └── Index.razor │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ ├── app.css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ └── materialdesign │ │ │ └── v7.1.96 │ │ │ ├── css │ │ │ ├── materialdesignicons.min.css │ │ │ └── materialdesignicons.min.css.map │ │ │ └── fonts │ │ │ ├── materialdesignicons-webfont.eot │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ ├── materialdesignicons-webfont.woff │ │ │ └── materialdesignicons-webfont.woff2 │ │ ├── favicon.png │ │ ├── icon-192.png │ │ ├── icon-512.png │ │ ├── index.html │ │ ├── manifest.json │ │ ├── sample-data │ │ └── weather.json │ │ ├── service-worker.js │ │ └── service-worker.published.js ├── BlazorWeb │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── ide.host.json │ │ ├── ide │ │ │ └── icon.png │ │ ├── localize │ │ │ ├── templatestrings.en.json │ │ │ ├── templatestrings.zh-Hans.json │ │ │ └── templatestrings.zh-Hant.json │ │ └── template.json │ ├── BlazorWebApp.Client │ │ ├── BlazorWebApp.Client.csproj │ │ ├── Pages │ │ │ └── Counter.razor │ │ ├── Program.cs │ │ ├── _Imports.razor │ │ └── wwwroot │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ ├── BlazorWebApp.sln │ └── BlazorWebApp │ │ ├── BlazorWebApp.csproj │ │ ├── Components │ │ ├── App.Old.razor │ │ ├── App.razor │ │ ├── Layout │ │ │ ├── MainLayout.razor │ │ │ ├── MainLayout.razor.css │ │ │ ├── NavMenu.razor │ │ │ ├── NavMenu.ssr.razor │ │ │ └── NavMenu.ssr.razor.js │ │ ├── Pages │ │ │ ├── Counter.razor │ │ │ ├── Error.razor │ │ │ ├── Home.razor │ │ │ └── Weather.razor │ │ ├── Routes.razor │ │ └── _Imports.razor │ │ ├── Program.Main.cs │ │ ├── Program.cs │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ └── wwwroot │ │ ├── css │ │ ├── app.css │ │ ├── fontawesome │ │ │ └── v6.4.0 │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── css │ │ │ │ └── all.min.css │ │ │ │ └── webfonts │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff2 │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ ├── fa-v4compatibility.ttf │ │ │ │ └── fa-v4compatibility.woff2 │ │ ├── material │ │ │ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 │ │ │ └── icons.css │ │ ├── materialdesign │ │ │ └── v7.1.96 │ │ │ │ ├── css │ │ │ │ ├── materialdesignicons.min.css │ │ │ │ └── materialdesignicons.min.css.map │ │ │ │ └── fonts │ │ │ │ ├── materialdesignicons-webfont.eot │ │ │ │ ├── materialdesignicons-webfont.ttf │ │ │ │ ├── materialdesignicons-webfont.woff │ │ │ │ └── materialdesignicons-webfont.woff2 │ │ └── ssr.css │ │ └── favicon.png ├── BlazorWinform │ ├── .template.config │ │ └── template.json │ ├── App.razor │ ├── BlazorWinform.csproj │ ├── MainForm.Designer.cs │ ├── MainForm.cs │ ├── MainFrom.resx │ ├── Pages │ │ ├── Counter.razor │ │ ├── FetchData.razor │ │ └── Index.razor │ ├── Program.cs │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.html │ │ └── sample-data │ │ └── weather.json ├── BlazorWpf │ ├── .template.config │ │ └── template.json │ ├── App.xaml │ ├── App.xaml.cs │ ├── AssemblyInfo.cs │ ├── BlazorWpf.csproj │ ├── Main.razor │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Pages │ │ ├── Counter.razor │ │ ├── FetchData.razor │ │ └── Index.razor │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ ├── _Imports.razor │ └── wwwroot │ │ ├── css │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.html │ │ └── sample-data │ │ └── weather.json ├── Framework │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── icon.png │ │ ├── ide.host.json │ │ └── template.json │ ├── Directory.Build.props │ ├── Masa.Framework.app.sln │ ├── dapr │ │ └── components │ │ │ ├── pubsub.yaml │ │ │ └── statestore.yaml │ └── src │ │ ├── ApiGateways │ │ ├── Bff │ │ │ └── Masa.Framework.Bff │ │ │ │ ├── Masa.Framework.Bff.csproj │ │ │ │ ├── Program.cs │ │ │ │ ├── Properties │ │ │ │ └── launchSettings.json │ │ │ │ ├── Services │ │ │ │ └── OrderService.cs │ │ │ │ ├── _Imports.cs │ │ │ │ ├── appsettings.Development.json │ │ │ │ └── appsettings.json │ │ └── Caller │ │ │ └── Masa.Framework.Caller │ │ │ ├── Callers │ │ │ └── OrderCaller.cs │ │ │ ├── Masa.Framework.Caller.csproj │ │ │ └── _Imports.cs │ │ ├── Contracts │ │ └── Masa.Framework.Contracts.Order │ │ │ ├── Masa.Framework.Contracts.Order.csproj │ │ │ └── Model │ │ │ └── Order.cs │ │ ├── Services │ │ └── Masa.Framework.Service │ │ │ ├── Actors │ │ │ ├── IOrderActor.cs │ │ │ └── OrderActor.cs │ │ │ ├── Application │ │ │ ├── Events │ │ │ │ └── QueryOrderListEvent.cs │ │ │ ├── Handlers │ │ │ │ └── OrderEventHandler.cs │ │ │ └── Orders │ │ │ │ ├── Commands │ │ │ │ ├── OrderCreateCommand.cs │ │ │ │ └── OrderCreateCommandValidator.cs │ │ │ │ ├── OrderCommandHandler.cs │ │ │ │ ├── OrderQueryHandler.cs │ │ │ │ └── Queries │ │ │ │ └── OrderQuery.cs │ │ │ ├── Controllers │ │ │ └── OrderController.cs │ │ │ ├── Domain │ │ │ ├── Aggregates │ │ │ │ └── Orders │ │ │ │ │ ├── AddressValue.cs │ │ │ │ │ ├── Order.cs │ │ │ │ │ └── OrderItem.cs │ │ │ ├── Events │ │ │ │ ├── OrderCreatedDomainEvent.cs │ │ │ │ └── OrderQueryDomainEvent.cs │ │ │ ├── Repositories │ │ │ │ └── IOrderRepository.cs │ │ │ └── Services │ │ │ │ ├── OrderDomainService.cs │ │ │ │ └── ProductDomainService.cs │ │ │ ├── Infrastructure │ │ │ ├── Entities │ │ │ │ ├── Order.cs │ │ │ │ └── OrderItem.cs │ │ │ ├── Middleware │ │ │ │ ├── LogMiddleware.cs │ │ │ │ └── ValidatorMiddleware.cs │ │ │ ├── Repositories │ │ │ │ ├── IOrderRepository.cs │ │ │ │ └── OrderRepository.cs │ │ │ └── ShopDbContext.cs │ │ │ ├── Masa.Framework.Service.Order.csproj │ │ │ ├── Program.MinimalAPIs.cs │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ ├── Services │ │ │ └── OrderService.cs │ │ │ ├── _Imports.Cqrs.cs │ │ │ ├── _Imports.Cqrs_Ddd.cs │ │ │ ├── _Imports.Ddd.cs │ │ │ ├── _Imports.cs │ │ │ ├── appsettings.Development.json │ │ │ └── appsettings.json │ │ └── Web │ │ ├── Masa.Framework.Admin │ │ ├── App.razor │ │ ├── Masa.Framework.Admin.csproj │ │ ├── Pages │ │ │ ├── Counter.razor │ │ │ ├── Error.cshtml │ │ │ ├── Error.cshtml.cs │ │ │ ├── FetchData.razor │ │ │ ├── Index.razor │ │ │ └── _Host.cshtml │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Shared │ │ │ ├── MainLayout.razor │ │ │ └── SurveyPrompt.razor │ │ ├── _Imports.cs │ │ ├── _Imports.razor │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ └── wwwroot │ │ │ ├── css │ │ │ └── site.css │ │ │ └── favicon.ico │ │ └── Masa.Framework.Client │ │ ├── App.razor │ │ ├── Masa.Framework.Client.csproj │ │ ├── Pages │ │ ├── Counter.razor │ │ ├── FetchData.razor │ │ └── Index.razor │ │ ├── Program.cs │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── Shared │ │ ├── MainLayout.razor │ │ └── SurveyPrompt.razor │ │ ├── _Imports.cs │ │ ├── _Imports.razor │ │ └── wwwroot │ │ ├── css │ │ └── app.css │ │ ├── favicon.ico │ │ ├── icon-192.png │ │ └── index.html ├── FrameworkService │ ├── .template.config │ │ ├── dotnetcli.host.json │ │ ├── icon.png │ │ ├── ide.host.json │ │ └── template.json │ ├── MasaFrameworkService.csproj │ ├── Program.Main.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Services │ │ └── ExampleService.cs │ ├── appsettings.Development.json │ └── appsettings.json └── FrameworkServiceCqrs │ ├── .template.config │ ├── dotnetcli.host.json │ ├── icon.png │ ├── ide.host.json │ └── template.json │ ├── Directory.Build.props │ ├── MasaFrameworkServiceCqrs.sln │ └── src │ ├── MasaFrameworkServiceCqrs.Contracts │ ├── Example │ │ ├── ExampleCreateUpdateDto.cs │ │ └── ExampleGetListDto.cs │ └── MasaFrameworkServiceCqrs.Contracts.csproj │ └── MasaFrameworkServiceCqrs.Service │ ├── Application │ └── Example │ │ ├── Commands │ │ ├── CreateExampleCommand.cs │ │ ├── DeleteExampleCommand.cs │ │ └── UpdateExampleCommand.cs │ │ ├── ExampleCommandHandler.cs │ │ ├── ExampleQueryHandler.cs │ │ └── Queries │ │ └── ExampleGetListQuery.cs │ ├── DataAccess │ └── ExampleDbContext.cs │ ├── MasaFrameworkServiceCqrs.Service.csproj │ ├── Program.Main.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Services │ └── ExampleService.cs │ ├── _Import.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── icon.png ├── src.csproj └── templates.nuspec /.github/ISSUE_TEMPLATE/03_blank.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Blank issue 3 | about: Something that doesn't fit the other categories 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | --- -------------------------------------------------------------------------------- /.github/workflows/push-nuget-package-on-release.yml: -------------------------------------------------------------------------------- 1 | name: push nuget package on release 2 | on: 3 | release: 4 | types: [ published ] 5 | 6 | jobs: 7 | push-nuget-on-release: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: git pull 11 | uses: actions/checkout@v3 12 | - name: setting dotnet 13 | uses: actions/setup-dotnet@v1 14 | with: 15 | dotnet-version: 6.0.x 16 | - name: pack 17 | run: dotnet pack src/src.csproj -c Release -p:PackageId=Masa.Template -p:PackageVersion=$GITHUB_REF_NAME -p:NoBuild=true 18 | - name: package push 19 | run: dotnet nuget push "**/*.nupkg" --skip-duplicate -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json 20 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - packer 3 | 4 | packer: 5 | image: registry.cn-hangzhou.aliyuncs.com/masa/dotnet_sdk:6.0-nodejs14.17.6 6 | stage: packer 7 | only: 8 | - tags 9 | script: 10 | - ls 11 | - node -v 12 | - dotnet --version 13 | - cd src 14 | # - dotnet build 15 | - dotnet pack src.csproj -p:PackageVersion=$CI_COMMIT_TAG -p:NoDefaultExcludes=true -o ./ -p:PackageId=Masa.Template -p:NoBuild=true 16 | - dotnet nuget push "./*.nupkg" -k $NUGET_TOKEN -s https://api.nuget.org/v3/index.json 17 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/BlazorEmptyServer.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @Body 4 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

Hello world!

4 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using BlazorEmptyServer 2 | @using Masa.Blazor.Presets 3 | @using Masa.Blazor 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using Microsoft.JSInterop 7 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | 4 | @Body 5 | 6 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 |

Hello word!

4 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.AspNetCore.Components.WebAssembly.Http 6 | @using Microsoft.JSInterop 7 | @using BlazorEmptyWasm 8 | @using Masa.Blazor 9 | @using Masa.Blazor.Presets 10 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorEmptyWasm/wwwroot/icon-512.png -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/manifest.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BlazorEmptyWasm", 3 | "short_name": "BlazorEmptyWasm", 4 | "id": "./", 5 | "start_url": "./", 6 | "display": "standalone", 7 | "background_color": "#ffffff", 8 | "theme_color": "#03173d", 9 | "prefer_related_applications": false, 10 | "icons": [ 11 | { 12 | "src": "icon-512.png", 13 | "type": "image/png", 14 | "sizes": "512x512" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/Content/BlazorEmptyWasm/wwwroot/service-worker.js: -------------------------------------------------------------------------------- 1 | // In development, always fetch from the network and do not enable offline support. 2 | // This is because caching would make development more difficult (changes would not 3 | // be reflected on the first load after each change). 4 | self.addEventListener('fetch', () => { }); 5 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "ide/icon.png", 4 | "symbolInfo": [ 5 | { 6 | "id": "noWeb", 7 | "name": { 8 | "text": "Exclude the web projects from the solution" 9 | }, 10 | "isVisible": true 11 | }, 12 | { 13 | "id": "useCDN", 14 | "name": { 15 | "text": "Use CDN (uncheck to use local files)" 16 | }, 17 | "isVisible": true 18 | }, 19 | { 20 | "id": "iconSet", 21 | "name": { 22 | "text": "What icon set do you want to use?" 23 | }, 24 | "isVisible": true 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /src/Content/BlazorMaui/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/Layout/MainLayout.razor.css: -------------------------------------------------------------------------------- 1 | #blazor-error-ui { 2 | background: lightyellow; 3 | bottom: 0; 4 | box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); 5 | box-sizing: border-box; 6 | display: none; 7 | left: 0; 8 | padding: 0.6rem 1.25rem 0.7rem 1.25rem; 9 | position: fixed; 10 | width: 100%; 11 | z-index: 1000; 12 | } 13 | 14 | #blazor-error-ui .dismiss { 15 | cursor: pointer; 16 | position: absolute; 17 | right: 0.75rem; 18 | top: 0.5rem; 19 | } 20 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/Pages/StackPage.razor: -------------------------------------------------------------------------------- 1 | @page "/stack-page" 2 | 3 | Stack Page 4 | 5 | 6 | 7 | 8 |
9 | 10 | Check out the documentation 11 | 12 | for more information about the 13 | PageStack component. 14 |
-------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/Routes.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/Services/IFormFactor.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorMaui.Shared.Services; 2 | 3 | public interface IFormFactor 4 | { 5 | public string GetFormFactor(); 6 | public string GetPlatform(); 7 | } 8 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/Tabs/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using Masa.Blazor 10 | @using Masa.Blazor.Presets -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Shared/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web.Client/Services/FormFactor.cs: -------------------------------------------------------------------------------- 1 | using BlazorMaui.Shared.Services; 2 | 3 | namespace BlazorMaui.Web.Client.Services; 4 | 5 | public class FormFactor : IFormFactor 6 | { 7 | public string GetFormFactor() 8 | { 9 | return "WebAssembly"; 10 | } 11 | 12 | public string GetPlatform() 13 | { 14 | return Environment.OSVersion.ToString(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web.Client/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using BlazorMaui.Web.Client 10 | @using Masa.Blazor 11 | @using Masa.Blazor.Presets 12 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web.Client/wwwroot/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web.Client/wwwroot/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/BlazorMaui.Web.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using BlazorMaui.Web 10 | @using BlazorMaui.Web.Client 11 | @using BlazorMaui.Web.Components 12 | @using Masa.Blazor 13 | @using Masa.Blazor.Presets 14 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/Services/FormFactor.cs: -------------------------------------------------------------------------------- 1 | using BlazorMaui.Shared.Services; 2 | 3 | namespace BlazorMaui.Web.Services; 4 | 5 | public class FormFactor : IFormFactor 6 | { 7 | public string GetFormFactor() 8 | { 9 | return "Web"; 10 | } 11 | 12 | public string GetPlatform() 13 | { 14 | return Environment.OSVersion.ToString(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using BlazorMaui.Shared 10 | @using BlazorMaui.Web 11 | @using BlazorMaui.Web.Client 12 | @using BlazorMaui.Web.Components -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui.Web/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/App.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorMaui; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | InitializeComponent(); 8 | 9 | MainPage = new MainPage(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorMaui; 2 | 3 | public partial class MainPage : ContentPage 4 | { 5 | public MainPage() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace BlazorMaui; 6 | 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace BlazorMaui; 5 | 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace BlazorMaui; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace BlazorMaui; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.Maui; 3 | using Microsoft.Maui.Hosting; 4 | 5 | namespace BlazorMaui; 6 | 7 | class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace BlazorMaui; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace BlazorMaui; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/Services/FormFactor.cs: -------------------------------------------------------------------------------- 1 | using BlazorMaui.Shared.Services; 2 | 3 | namespace BlazorMaui.Services; 4 | 5 | public class FormFactor : IFormFactor 6 | { 7 | public string GetFormFactor() 8 | { 9 | return DeviceInfo.Idiom.ToString(); 10 | } 11 | 12 | public string GetPlatform() 13 | { 14 | return DeviceInfo.Platform.ToString() + " - " + DeviceInfo.VersionString; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Components.Forms 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.AspNetCore.Components.Web.Virtualization 6 | @using Microsoft.JSInterop 7 | @using BlazorMaui 8 | @using BlazorMaui.Shared -------------------------------------------------------------------------------- /src/Content/BlazorMaui/BlazorMaui/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorMaui/BlazorMaui/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/App.razor: -------------------------------------------------------------------------------- 1 | @namespace BlazorPhotino 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

Sorry, there's nothing at this address.

11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/BlazorPhotino.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net7.0 6 | enable 7 | enable 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Always 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/Program.cs: -------------------------------------------------------------------------------- 1 | using BlazorPhotino; 2 | using Microsoft.Extensions.DependencyInjection; 3 | using Photino.Blazor; 4 | 5 | internal class Program 6 | { 7 | [STAThread] 8 | private static void Main(string[] args) 9 | { 10 | var appBuilder = PhotinoBlazorAppBuilder.CreateDefault(args); 11 | 12 | appBuilder.RootComponents.Add("#app"); 13 | appBuilder.Services.AddMasaBlazor(); 14 | 15 | var app = appBuilder.Build(); 16 | 17 | app.MainWindow 18 | .SetTitle("Photino Blazor Sample"); 19 | 20 | AppDomain.CurrentDomain.UnhandledException += (sender, error) => 21 | { 22 | }; 23 | 24 | app.Run(); 25 | } 26 | } -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 | 2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Components.Forms 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.AspNetCore.Components.Web.Virtualization 6 | @using Microsoft.JSInterop 7 | @using Masa.Blazor 8 | @using Masa.Blazor.Presets 9 | @using BlazorPhotino.Shared; 10 | @using System.Net.Http.Json 11 | @using System.IO; 12 | @using System.Text.Json; -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorPhotino/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/BlazorPhotino/wwwroot/sample-data/weather.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "date": "2022-01-06", 4 | "temperatureC": 1, 5 | "summary": "Freezing" 6 | }, 7 | { 8 | "date": "2022-01-07", 9 | "temperatureC": 14, 10 | "summary": "Bracing" 11 | }, 12 | { 13 | "date": "2022-01-08", 14 | "temperatureC": -13, 15 | "summary": "Freezing" 16 | }, 17 | { 18 | "date": "2022-01-09", 19 | "temperatureC": -16, 20 | "summary": "Balmy" 21 | }, 22 | { 23 | "date": "2022-01-10", 24 | "temperatureC": -2, 25 | "summary": "Chilly" 26 | } 27 | ] 28 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/.template.config/dotnetcli.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/dotnetcli.host", 3 | "symbolInfo": { 4 | "useCDN": { 5 | "longName": "cdn" 6 | }, 7 | "Framework": { 8 | "longName": "framework" 9 | }, 10 | "skipRestore": { 11 | "longName": "no-restore", 12 | "shortName": "" 13 | }, 14 | "kestrelHttpPort": { 15 | "isHidden": true 16 | }, 17 | "kestrelHttpsPort": { 18 | "isHidden": true 19 | }, 20 | "iisHttpPort": { 21 | "isHidden": true 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /src/Content/BlazorProServer/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "ide/icon.png", 4 | "symbolInfo": [ 5 | { 6 | "id": "useCDN", 7 | "name": { 8 | "text": "Use CDN (uncheck to use local files)" 9 | }, 10 | "isVisible": true 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /src/Content/BlazorProServer/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/App/ECommerce/Dto/AddressTypeDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.App.ECommerce.Dto; 2 | 3 | public class AddressTypeDto 4 | { 5 | public string Label { get; set; } 6 | public string Value { get; set; } 7 | 8 | public AddressTypeDto(string label, string value) 9 | { 10 | Label = label; 11 | Value = value; 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/App/ECommerce/Dto/RelatedGoodsDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.App.ECommerce.Dto; 2 | 3 | public class RelatedGoodsDto 4 | { 5 | public string ImgUrl { get; set; } = default!; 6 | 7 | public string Name { get; set; } = default!; 8 | 9 | public string Brand { get; set; } = default!; 10 | 11 | public int Rating { get; set; } 12 | 13 | public decimal Price { get; set; } 14 | 15 | public RelatedGoodsDto(string name, string brand, string imgUrl, decimal price, int rating) 16 | { 17 | Name = name; 18 | Brand = brand; 19 | ImgUrl = imgUrl; 20 | Price = price; 21 | Rating = rating; 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/App/Invoice/Dto/InvoiceStateDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.App.Invoice.Dto; 2 | 3 | public class InvoiceStateDto 4 | { 5 | public string Label { get; set; } 6 | 7 | public int Value { get; set; } 8 | 9 | public InvoiceStateDto(string label, int value) 10 | { 11 | Label = label; 12 | Value = value; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/App/Todo/Dto/SelectData.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.App.Todo.Dto 2 | { 3 | public class SelectData 4 | { 5 | public string Label { get; set; } = default!; 6 | 7 | public string Value { get; set; } = default!; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/App/User/Dto/PermissionDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.App.User.Dto; 2 | 3 | public class PermissionDto 4 | { 5 | public string Module { get; set; } = default!; 6 | 7 | public bool Read { get; set; } 8 | 9 | public bool Write { get; set; } 10 | 11 | public bool Create { get; set; } 12 | 13 | public bool Delete { get; set; } 14 | } -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/Base/GlobalVariables.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.Base; 2 | 3 | public static class GlobalVariables 4 | { 5 | public const string DefaultRoute = "dashboard/ecommerce"; 6 | } -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/Dashboard/Analytics/AnalyticsService.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.Dashboard.Analytics; 2 | 3 | public static class AnalyticsService 4 | { 5 | public static int[] GetSubscribersChartData() => new[] { 28, 40, 36, 52, 38, 60, 55 }; 6 | 7 | public static int[] GetOrdersChartData() => new[] { 10, 15, 8, 15, 7, 12, 8 }; 8 | 9 | public static int[] GetSessionsChartData() => new[] { 75, 125, 225, 175, 125, 75, 25 }; 10 | 11 | public static int[][] GetSalesChartData() => new int[][] { new[] { 70, 50, 90, 30, 70, 30 }, new[] { 50, 70, 30, 50, 50, 50 } }; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/Others/AccountSettings/Dto/AccountDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.Others.AccountSettings.Dto 2 | { 3 | public class AccountDto 4 | { 5 | public string UserName { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public string Email { get; set; } 10 | 11 | public string Company { get; set; } 12 | 13 | public AccountDto(string userName, string name, string email, string company) 14 | { 15 | UserName = userName; 16 | Name = name; 17 | Email = email; 18 | Company = company; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/Others/AccountSettings/Dto/CountryDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.Others.AccountSettings.Dto 2 | { 3 | public class CountryDto 4 | { 5 | public string Id { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public CountryDto(string id, string name) 10 | { 11 | Id = id; 12 | Name = name; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Data/Shared/Favorite/FavoriteService.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Data.Shared.Favorite 2 | { 3 | public static class FavoriteService 4 | { 5 | public static List GetDefaultFavoriteMenuList() => new() { 5, 2, 15 }; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Global/Config/NavigationStyles.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Global.Config 2 | { 3 | public static class NavigationStyles 4 | { 5 | public const string Flat = "Flat"; 6 | public const string Rounded = "Rounded"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Global/Config/PageModes.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer.Global.Config; 2 | 3 | public static class PageModes 4 | { 5 | public const string PageTab = "PageTab"; 6 | public const string Breadcrumb = "Breadcrumb"; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Pages/App/Invoice/Edit.razor: -------------------------------------------------------------------------------- 1 | @page "/app/invoice/edit/{Id:int}" 2 | @page "/app/invoice/edit" 3 | @inherits ProComponentBase 4 | 5 | 6 | 7 | @code { 8 | [Parameter] 9 | public int? Id { get; set; } 10 | 11 | protected override void OnParametersSet() 12 | { 13 | base.OnParametersSet(); 14 | if (Id is null) Id = 0; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Pages/App/Invoice/List.razor: -------------------------------------------------------------------------------- 1 | @page "/app/invoice/list" 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Pages/Authentication/Login-v1.razor: -------------------------------------------------------------------------------- 1 | @page "/pages/authentication/Login-v1" 2 | @layout EmptyLayout 3 | 4 |
5 | 6 |
7 | 8 | 9 | 10 | 浙ICP备2021013592号-1 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Pages/Home/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @inherits LayoutComponentBase 3 | @inject NavigationManager Nav 4 | 5 | @code { 6 | protected override void OnAfterRender(bool firstRender) 7 | { 8 | if(firstRender) 9 | { 10 | Nav.NavigateTo(GlobalVariables.DefaultRoute,true); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/Shared/EmptyLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | 4 |
5 | @Body 6 |
7 |
-------------------------------------------------------------------------------- /src/Content/BlazorProServer/Shared/ProComponentBase.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProServer; 2 | 3 | public abstract class ProComponentBase : ComponentBase 4 | { 5 | [Inject] 6 | protected I18n I18n { get; set; } = null!; 7 | 8 | [CascadingParameter(Name = "CultureName")] 9 | protected string? Culture { get; set; } 10 | 11 | protected string T(string? key, params object[] args) 12 | { 13 | return I18n.T(key, args: args); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Authorization 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using Masa.Blazor 10 | @using Masa.Blazor.Presets 11 | @using BlazorProServer 12 | @using BlazorProServer.Data 13 | @using BlazorProServer.Shared 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/i18n/supportedCultures.json: -------------------------------------------------------------------------------- 1 | [ 2 | "zh-CN", 3 | "en-US" 4 | ] 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/analytics/json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/analytics/json.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/analytics/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/analytics/left.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/analytics/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/analytics/right.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/1.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/1.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/10.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/10.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/11.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/11.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/12.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/12.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/13.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/13.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/14.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/14.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/15.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/15.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/16.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/16.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/17.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/17.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/18.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/18.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/19.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/19.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/2.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/2.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/20.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/20.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/21.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/21.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/22.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/22.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/23.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/23.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/23.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/24.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/24.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/24.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/25.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/25.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/26.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/26.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/26.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/27.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/27.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/27.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/28.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/28.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/29.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/29.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/3.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/3.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/30.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/30.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/31.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/32.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/32.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/4.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/4.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/5.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/5.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/6.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/6.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/7.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/7.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/8.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/8.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/9.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/apps-eCommerce/9.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/eCommerce/rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/eCommerce/rectangle.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/eCommerce/trophy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/eCommerce/trophy.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/login/2873.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/login/2873.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/login/Gxwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/login/Gxwd.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/status/401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/status/401.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/status/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/status/404.png -------------------------------------------------------------------------------- /src/Content/BlazorProServer/wwwroot/img/status/500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProServer/wwwroot/img/status/500.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/.template.config/dotnetcli.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/dotnetcli.host", 3 | "symbolInfo": { 4 | "useCDN": { 5 | "longName": "cdn" 6 | }, 7 | "PWA": { 8 | "longName": "pwa" 9 | }, 10 | "Framework": { 11 | "longName": "framework" 12 | }, 13 | "skipRestore": { 14 | "longName": "no-restore", 15 | "shortName": "" 16 | }, 17 | "kestrelHttpPort": { 18 | "isHidden": true 19 | }, 20 | "kestrelHttpsPort": { 21 | "isHidden": true 22 | }, 23 | "iisHttpPort": { 24 | "isHidden": true 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "ide/icon.png", 4 | "symbolInfo": [ 5 | { 6 | "id": "useCDN", 7 | "name": { 8 | "text": "Use CDN (uncheck to use local files)" 9 | }, 10 | "isVisible": true 11 | }, 12 | { 13 | "id": "PWA", 14 | "isVisible": true 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/App/ECommerce/Dto/AddressTypeDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.App.ECommerce.Dto; 2 | 3 | public class AddressTypeDto 4 | { 5 | public string Label { get; set; } 6 | public string Value { get; set; } 7 | 8 | public AddressTypeDto(string label, string value) 9 | { 10 | Label = label; 11 | Value = value; 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/App/ECommerce/Dto/RelatedGoodsDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.App.ECommerce.Dto; 2 | 3 | public class RelatedGoodsDto 4 | { 5 | public string ImgUrl { get; set; } = default!; 6 | 7 | public string Name { get; set; } = default!; 8 | 9 | public string Brand { get; set; } = default!; 10 | 11 | public int Rating { get; set; } 12 | 13 | public decimal Price { get; set; } 14 | 15 | public RelatedGoodsDto(string name, string brand, string imgUrl, decimal price, int rating) 16 | { 17 | Name = name; 18 | Brand = brand; 19 | ImgUrl = imgUrl; 20 | Price = price; 21 | Rating = rating; 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/App/Invoice/Dto/InvoiceStateDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.App.Invoice.Dto; 2 | 3 | public class InvoiceStateDto 4 | { 5 | public string Label { get; set; } 6 | 7 | public int Value { get; set; } 8 | 9 | public InvoiceStateDto(string label, int value) 10 | { 11 | Label = label; 12 | Value = value; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/App/Todo/Dto/SelectData.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.App.Todo.Dto 2 | { 3 | public class SelectData 4 | { 5 | public string Label { get; set; } = default!; 6 | 7 | public string Value { get; set; } = default!; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/App/User/Dto/PermissionDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.App.User.Dto; 2 | 3 | public class PermissionDto 4 | { 5 | public string Module { get; set; } = default!; 6 | 7 | public bool Read { get; set; } 8 | 9 | public bool Write { get; set; } 10 | 11 | public bool Create { get; set; } 12 | 13 | public bool Delete { get; set; } 14 | } -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Base/GlobalVariables.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Base; 2 | 3 | public static class GlobalVariables 4 | { 5 | public const string DefaultRoute = "dashboard/ecommerce"; 6 | } -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Base/PagingData.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Base; 2 | 3 | public class PagingData where TEntity : class 4 | { 5 | public int PageIndex { get; private set; } 6 | 7 | public int PageSize { get; private set; } 8 | 9 | public long Count { get; private set; } 10 | 11 | public int PageCount => (int)Math.Ceiling(Count / (decimal)PageSize); 12 | 13 | public IEnumerable Items { get; private set; } 14 | 15 | public PagingData(int pageIndex, int pageSize, long count, IEnumerable items) 16 | { 17 | PageIndex = pageIndex; 18 | PageSize = pageSize; 19 | Count = count; 20 | Items = items; 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Dashboard/Analytics/AnalyticsService.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Dashboard.Analytics; 2 | 3 | public static class AnalyticsService 4 | { 5 | public static int[] GetSubscribersChartData() => new[] { 28, 40, 36, 52, 38, 60, 55 }; 6 | 7 | public static int[] GetOrdersChartData() => new[] { 10, 15, 8, 15, 7, 12, 8 }; 8 | 9 | public static int[] GetSessionsChartData() => new[] { 75, 125, 225, 175, 125, 75, 25 }; 10 | 11 | public static int[][] GetSalesChartData() => new int[][] { new[] { 70, 50, 90, 30, 70, 30 }, new[] { 50, 70, 30, 50, 50, 50 } }; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Others/AccountSettings/Dto/AccountDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Others.AccountSettings.Dto 2 | { 3 | public class AccountDto 4 | { 5 | public string UserName { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public string Email { get; set; } 10 | 11 | public string Company { get; set; } 12 | 13 | public AccountDto(string userName, string name, string email, string company) 14 | { 15 | UserName = userName; 16 | Name = name; 17 | Email = email; 18 | Company = company; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Others/AccountSettings/Dto/CountryDto.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Others.AccountSettings.Dto 2 | { 3 | public class CountryDto 4 | { 5 | public string Id { get; set; } 6 | 7 | public string Name { get; set; } 8 | 9 | public CountryDto(string id, string name) 10 | { 11 | Id = id; 12 | Name = name; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Data/Shared/Favorite/FavoriteService.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Data.Shared.Favorite 2 | { 3 | public static class FavoriteService 4 | { 5 | public static List GetDefaultFavoriteMenuList() => new() { 5, 2, 15 }; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Global/Config/NavigationStyles.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Global.Config 2 | { 3 | public static class NavigationStyles 4 | { 5 | public const string Flat = "Flat"; 6 | public const string Rounded = "Rounded"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Global/Config/PageModes.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm.Global.Config; 2 | 3 | public static class PageModes 4 | { 5 | public const string PageTab = "PageTab"; 6 | public const string Breadcrumb = "Breadcrumb"; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Pages/App/Invoice/Edit.razor: -------------------------------------------------------------------------------- 1 | @page "/app/invoice/edit/{Id:int}" 2 | @page "/app/invoice/edit" 3 | @inherits ProComponentBase 4 | 5 | 6 | 7 | @code { 8 | [Parameter] 9 | public int? Id { get; set; } 10 | 11 | protected override void OnParametersSet() 12 | { 13 | base.OnParametersSet(); 14 | if (Id is null) Id = 0; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Pages/App/Invoice/List.razor: -------------------------------------------------------------------------------- 1 | @page "/app/invoice/list" 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Pages/Authentication/Login-v1.razor: -------------------------------------------------------------------------------- 1 | @page "/pages/authentication/Login-v1" 2 | @layout EmptyLayout 3 | 4 |
5 | 6 |
7 | 8 | 9 | 10 | 浙ICP备2021013592号-1 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Pages/Home/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @inherits LayoutComponentBase 3 | @inject NavigationManager Nav 4 | 5 | @code { 6 | protected override void OnAfterRender(bool firstRender) 7 | { 8 | if(firstRender) 9 | { 10 | Nav.NavigateTo(GlobalVariables.DefaultRoute,true); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Shared/EmptyLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | 4 |
5 | @Body 6 |
7 |
-------------------------------------------------------------------------------- /src/Content/BlazorProWasm/Shared/ProComponentBase.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorProWasm; 2 | 3 | public abstract class ProComponentBase : ComponentBase 4 | { 5 | [Inject] 6 | protected I18n I18n { get; set; } = null!; 7 | 8 | [CascadingParameter(Name = "CultureName")] 9 | protected string? Culture { get; set; } 10 | 11 | protected string T(string? key, params object[] args) 12 | { 13 | return I18n.T(key, args: args); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.AspNetCore.Components.WebAssembly.Http 9 | @using Microsoft.JSInterop 10 | @using Masa.Blazor 11 | @using Masa.Blazor.Presets 12 | @using BlazorProWasm 13 | @using BlazorProWasm.Shared 14 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/i18n/supportedCultures.json: -------------------------------------------------------------------------------- 1 | [ 2 | "zh-CN", 3 | "en-US" 4 | ] 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/icon-192.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/icon-512.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/analytics/json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/analytics/json.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/analytics/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/analytics/left.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/analytics/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/analytics/right.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/1.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/1.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/10.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/10.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/11.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/11.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/12.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/12.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/13.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/13.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/14.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/14.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/15.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/15.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/16.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/16.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/17.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/17.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/18.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/18.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/19.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/19.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/2.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/2.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/20.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/20.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/21.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/21.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/22.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/22.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/23.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/23.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/23.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/24.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/24.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/24.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/25.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/25.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/26.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/26.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/26.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/27.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/27.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/27.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/28.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/28.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/29.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/29.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/3.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/3.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/30.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/30.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/31.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/32.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/32.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/4.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/4.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/5.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/5.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/6.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/6.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/7.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/7.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/8.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/8.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/9.jpg -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/apps-eCommerce/9.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/eCommerce/rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/eCommerce/rectangle.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/eCommerce/trophy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/eCommerce/trophy.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/login/2873.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/login/2873.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/login/Gxwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/login/Gxwd.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/status/401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/status/401.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/status/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/status/404.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/img/status/500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorProWasm/wwwroot/img/status/500.png -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BlazorProWasm", 3 | "short_name": "BlazorProWasm", 4 | "start_url": "./", 5 | "display": "standalone", 6 | "background_color": "#ffffff", 7 | "theme_color": "#03173d", 8 | "prefer_related_applications": false, 9 | "icons": [ 10 | { 11 | "src": "icon-512.png", 12 | "type": "image/png", 13 | "sizes": "512x512" 14 | }, 15 | { 16 | "src": "icon-192.png", 17 | "type": "image/png", 18 | "sizes": "192x192" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /src/Content/BlazorProWasm/wwwroot/service-worker.js: -------------------------------------------------------------------------------- 1 | // In development, always fetch from the network and do not enable offline support. 2 | // This is because caching would make development more difficult (changes would not 3 | // be reflected on the first load after each change). 4 | self.addEventListener('fetch', () => { }); 5 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/.template.config/dotnetcli.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/dotnetcli.host", 3 | "symbolInfo": { 4 | "useCDN": { 5 | "longName": "cdn" 6 | }, 7 | "iconSet": { 8 | "longName": "icon", 9 | "shortName": "" 10 | }, 11 | "Framework": { 12 | "longName": "framework" 13 | }, 14 | "skipRestore": { 15 | "longName": "no-restore", 16 | "shortName": "" 17 | }, 18 | "kestrelHttpPort": { 19 | "isHidden": true 20 | }, 21 | "kestrelHttpsPort": { 22 | "isHidden": true 23 | }, 24 | "iisHttpPort": { 25 | "isHidden": true 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /src/Content/BlazorServer/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "ide/icon.png", 4 | "symbolInfo": [ 5 | { 6 | "id": "useCDN", 7 | "name": { 8 | "text": "Use CDN (uncheck to use local files)" 9 | }, 10 | "isVisible": true 11 | }, 12 | { 13 | "id": "iconSet", 14 | "name": { 15 | "text": "What icon set do you want to use?" 16 | }, 17 | "isVisible": true 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /src/Content/BlazorServer/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorServer/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/BlazorServer.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net9.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/Data/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorServer.Data; 2 | 3 | public class WeatherForecast 4 | { 5 | public DateOnly Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 |  2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Authorization 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using Masa.Blazor 10 | @using Masa.Blazor.Presets 11 | @using BlazorServer 12 | @using BlazorServer.Data 13 | @using BlazorServer.Shared 14 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorServer/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorServer/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/Content/BlazorWasm/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "ide/icon.png", 4 | "symbolInfo": [ 5 | { 6 | "id": "useCDN", 7 | "name": { 8 | "text": "Use CDN (uncheck to use local files)" 9 | }, 10 | "isVisible": true 11 | }, 12 | { 13 | "id": "iconSet", 14 | "name": { 15 | "text": "What icon set do you want to use?" 16 | }, 17 | "isVisible": true 18 | }, 19 | { 20 | "id": "PWA", 21 | "isVisible": true 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /src/Content/BlazorWasm/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorWasm/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @_currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int _currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | _currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 |  2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using Microsoft.AspNetCore.Components.Web.Virtualization 7 | @using Microsoft.AspNetCore.Components.WebAssembly.Http 8 | @using Microsoft.JSInterop 9 | @using Masa.Blazor 10 | @using Masa.Blazor.Presets 11 | @using BlazorWasm 12 | @using BlazorWasm.Shared 13 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/icon-192.png -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWasm/wwwroot/icon-512.png -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BlazorWasm", 3 | "short_name": "BlazorWasm", 4 | "start_url": "./", 5 | "display": "standalone", 6 | "background_color": "#ffffff", 7 | "theme_color": "#03173d", 8 | "prefer_related_applications": false, 9 | "icons": [ 10 | { 11 | "src": "icon-512.png", 12 | "type": "image/png", 13 | "sizes": "512x512" 14 | }, 15 | { 16 | "src": "icon-192.png", 17 | "type": "image/png", 18 | "sizes": "192x192" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/sample-data/weather.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "date": "2022-01-06", 4 | "temperatureC": 1, 5 | "summary": "Freezing" 6 | }, 7 | { 8 | "date": "2022-01-07", 9 | "temperatureC": 14, 10 | "summary": "Bracing" 11 | }, 12 | { 13 | "date": "2022-01-08", 14 | "temperatureC": -13, 15 | "summary": "Freezing" 16 | }, 17 | { 18 | "date": "2022-01-09", 19 | "temperatureC": -16, 20 | "summary": "Balmy" 21 | }, 22 | { 23 | "date": "2022-01-10", 24 | "temperatureC": -2, 25 | "summary": "Chilly" 26 | } 27 | ] 28 | -------------------------------------------------------------------------------- /src/Content/BlazorWasm/wwwroot/service-worker.js: -------------------------------------------------------------------------------- 1 | // In development, always fetch from the network and do not enable offline support. 2 | // This is because caching would make development more difficult (changes would not 3 | // be reflected on the first load after each change). 4 | self.addEventListener('fetch', () => { }); 5 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/.template.config/ide/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/.template.config/ide/icon.png -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp.Client/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | @*#if (UseServer && !InteractiveAtRoot) 3 | @rendermode InteractiveAuto 4 | ##elseif (!InteractiveAtRoot) 5 | @rendermode InteractiveWebAssembly 6 | ##endif*@ 7 | 8 | Counter 9 | 10 |

Counter

11 | 12 |

Current count: @currentCount

13 | 14 | Click me 15 | 16 | @code { 17 | private int currentCount = 0; 18 | 19 | private void IncrementCount() 20 | { 21 | currentCount++; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp.Client/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using BlazorWebApp.Client 10 | @using Masa.Blazor 11 | @using Masa.Blazor.Presets 12 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp.Client/wwwroot/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp.Client/wwwroot/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/Layout/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | 4 | @*#if (SampleContent) 5 | 6 | ##endif*@ 7 | 8 | 9 | @Body 10 | 11 | 12 | 13 | 14 | @*#if (UseServer || UseWebAssembly) --> 15 |
16 | An unhandled error has occurred. 17 | Reload 18 | 🗙 19 |
20 | ##endif*@ 21 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/Layout/MainLayout.razor.css: -------------------------------------------------------------------------------- 1 | #blazor-error-ui { 2 | background: lightyellow; 3 | bottom: 0; 4 | box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); 5 | box-sizing: border-box; 6 | display: none; 7 | left: 0; 8 | padding: 0.6rem 1.25rem 0.7rem 1.25rem; 9 | position: fixed; 10 | width: 100%; 11 | z-index: 1000; 12 | } 13 | 14 | #blazor-error-ui .dismiss { 15 | cursor: pointer; 16 | position: absolute; 17 | right: 0.75rem; 18 | top: 0.5rem; 19 | } 20 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | @*#if (!InteractiveAtRoot) --> 3 | @rendermode InteractiveServer 4 | ##endif*@ 5 | 6 | Counter 7 | 8 |

Counter

9 | 10 |

Current count: @currentCount

11 | 12 | Click me 13 | 14 | @code { 15 | private int currentCount = 0; 16 | 17 | private void IncrementCount() 18 | { 19 | currentCount++; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/Pages/Home.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Home 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/Routes.razor: -------------------------------------------------------------------------------- 1 | @*#if (UseWebAssembly && !InteractiveAtRoot) 2 | 3 | ##else 4 | 5 | ##endif*@ 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using BlazorWebApp 10 | @*#if (UseWebAssembly) --> 11 | @using BlazorWebApp.Client 12 | ##endif*@ 13 | @using BlazorWebApp.Components 14 | @using Masa.Blazor 15 | @using Masa.Blazor.Presets 16 | @*#if(SampleContent && !InteractiveAtRoot) --> 17 | @using BlazorPageScript 18 | #endif*@ 19 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/fontawesome/v6.4.0/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/material/icons.css: -------------------------------------------------------------------------------- 1 | /* fallback */ 2 | @font-face { 3 | font-family: 'Material Icons'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url(./flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); 7 | } 8 | 9 | .material-icons { 10 | font-family: 'Material Icons'; 11 | font-weight: normal; 12 | font-style: normal; 13 | font-size: 24px; 14 | line-height: 1; 15 | letter-spacing: normal; 16 | text-transform: none; 17 | display: inline-block; 18 | white-space: nowrap; 19 | word-wrap: normal; 20 | direction: ltr; 21 | -webkit-font-smoothing: antialiased; 22 | } 23 | -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.eot -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/css/materialdesign/v7.1.96/fonts/materialdesignicons-webfont.woff2 -------------------------------------------------------------------------------- /src/Content/BlazorWeb/BlazorWebApp/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWeb/BlazorWebApp/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/Content/BlazorWinform/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorWinform/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorWinform/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorWinform/Program.cs: -------------------------------------------------------------------------------- 1 | namespace BlazorWinform; 2 | 3 | internal static class Program 4 | { 5 | /// 6 | /// The main entry point for the application. 7 | /// 8 | [STAThread] 9 | static void Main() 10 | { 11 | // To customize application configuration such as set high DPI settings or default font, 12 | // see https://aka.ms/applicationconfiguration. 13 | ApplicationConfiguration.Initialize(); 14 | Application.Run(new MainFrom()); 15 | } 16 | } -------------------------------------------------------------------------------- /src/Content/BlazorWinform/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 | 2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/BlazorWinform/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Components.Forms 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.AspNetCore.Components.Web.Virtualization 6 | @using Microsoft.JSInterop 7 | @using Masa.Blazor 8 | @using Masa.Blazor.Presets 9 | @using BlazorWinform.Shared 10 | @using System.Net.Http.Json 11 | @using System.IO; 12 | @using System.Text.Json; -------------------------------------------------------------------------------- /src/Content/BlazorWinform/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWinform/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/BlazorWinform/wwwroot/sample-data/weather.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "date": "2022-01-06", 4 | "temperatureC": 1, 5 | "summary": "Freezing" 6 | }, 7 | { 8 | "date": "2022-01-07", 9 | "temperatureC": 14, 10 | "summary": "Bracing" 11 | }, 12 | { 13 | "date": "2022-01-08", 14 | "temperatureC": -13, 15 | "summary": "Freezing" 16 | }, 17 | { 18 | "date": "2022-01-09", 19 | "temperatureC": -16, 20 | "summary": "Balmy" 21 | }, 22 | { 23 | "date": "2022-01-10", 24 | "temperatureC": -2, 25 | "summary": "Chilly" 26 | } 27 | ] 28 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Configuration; 2 | using System.Data; 3 | using System.Windows; 4 | 5 | namespace BlazorWpf; 6 | /// 7 | /// Interaction logic for App.xaml 8 | /// 9 | public partial class App : Application 10 | { 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/Main.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 | 2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/BlazorWpf/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Components.Forms 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.AspNetCore.Components.Web.Virtualization 6 | @using Microsoft.JSInterop 7 | @using Masa.Blazor 8 | @using Masa.Blazor.Presets 9 | @using BlazorWpf.Shared; 10 | @using System.Net.Http.Json 11 | @using System.IO; 12 | @using System.Text.Json; -------------------------------------------------------------------------------- /src/Content/BlazorWpf/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/BlazorWpf/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/BlazorWpf/wwwroot/sample-data/weather.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "date": "2022-01-06", 4 | "temperatureC": 1, 5 | "summary": "Freezing" 6 | }, 7 | { 8 | "date": "2022-01-07", 9 | "temperatureC": 14, 10 | "summary": "Bracing" 11 | }, 12 | { 13 | "date": "2022-01-08", 14 | "temperatureC": -13, 15 | "summary": "Freezing" 16 | }, 17 | { 18 | "date": "2022-01-09", 19 | "temperatureC": -16, 20 | "summary": "Balmy" 21 | }, 22 | { 23 | "date": "2022-01-10", 24 | "temperatureC": -2, 25 | "summary": "Chilly" 26 | } 27 | ] 28 | -------------------------------------------------------------------------------- /src/Content/Framework/.template.config/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/Framework/.template.config/icon.png -------------------------------------------------------------------------------- /src/Content/Framework/Directory.Build.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1.0.0 4 | 1.0.2 5 | 6 | -------------------------------------------------------------------------------- /src/Content/Framework/dapr/components/pubsub.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: dapr.io/v1alpha1 2 | kind: Component 3 | metadata: 4 | name: pubsub 5 | namespace: default 6 | spec: 7 | type: pubsub.redis 8 | version: v1 9 | metadata: 10 | - name: redisHost 11 | value: redis:6379 12 | - name: redisPassword 13 | value: "" -------------------------------------------------------------------------------- /src/Content/Framework/dapr/components/statestore.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: dapr.io/v1alpha1 2 | kind: Component 3 | metadata: 4 | name: statestore 5 | namespace: default 6 | spec: 7 | type: state.redis 8 | version: v1 9 | metadata: 10 | - name: redisHost 11 | value: redis:6379 12 | - name: redisPassword 13 | value: "" 14 | - name: actorStateStore 15 | value: "true" -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Bff/Masa.Framework.Bff/Masa.Framework.Bff.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Bff/Masa.Framework.Bff/Services/OrderService.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Bff.Services; 2 | 3 | public class OrderService : ServiceBase 4 | { 5 | readonly OrderCaller _orderCaller; 6 | 7 | public OrderService(IServiceCollection services, OrderCaller orderCaller) : base(services) 8 | { 9 | _orderCaller = orderCaller; 10 | App.MapGet("/api/v1/orders", GetListAsync); 11 | } 12 | 13 | public async Task GetListAsync() 14 | { 15 | var data = await _orderCaller.GetListAsync(); 16 | return Results.Ok(data); 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Bff/Masa.Framework.Bff/_Imports.cs: -------------------------------------------------------------------------------- 1 | global using Masa.Contrib.Service.Caller; 2 | global using Masa.Framework.Caller.Callers; 3 | global using System.Reflection; 4 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Bff/Masa.Framework.Bff/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Bff/Masa.Framework.Bff/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Caller/Masa.Framework.Caller/Callers/OrderCaller.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Caller.Callers; 2 | 3 | public class OrderCaller : HttpClientCallerBase 4 | { 5 | protected override string BaseAddress { get; set; } = "http://localhost:6000"; 6 | 7 | public OrderCaller(IServiceProvider serviceProvider) : base(serviceProvider) 8 | { 9 | } 10 | 11 | public async Task> GetListAsync() 12 | { 13 | return (await Caller.GetAsync>($"api/v1/orders/querylist"))!; 14 | } 15 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Caller/Masa.Framework.Caller/Masa.Framework.Caller.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/Content/Framework/src/ApiGateways/Caller/Masa.Framework.Caller/_Imports.cs: -------------------------------------------------------------------------------- 1 | global using Masa.Contrib.Service.Caller.HttpClient; 2 | global using Masa.Framework.Contracts.Order.Model; -------------------------------------------------------------------------------- /src/Content/Framework/src/Contracts/Masa.Framework.Contracts.Order/Masa.Framework.Contracts.Order.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Contracts/Masa.Framework.Contracts.Order/Model/Order.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Contracts.Order.Model; 2 | 3 | public class Order 4 | { 5 | public int Id { get; set; } 6 | 7 | public string OrderNumber { get; set; } = string.Empty; 8 | 9 | public AddressValue Address { get; set; } 10 | 11 | public DateTime CreationTime { get; set; } 12 | } 13 | 14 | public class AddressValue 15 | { 16 | public string Address { get; set; } 17 | 18 | public override string ToString() => Address; 19 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Actors/IOrderActor.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Actors; 2 | 3 | public interface IOrderActor : IActor 4 | { 5 | Task> GetListAsync(); 6 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Actors/OrderActor.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Actors; 2 | 3 | public class OrderActor : Actor, IOrderActor 4 | { 5 | readonly IOrderRepository _orderRepository; 6 | 7 | public OrderActor(ActorHost host, IOrderRepository orderRepository) : base(host) 8 | { 9 | _orderRepository = orderRepository; 10 | } 11 | 12 | public async Task> GetListAsync() 13 | { 14 | var data = await _orderRepository.GetListAsync(); 15 | return data; 16 | } 17 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Application/Events/QueryOrderListEvent.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Infrastructure.Events; 2 | 3 | #if (!HasDdd) 4 | public record QueryOrderListEvent : Event 5 | { 6 | public List Orders { get; set; } = new(); 7 | } 8 | #endif -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Application/Orders/Commands/OrderCreateCommand.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Application.Orders.Commands; 2 | 3 | #if (UseCqrsDddMode) 4 | public record OrderCreateCommand : DomainCommand 5 | #else 6 | public record OrderCreateCommand : Command 7 | #endif 8 | { 9 | public List Items { get; set; } = new (); 10 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Application/Orders/Commands/OrderCreateCommandValidator.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Application.Orders.Commands; 2 | 3 | public class OrderCreateCommandValidator : AbstractValidator 4 | { 5 | public OrderCreateCommandValidator() 6 | { 7 | RuleFor(cmd => cmd.Items).Must(cmd => cmd.Any()).WithMessage("The order items cannot be empty"); 8 | } 9 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Application/Orders/Queries/OrderQuery.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Application.Orders.Queries; 2 | 3 | #if (UseCqrsDddMode) 4 | public record OrderQuery : DomainQuery> 5 | #else 6 | public record OrderQuery : Query> 7 | #endif 8 | { 9 | public override List Result { get; set; } = new(); 10 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Domain/Aggregates/Orders/OrderItem.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Domain.Aggregates.Orders; 2 | 3 | public class OrderItem : Entity 4 | { 5 | public int ProductId { get; set; } 6 | 7 | public float Price { get; set; } 8 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Domain/Events/OrderCreatedDomainEvent.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Domain.Events; 2 | 3 | public record OrderCreatedDomainEvent : DomainEvent 4 | { 5 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Domain/Events/OrderQueryDomainEvent.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Domain.Events; 2 | 3 | public record OrderQueryDomainEvent : DomainEvent 4 | { 5 | public List Orders { get; set; } = new(); 6 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Domain/Repositories/IOrderRepository.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Domain.Repositories; 2 | 3 | 4 | public interface IOrderRepository : IRepository 5 | { 6 | Task> GetListAsync(); 7 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Infrastructure/Entities/Order.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Infrastructure.Entities; 2 | 3 | public class Order 4 | { 5 | public int Id { get; set; } 6 | 7 | public string OrderNumber { get; set; } = string.Empty; 8 | 9 | public string Address { get; set; } = string.Empty; 10 | 11 | public DateTimeOffset CreationTime { get; set; } = DateTimeOffset.Now; 12 | 13 | public Order(int id, string orderNumber) 14 | { 15 | Id = id; 16 | OrderNumber = orderNumber; 17 | } 18 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Infrastructure/Entities/OrderItem.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Infrastructure.Entities; 2 | 3 | public class OrderItem 4 | { 5 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/Infrastructure/Repositories/IOrderRepository.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Service.Infrastructure.Repositories; 2 | 3 | public interface IOrderRepository : IScopedDependency 4 | { 5 | Task> GetListAsync(); 6 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Services/Masa.Framework.Service/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/Masa.Framework.Admin.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/Pages/Error.cshtml.cs: -------------------------------------------------------------------------------- 1 | namespace Masa.Framework.Web.Admin.Pages; 2 | 3 | [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] 4 | [IgnoreAntiforgeryToken] 5 | public class ErrorModel : PageModel 6 | { 7 | public string? RequestId { get; set; } 8 | 9 | public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 10 | 11 | private readonly ILogger _logger; 12 | 13 | public ErrorModel(ILogger logger) 14 | { 15 | _logger = logger; 16 | } 17 | 18 | public void OnGet() 19 | { 20 | RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; 21 | } 22 | } -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 |  2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/_Imports.cs: -------------------------------------------------------------------------------- 1 | global using BlazorComponent; 2 | global using Masa.Contrib.Service.Caller; 3 | global using System.Reflection; 4 | global using Microsoft.AspNetCore.Mvc; 5 | global using Microsoft.AspNetCore.Mvc.RazorPages; 6 | global using System.Diagnostics; -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Authorization 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using Masa.Framework.Admin 10 | @using Masa.Framework.Admin.Shared 11 | @using BlazorComponent 12 | @using Masa.Blazor 13 | @using Masa.Blazor.Presets 14 | @using Masa.Framework.Caller.Callers -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Admin/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/Framework/src/Web/Masa.Framework.Admin/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | Not found 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/Masa.Framework.Client.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net6.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/Pages/Counter.razor: -------------------------------------------------------------------------------- 1 | @page "/counter" 2 | 3 | Counter 4 | 5 |

Counter

6 | 7 |

Current count: @currentCount

8 | 9 | Click me 10 | 11 | @code { 12 | private int currentCount = 0; 13 | 14 | private void IncrementCount() 15 | { 16 | currentCount++; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/Program.cs: -------------------------------------------------------------------------------- 1 | var builder = WebAssemblyHostBuilder.CreateDefault(args); 2 | builder.RootComponents.Add("#app"); 3 | builder.RootComponents.Add("head::after"); 4 | 5 | builder.Services.AddMasaBlazor(); 6 | 7 | builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7001") }); 8 | 9 | await builder.Build().RunAsync(); -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/Shared/SurveyPrompt.razor: -------------------------------------------------------------------------------- 1 |  2 | @Title 3 | 4 | 5 | More Information go to 6 | 9 | MASA Blazor 10 | . 11 | 12 | 13 | 14 | @code { 15 | 16 | // Demonstrates how a parent component can supply parameters 17 | [Parameter] 18 | public string? Title { get; set; } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/_Imports.cs: -------------------------------------------------------------------------------- 1 | global using Masa.Framework.Client; 2 | global using Microsoft.AspNetCore.Components.Web; 3 | global using Microsoft.AspNetCore.Components.WebAssembly.Hosting; -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using Microsoft.AspNetCore.Components.Web.Virtualization 7 | @using Microsoft.AspNetCore.Components.WebAssembly.Http 8 | @using Microsoft.JSInterop 9 | @using Masa.Framework.Client 10 | @using Masa.Framework.Client.Shared 11 | @using BlazorComponent 12 | @using Masa.Blazor 13 | @using Masa.Blazor.Presets -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/Framework/src/Web/Masa.Framework.Client/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/Content/Framework/src/Web/Masa.Framework.Client/wwwroot/icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/Framework/src/Web/Masa.Framework.Client/wwwroot/icon-192.png -------------------------------------------------------------------------------- /src/Content/FrameworkService/.template.config/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/FrameworkService/.template.config/icon.png -------------------------------------------------------------------------------- /src/Content/FrameworkService/MasaFrameworkService.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | net6.0 4 | enable 5 | enable 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Content/FrameworkService/Services/ExampleService.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkService.Services; 2 | 3 | public class ExampleService : ServiceBase 4 | { 5 | public Task GetAsync() 6 | { 7 | return Task.FromResult("Hello,MASA Framework!"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/FrameworkService/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/FrameworkService/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/.template.config/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/Content/FrameworkServiceCqrs/.template.config/icon.png -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/Directory.Build.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 1.0.0 4 | 5 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Contracts/Example/ExampleCreateUpdateDto.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Contracts.Example; 2 | 3 | public class ExampleCreateUpdateDto 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Contracts/Example/ExampleGetListDto.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Contracts.Example; 2 | 3 | public class ExampleGetListDto 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Contracts/MasaFrameworkServiceCqrs.Contracts.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | net6.0 4 | enable 5 | enable 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/Application/Example/Commands/CreateExampleCommand.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Service.Application.Example.Commands; 2 | 3 | public record CreateExampleCommand(ExampleCreateUpdateDto Dto) : Command 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/Application/Example/Commands/DeleteExampleCommand.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Service.Application.Example.Commands; 2 | 3 | public record DeleteExampleCommand(Guid Id) : Command 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/Application/Example/Commands/UpdateExampleCommand.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Service.Application.Example.Commands; 2 | 3 | public record UpdateExampleCommand(Guid Id, ExampleCreateUpdateDto Dto) : Command 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/Application/Example/ExampleQueryHandler.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Service.Application.Example; 2 | 3 | public class ExampleQueryHandler 4 | { 5 | /// 6 | /// This can use query's DbContext 7 | /// 8 | private readonly ExampleDbContext _dbContext; 9 | 10 | public ExampleQueryHandler(ExampleDbContext dbContext) => _dbContext = dbContext; 11 | 12 | [EventHandler] 13 | public Task GetListAsync(ExampleGetListQuery command) 14 | { 15 | //TODO:Get logic 16 | return Task.CompletedTask; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/Application/Example/Queries/ExampleGetListQuery.cs: -------------------------------------------------------------------------------- 1 | namespace MasaFrameworkServiceCqrs.Service.Application.Example.Queries; 2 | 3 | public record ExampleGetListQuery(string? keyword, string? sort, int pageIndex = 1, int pageDataCount = 10) : Query> 4 | { 5 | public override PaginatedListBase Result { get; set; } 6 | } 7 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Content/FrameworkServiceCqrs/src/MasaFrameworkServiceCqrs.Service/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*", 9 | "ConnectionStrings": { 10 | //#if(HasSqlite) 11 | "DefaultConnection": "Data Source=MasaFrameworkServiceCqrs.db" 12 | //#else 13 | "DefaultConnection": "your connection string" 14 | //#endif 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masastack/MASA.Template/434955b61de374999b7c417e932f770878d4708e/src/icon.png -------------------------------------------------------------------------------- /src/src.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | false 4 | net6.0 5 | true 6 | templates.nuspec 7 | 8 | 9 | 10 | $(NuspecProperties);version=$(PackageVersion) 11 | 12 | 13 | --------------------------------------------------------------------------------