From c3cb9ddffbe33f3ca893bed5360617c7f5eb4a2d Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 10:52:33 -0400 Subject: [PATCH 01/69] Add centralized package version management Introduce a new `` in `Directory.Packages.props` to enable centralized management of package versions. A comprehensive list of package versions has been added, including Azure SDKs, Telerik UI for Blazor, Entity Framework Core, and xUnit. This update enhances maintainability and ensures compatibility across dependencies. --- Directory.Packages.props | 85 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..6a3f4157 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,85 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From a80dff98cc1e2bdb5b6c780b634c48366fd9fc32 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 10:52:54 -0400 Subject: [PATCH 02/69] Update project to target .NET 8.0 and package version The project file `SubscribeToLocationChanged.csproj` has been modified to target .NET 8.0 instead of .NET 5.0. The version specification for the `Telerik.UI.for.Blazor` package has also been removed, enabling the use of the latest version available. --- .../SubscribeToLocationChanged.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/breadcrumb/subscribe-to-location-changed/SubscribeToLocationChanged/SubscribeToLocationChanged.csproj b/breadcrumb/subscribe-to-location-changed/SubscribeToLocationChanged/SubscribeToLocationChanged.csproj index cf8fb3d0..c7fcfc9b 100644 --- a/breadcrumb/subscribe-to-location-changed/SubscribeToLocationChanged/SubscribeToLocationChanged.csproj +++ b/breadcrumb/subscribe-to-location-changed/SubscribeToLocationChanged/SubscribeToLocationChanged.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 5a3cb6d69abb9985e61240ef2a38fc570ae73f2f Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 10:59:35 -0400 Subject: [PATCH 03/69] Update project to .NET 8.0 and Telerik package version Updated the target framework from .NET Core 3.1 to .NET 8.0. Removed the specific version for the Telerik UI for Blazor package to allow for the latest version. --- calendar/allowed-dates/allowed_dates.csproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/calendar/allowed-dates/allowed_dates.csproj b/calendar/allowed-dates/allowed_dates.csproj index 0b46035a..2c7a7472 100644 --- a/calendar/allowed-dates/allowed_dates.csproj +++ b/calendar/allowed-dates/allowed_dates.csproj @@ -1,10 +1,12 @@ - netcoreapp3.1 + net8.0 - + + + From 7c1ebfaee678d0b0a8f8c89a08fa0c5752e66f2c Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:01:18 -0400 Subject: [PATCH 04/69] Update project to target .NET 8.0 and modify dependencies The project file `FormatLabel.csproj` has been updated to target .NET 8.0 instead of .NET Core 3.1. The `LangVersion` remains set to 7.3. The `PackageReference` for `Telerik.UI.for.Blazor` has been modified to remove the specific version number, allowing for the latest version to be used instead. --- chart/label-template/FormatLabel.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/chart/label-template/FormatLabel.csproj b/chart/label-template/FormatLabel.csproj index e784e48f..8f122895 100644 --- a/chart/label-template/FormatLabel.csproj +++ b/chart/label-template/FormatLabel.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + From 6265ee9a827305444414da41ba96d36bea8c3df6 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:03:24 -0400 Subject: [PATCH 05/69] Remove weather forecasting and counter features This commit removes the `WeatherForecast` and `WeatherForecastService` classes, along with their associated components (`Counter.razor` and `FetchData.razor`). The navigation menu has been updated to reflect these removals, and the `Startup.cs` file has been modified to eliminate references to the removed services. This represents a significant refactoring of the application. --- chart/label-template/Data/WeatherForecast.cs | 15 ------- .../Data/WeatherForecastService.cs | 25 ----------- chart/label-template/Pages/Counter.razor | 16 ------- chart/label-template/Pages/FetchData.razor | 45 ------------------- chart/label-template/Shared/NavMenu.razor | 10 ----- chart/label-template/Startup.cs | 10 +---- 6 files changed, 1 insertion(+), 120 deletions(-) delete mode 100644 chart/label-template/Data/WeatherForecast.cs delete mode 100644 chart/label-template/Data/WeatherForecastService.cs delete mode 100644 chart/label-template/Pages/Counter.razor delete mode 100644 chart/label-template/Pages/FetchData.razor diff --git a/chart/label-template/Data/WeatherForecast.cs b/chart/label-template/Data/WeatherForecast.cs deleted file mode 100644 index dce7ba87..00000000 --- a/chart/label-template/Data/WeatherForecast.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace FormatLabel.Data -{ - public class WeatherForecast - { - public DateTime Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string Summary { get; set; } - } -} diff --git a/chart/label-template/Data/WeatherForecastService.cs b/chart/label-template/Data/WeatherForecastService.cs deleted file mode 100644 index 6f49932e..00000000 --- a/chart/label-template/Data/WeatherForecastService.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Linq; -using System.Threading.Tasks; - -namespace FormatLabel.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateTime startDate) - { - var rng = new Random(); - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = rng.Next(-20, 55), - Summary = Summaries[rng.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/chart/label-template/Pages/Counter.razor b/chart/label-template/Pages/Counter.razor deleted file mode 100644 index 59c0d242..00000000 --- a/chart/label-template/Pages/Counter.razor +++ /dev/null @@ -1,16 +0,0 @@ -@page "/counter" - -

Counter

- -

Current count: @currentCount

- - - -@code { - int currentCount = 0; - - void IncrementCount() - { - currentCount++; - } -} diff --git a/chart/label-template/Pages/FetchData.razor b/chart/label-template/Pages/FetchData.razor deleted file mode 100644 index 01e44829..00000000 --- a/chart/label-template/Pages/FetchData.razor +++ /dev/null @@ -1,45 +0,0 @@ -@page "/fetchdata" -@using FormatLabel.Data -@inject WeatherForecastService ForecastService - -

Weather forecast

- -

This component demonstrates fetching data from a service.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - WeatherForecast[] forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await ForecastService.GetForecastAsync(DateTime.Now); - } -} diff --git a/chart/label-template/Shared/NavMenu.razor b/chart/label-template/Shared/NavMenu.razor index 6bf6516d..2c96f0c9 100644 --- a/chart/label-template/Shared/NavMenu.razor +++ b/chart/label-template/Shared/NavMenu.razor @@ -12,16 +12,6 @@ Home - - diff --git a/chart/label-template/Startup.cs b/chart/label-template/Startup.cs index 3815e7dd..b531e033 100644 --- a/chart/label-template/Startup.cs +++ b/chart/label-template/Startup.cs @@ -1,15 +1,8 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Components; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -using FormatLabel.Data; namespace FormatLabel { @@ -29,7 +22,6 @@ public void ConfigureServices(IServiceCollection services) services.AddRazorPages(); services.AddServerSideBlazor(); services.AddTelerikBlazor(); - services.AddSingleton(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. From 8fb60e64a6e1f9b74bb6e9cdfcca57aa149b1ad5 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:05:05 -0400 Subject: [PATCH 06/69] Update UI components to use SVG icons and .NET 8.0 - Changed `Counter.razor` to use SVG icons for `ConfirmButton`. - Updated `FetchData.razor` to replace string icons with SVG icons for various `GridCommandButton` components. - Modified `ConfirmButton.razor` to use `ISvgIcon` for the `Icon` parameter and added a using directive for `Telerik.SvgIcons`. - Updated `_Imports.razor` to include the `Telerik.SvgIcons` namespace. - Changed project target to .NET 8.0 and updated `Telerik.UI.for.Blazor` package reference. --- common/confirm-button/Pages/Counter.razor | 2 +- common/confirm-button/Pages/FetchData.razor | 12 ++++++------ common/confirm-button/Shared/ConfirmButton.razor | 3 ++- common/confirm-button/_Imports.razor | 3 ++- common/confirm-button/confirm_button.csproj | 8 +++++--- 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/common/confirm-button/Pages/Counter.razor b/common/confirm-button/Pages/Counter.razor index 27bebffa..4b7030a1 100644 --- a/common/confirm-button/Pages/Counter.razor +++ b/common/confirm-button/Pages/Counter.razor @@ -4,7 +4,7 @@

Current count: @currentCount

- + @code { int currentCount = 0; diff --git a/common/confirm-button/Pages/FetchData.razor b/common/confirm-button/Pages/FetchData.razor index 19df278d..813b8de2 100644 --- a/common/confirm-button/Pages/FetchData.razor +++ b/common/confirm-button/Pages/FetchData.razor @@ -19,21 +19,21 @@ ConfirmText="@( $"Are you sure you want to delete forecast {currItem.Id}?" )" ButtonText="Delete" ConfirmTitle="Please confirm!" - Icon="delete"/> + Icon="@SvgIcon.Trash"/> } - Update - Edit - Cancel + Update + Edit + Cancel @* Approach 2: overriding the built-in Delete command functionality *@ - Delete + Delete - Add Forecast + Add Forecast diff --git a/common/confirm-button/Shared/ConfirmButton.razor b/common/confirm-button/Shared/ConfirmButton.razor index ebd63f48..477aaeac 100644 --- a/common/confirm-button/Shared/ConfirmButton.razor +++ b/common/confirm-button/Shared/ConfirmButton.razor @@ -1,4 +1,5 @@  +@using Telerik.SvgIcons @ButtonText @@ -13,7 +14,7 @@ [Parameter] public string ButtonText { get; set; } [Parameter] public string ConfirmTitle { get; set; } [Parameter] public string ConfirmText { get; set; } - [Parameter] public string Icon { get; set; } + [Parameter] public ISvgIcon Icon { get; set; } = SvgIcon.QuestionCircle; [Parameter] public EventCallback OnClick { get; set; } bool WindowVisible { get; set; } async void RaiseConfirm() diff --git a/common/confirm-button/_Imports.razor b/common/confirm-button/_Imports.razor index a1f4ce77..ac40b5ff 100644 --- a/common/confirm-button/_Imports.razor +++ b/common/confirm-button/_Imports.razor @@ -8,4 +8,5 @@ @using confirm_button @using confirm_button.Shared @using Telerik.Blazor -@using Telerik.Blazor.Components \ No newline at end of file +@using Telerik.Blazor.Components +@using Telerik.SvgIcons \ No newline at end of file diff --git a/common/confirm-button/confirm_button.csproj b/common/confirm-button/confirm_button.csproj index 65135902..8f122895 100644 --- a/common/confirm-button/confirm_button.csproj +++ b/common/confirm-button/confirm_button.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + From c56371c7e0731929e612110486ce6dc98c0dd658 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:17:41 -0400 Subject: [PATCH 07/69] This commit removes the project for maintenance. Additionally, the README.md has been updated to reflect the temporary removal of the project due to reliance on an older version of Angular. The project will be re-added when a new demo is available. --- .../ClientApp/.browserslistrc | 17 -- .../ClientApp/.editorconfig | 16 -- .../ClientApp/.gitignore | 46 ---- .../ClientApp/README.md | 27 --- .../ClientApp/angular.json | 124 ---------- .../ClientApp/e2e/protractor.conf.js | 37 --- .../ClientApp/e2e/src/app.e2e-spec.ts | 23 -- .../ClientApp/e2e/src/app.po.ts | 11 - .../ClientApp/e2e/tsconfig.json | 13 - .../ClientApp/karma.conf.js | 44 ---- .../ClientApp/package.json | 62 ----- .../ClientApp/src/app/app.component.css | 0 .../ClientApp/src/app/app.component.html | 10 - .../ClientApp/src/app/app.component.ts | 43 ---- .../ClientApp/src/app/app.module.ts | 23 -- .../src/app/weather-forecast.service.ts | 21 -- .../ClientApp/src/assets/.gitkeep | 0 .../src/environments/environment.prod.ts | 3 - .../ClientApp/src/environments/environment.ts | 16 -- .../ClientApp/src/favicon.ico | Bin 948 -> 0 bytes .../ClientApp/src/index.html | 14 -- .../ClientApp/src/main.ts | 12 - .../ClientApp/src/polyfills.ts | 69 ------ .../ClientApp/src/styles.css | 1 - .../ClientApp/src/test.ts | 25 -- .../ClientApp/tsconfig.app.json | 15 -- .../ClientApp/tsconfig.json | 23 -- .../ClientApp/tsconfig.spec.json | 18 -- .../ClientApp/tslint.json | 152 ------------ .../ServerApp/.gitignore | 227 ------------------ .../ServerApp/WebApplication.sln | 25 -- .../Controllers/WeatherForecastController.cs | 36 --- .../DataSource/DataSourceRequestBinder.cs | 55 ----- .../DataSourceRequestBinderProvider.cs | 25 -- .../DataSource/GridDescriptorSerializer.cs | 36 --- .../DataSource/GridUrlParameters.cs | 61 ----- .../ServerApp/WebApplication/Program.cs | 26 -- .../Properties/launchSettings.json | 14 -- .../ServerApp/WebApplication/Startup.cs | 63 ----- .../WebApplication/WeatherForecast.cs | 12 - .../WebApplication/WebApplication.csproj | 12 - .../appsettings.Development.json | 9 - .../ServerApp/WebApplication/appsettings.json | 10 - .../readme.md | 23 +- 44 files changed, 3 insertions(+), 1496 deletions(-) delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.browserslistrc delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.editorconfig delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.gitignore delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/README.md delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/angular.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/protractor.conf.js delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.e2e-spec.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.po.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/tsconfig.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/karma.conf.js delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/package.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.css delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.html delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.module.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/weather-forecast.service.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/assets/.gitkeep delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.prod.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/favicon.ico delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/index.html delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/main.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/polyfills.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/styles.css delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/test.ts delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.app.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.spec.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tslint.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/.gitignore delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication.sln delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Controllers/WeatherForecastController.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinder.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinderProvider.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridDescriptorSerializer.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridUrlParameters.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Program.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Properties/launchSettings.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Startup.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WeatherForecast.cs delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WebApplication.csproj delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.Development.json delete mode 100644 common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.json diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.browserslistrc b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.browserslistrc deleted file mode 100644 index 427441dc..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.browserslistrc +++ /dev/null @@ -1,17 +0,0 @@ -# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. -# For additional information regarding the format and rule options, please see: -# https://github.com/browserslist/browserslist#queries - -# For the full list of supported browsers by the Angular framework, please see: -# https://angular.io/guide/browser-support - -# You can see what browsers were selected by your queries by running: -# npx browserslist - -last 1 Chrome version -last 1 Firefox version -last 2 Edge major versions -last 2 Safari major versions -last 2 iOS major versions -Firefox ESR -not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.editorconfig b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.editorconfig deleted file mode 100644 index 59d9a3a3..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -# Editor configuration, see https://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.ts] -quote_type = single - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.gitignore b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.gitignore deleted file mode 100644 index 86d943a9..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/.gitignore +++ /dev/null @@ -1,46 +0,0 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output -/dist -/tmp -/out-tsc -# Only exists if Bazel was run -/bazel-out - -# dependencies -/node_modules - -# profiling files -chrome-profiler-events*.json -speed-measure-plugin*.json - -# IDEs and editors -/.idea -.project -.classpath -.c9/ -*.launch -.settings/ -*.sublime-workspace - -# IDE - VSCode -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -.history/* - -# misc -/.sass-cache -/connect.lock -/coverage -/libpeerconnection.log -npm-debug.log -yarn-error.log -testem.log -/typings - -# System Files -.DS_Store -Thumbs.db diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/README.md b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/README.md deleted file mode 100644 index 1a3fdcf3..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# ClientApp - -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.1.1. - -## Development server - -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. - -## Code scaffolding - -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. - -## Build - -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. - -## Running unit tests - -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). - -## Running end-to-end tests - -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/angular.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/angular.json deleted file mode 100644 index 196097db..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/angular.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "ClientApp": { - "projectType": "application", - "schematics": {}, - "root": "", - "sourceRoot": "src", - "prefix": "app", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:browser", - "options": { - "outputPath": "dist/ClientApp", - "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", - "tsConfig": "tsconfig.app.json", - "aot": true, - "assets": [ - "src/favicon.ico", - "src/assets" - ], - "styles": [ - "src/styles.css" - ], - "scripts": [] - }, - "configurations": { - "production": { - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, - "budgets": [ - { - "type": "initial", - "maximumWarning": "2mb", - "maximumError": "5mb" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "6kb", - "maximumError": "10kb" - } - ] - } - } - }, - "serve": { - "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "browserTarget": "ClientApp:build" - }, - "configurations": { - "production": { - "browserTarget": "ClientApp:build:production" - } - } - }, - "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", - "options": { - "browserTarget": "ClientApp:build" - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "src/test.ts", - "polyfills": "src/polyfills.ts", - "tsConfig": "tsconfig.spec.json", - "karmaConfig": "karma.conf.js", - "assets": [ - "src/favicon.ico", - "src/assets" - ], - "styles": [ - "src/styles.css" - ], - "scripts": [] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "tsconfig.app.json", - "tsconfig.spec.json", - "e2e/tsconfig.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } - }, - "e2e": { - "builder": "@angular-devkit/build-angular:protractor", - "options": { - "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "ClientApp:serve" - }, - "configurations": { - "production": { - "devServerTarget": "ClientApp:serve:production" - } - } - } - } - } - }, - "defaultProject": "ClientApp" -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/protractor.conf.js b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/protractor.conf.js deleted file mode 100644 index 361e7f0c..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/protractor.conf.js +++ /dev/null @@ -1,37 +0,0 @@ -// @ts-check -// Protractor configuration file, see link for more information -// https://github.com/angular/protractor/blob/master/lib/config.ts - -const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); - -/** - * @type { import("protractor").Config } - */ -exports.config = { - allScriptsTimeout: 11000, - specs: [ - './src/**/*.e2e-spec.ts' - ], - capabilities: { - browserName: 'chrome' - }, - directConnect: true, - SELENIUM_PROMISE_MANAGER: false, - baseUrl: 'http://localhost:4200/', - framework: 'jasmine', - jasmineNodeOpts: { - showColors: true, - defaultTimeoutInterval: 30000, - print: function() {} - }, - onPrepare() { - require('ts-node').register({ - project: require('path').join(__dirname, './tsconfig.json') - }); - jasmine.getEnv().addReporter(new SpecReporter({ - spec: { - displayStacktrace: StacktraceOption.PRETTY - } - })); - } -}; \ No newline at end of file diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.e2e-spec.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.e2e-spec.ts deleted file mode 100644 index 8ab2ca7c..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.e2e-spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { browser, logging } from 'protractor'; -import { AppPage } from './app.po'; - -describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should display welcome message', async () => { - await page.navigateTo(); - expect(await page.getTitleText()).toEqual('ClientApp app is running!'); - }); - - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - } as logging.Entry)); - }); -}); diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.po.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.po.ts deleted file mode 100644 index c9c85ab9..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/src/app.po.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { browser, by, element } from 'protractor'; - -export class AppPage { - async navigateTo(): Promise { - return browser.get(browser.baseUrl); - } - - async getTitleText(): Promise { - return element(by.css('app-root .content span')).getText(); - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/tsconfig.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/tsconfig.json deleted file mode 100644 index 0782539c..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/e2e/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/e2e", - "module": "commonjs", - "target": "es2018", - "types": [ - "jasmine", - "node" - ] - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/karma.conf.js b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/karma.conf.js deleted file mode 100644 index a0e620bc..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/karma.conf.js +++ /dev/null @@ -1,44 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = function (config) { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - jasmine: { - // you can add configuration options for Jasmine here - // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html - // for example, you can disable the random execution with `random: false` - // or set a specific seed with `seed: 4321` - }, - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - jasmineHtmlReporter: { - suppressAll: true // removes the duplicated traces - }, - coverageReporter: { - dir: require('path').join(__dirname, './coverage/ClientApp'), - subdir: '.', - reporters: [ - { type: 'html' }, - { type: 'text-summary' } - ] - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - restartOnFileChange: true - }); -}; diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/package.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/package.json deleted file mode 100644 index ad39a644..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "client-app", - "version": "0.0.0", - "scripts": { - "ng": "ng", - "start": "ng serve", - "build": "ng build", - "test": "ng test", - "lint": "ng lint", - "e2e": "ng e2e" - }, - "private": true, - "dependencies": { - "@angular/animations": "~11.1.0", - "@angular/common": "~11.1.0", - "@angular/compiler": "~11.1.0", - "@angular/core": "~11.1.0", - "@angular/forms": "~11.1.0", - "@angular/platform-browser": "~11.1.0", - "@angular/platform-browser-dynamic": "~11.1.0", - "@angular/router": "~11.1.0", - "@progress/kendo-angular-grid": "5.0.1", - "@progress/kendo-data-query": "1.5.4", - "@progress/kendo-angular-buttons": "6.1.0", - "@progress/kendo-angular-common": "2.0.0", - "@progress/kendo-angular-dateinputs": "5.1.0", - "@progress/kendo-angular-dropdowns": "5.1.0", - "@progress/kendo-angular-treeview": "5.1.0", - "@progress/kendo-angular-excel-export": "4.0.0", - "@progress/kendo-angular-inputs": "7.1.0", - "@progress/kendo-angular-intl": "3.1.0", - "@progress/kendo-angular-l10n": "3.0.0", - "@progress/kendo-angular-label": "3.0.0", - "@progress/kendo-angular-pdf-export": "3.0.0", - "@progress/kendo-angular-popup": "4.0.0", - "@progress/kendo-drawing": "1.13.7", - "@progress/kendo-licensing": "1.1.3", - "rxjs": "~6.6.0", - "tslib": "^2.0.0", - "zone.js": "~0.11.3" - }, - "devDependencies": { - "@angular-devkit/build-angular": "~0.1101.1", - "@angular/cli": "~11.1.1", - "@angular/compiler-cli": "~11.1.0", - "@angular/localize": "^11.1.0", - "@types/jasmine": "~3.6.0", - "@types/node": "^12.11.1", - "codelyzer": "^6.0.0", - "jasmine-core": "~3.6.0", - "jasmine-spec-reporter": "~5.0.0", - "karma": "~5.2.0", - "karma-chrome-launcher": "~3.1.0", - "karma-coverage": "~2.0.3", - "karma-jasmine": "~4.0.0", - "karma-jasmine-html-reporter": "^1.5.0", - "protractor": "~7.0.0", - "ts-node": "~8.3.0", - "tslint": "~6.1.0", - "typescript": "~4.1.2" - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.css b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.css deleted file mode 100644 index e69de29b..00000000 diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.html b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.html deleted file mode 100644 index 28c8e4bb..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.html +++ /dev/null @@ -1,10 +0,0 @@ -
- - - - - - -
diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.ts deleted file mode 100644 index b46fd016..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.component.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Component, OnInit } from '@angular/core'; -import { DataStateChangeEvent, GridDataResult } from '@progress/kendo-angular-grid'; - -import { State } from '@progress/kendo-data-query'; -import { WeatherForecastService } from './weather-forecast.service'; - -@Component({ - selector: 'app-root', - templateUrl: './app.component.html', - styleUrls: ['./app.component.css'] -}) -export class AppComponent implements OnInit{ - public gridLoading = false; - public state: State = { - skip: 0, - take: 300, - sort: [{ - field: 'date', - dir: 'desc' - }] - }; - public weatherForecasts: GridDataResult; - - constructor(private weatherForecastService: WeatherForecastService) { } - - public ngOnInit(): void { - this.gridLoading = true; - this.weatherForecastService.list(this.state).subscribe(result => { - this.weatherForecasts = result; - this.gridLoading = false; - }); - } - - public dataStateChange(state: DataStateChangeEvent): void { - this.gridLoading = true; - this.state = state; - this.weatherForecastService.list(this.state).subscribe(result => { - this.weatherForecasts = result; - this.gridLoading = false; - }); - } - -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.module.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.module.ts deleted file mode 100644 index 7e544dee..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/app.module.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { HttpClientModule } from '@angular/common/http'; -import { NgModule } from '@angular/core'; -import { BrowserModule } from '@angular/platform-browser'; -import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; - -import { GridModule } from '@progress/kendo-angular-grid'; - -import { AppComponent } from './app.component'; - -@NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule, - BrowserAnimationsModule, - HttpClientModule, - GridModule - ], - providers: [], - bootstrap: [AppComponent] -}) -export class AppModule { } diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/weather-forecast.service.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/weather-forecast.service.ts deleted file mode 100644 index 0e6d5ffc..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/app/weather-forecast.service.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Observable } from 'rxjs'; - -import { Injectable } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; - -import { DataResult, DataSourceRequestState, toDataSourceRequestString } from '@progress/kendo-data-query'; - -@Injectable({ - providedIn: 'root' -}) -export class WeatherForecastService { - private BASE_URL = 'api'; - - constructor(private httpClient: HttpClient) { } - - public list(state: DataSourceRequestState): Observable { - const queryStr = toDataSourceRequestString(state); - return this.httpClient.get(`${this.BASE_URL}/weatherforecast?${queryStr}`); - } - -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/assets/.gitkeep b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/assets/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.prod.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.prod.ts deleted file mode 100644 index 3612073b..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.prod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const environment = { - production: true -}; diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.ts deleted file mode 100644 index 7b4f817a..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/environments/environment.ts +++ /dev/null @@ -1,16 +0,0 @@ -// This file can be replaced during build by using the `fileReplacements` array. -// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. -// The list of file replacements can be found in `angular.json`. - -export const environment = { - production: false -}; - -/* - * For easier debugging in development mode, you can import the following file - * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. - * - * This import should be commented out in production mode because it will have a negative impact - * on performance if an error is thrown. - */ -// import 'zone.js/dist/zone-error'; // Included with Angular CLI. diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/favicon.ico b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/favicon.ico deleted file mode 100644 index 997406ad22c29aae95893fb3d666c30258a09537..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000 - - - - ClientApp - - - - - - - - - diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/main.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/main.ts deleted file mode 100644 index c7b673cf..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { enableProdMode } from '@angular/core'; -import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; - -import { AppModule } from './app/app.module'; -import { environment } from './environments/environment'; - -if (environment.production) { - enableProdMode(); -} - -platformBrowserDynamic().bootstrapModule(AppModule) - .catch(err => console.error(err)); diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/polyfills.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/polyfills.ts deleted file mode 100644 index 5366a935..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/polyfills.ts +++ /dev/null @@ -1,69 +0,0 @@ -/*************************************************************************************************** - * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. - */ -import '@angular/localize/init'; -/** - * This file includes polyfills needed by Angular and is loaded before the app. - * You can add your own extra polyfills to this file. - * - * This file is divided into 2 sections: - * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. - * 2. Application imports. Files imported after ZoneJS that should be loaded before your main - * file. - * - * The current setup is for so-called "evergreen" browsers; the last versions of browsers that - * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), - * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. - * - * Learn more in https://angular.io/guide/browser-support - */ - -/*************************************************************************************************** - * BROWSER POLYFILLS - */ - -/** - * IE11 requires the following for NgClass support on SVG elements - */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - */ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. - -/** - * By default, zone.js will patch all possible macroTask and DomEvents - * user can disable parts of macroTask/DomEvents patch by setting following flags - * because those flags need to be set before `zone.js` being loaded, and webpack - * will put import in the top of bundle, so user need to create a separate file - * in this directory (for example: zone-flags.ts), and put the following flags - * into that file, and then add the following code before importing zone.js. - * import './zone-flags'; - * - * The flags allowed in zone-flags.ts are listed here. - * - * The following flags will work for all browsers. - * - * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame - * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick - * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames - * - * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js - * with the following flag, it will bypass `zone.js` patch for IE/Edge - * - * (window as any).__Zone_enable_cross_context_check = true; - * - */ - -/*************************************************************************************************** - * Zone JS is required by default for Angular itself. - */ -import 'zone.js/dist/zone'; // Included with Angular CLI. - - -/*************************************************************************************************** - * APPLICATION IMPORTS - */ diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/styles.css b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/styles.css deleted file mode 100644 index 90d4ee00..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/styles.css +++ /dev/null @@ -1 +0,0 @@ -/* You can add global styles to this file, and also import other style files */ diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/test.ts b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/test.ts deleted file mode 100644 index 50193eb0..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/test.ts +++ /dev/null @@ -1,25 +0,0 @@ -// This file is required by karma.conf.js and loads recursively all the .spec and framework files - -import 'zone.js/dist/zone-testing'; -import { getTestBed } from '@angular/core/testing'; -import { - BrowserDynamicTestingModule, - platformBrowserDynamicTesting -} from '@angular/platform-browser-dynamic/testing'; - -declare const require: { - context(path: string, deep?: boolean, filter?: RegExp): { - keys(): string[]; - (id: string): T; - }; -}; - -// First, initialize the Angular testing environment. -getTestBed().initTestEnvironment( - BrowserDynamicTestingModule, - platformBrowserDynamicTesting() -); -// Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.app.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.app.json deleted file mode 100644 index 82d91dc4..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.app.json +++ /dev/null @@ -1,15 +0,0 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./out-tsc/app", - "types": [] - }, - "files": [ - "src/main.ts", - "src/polyfills.ts" - ], - "include": [ - "src/**/*.d.ts" - ] -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.json deleted file mode 100644 index 4a4dc628..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ - "compileOnSave": false, - "compilerOptions": { - "baseUrl": "./", - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "downlevelIteration": true, - "experimentalDecorators": true, - "moduleResolution": "node", - "importHelpers": true, - "target": "es2015", - "module": "es2020", - "lib": [ - "es2018", - "dom" - ] - }, - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.spec.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.spec.json deleted file mode 100644 index 092345b0..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tsconfig.spec.json +++ /dev/null @@ -1,18 +0,0 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./out-tsc/spec", - "types": [ - "jasmine" - ] - }, - "files": [ - "src/test.ts", - "src/polyfills.ts" - ], - "include": [ - "src/**/*.spec.ts", - "src/**/*.d.ts" - ] -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tslint.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tslint.json deleted file mode 100644 index 277c8eba..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/tslint.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "extends": "tslint:recommended", - "rulesDirectory": [ - "codelyzer" - ], - "rules": { - "align": { - "options": [ - "parameters", - "statements" - ] - }, - "array-type": false, - "arrow-return-shorthand": true, - "curly": true, - "deprecation": { - "severity": "warning" - }, - "eofline": true, - "import-blacklist": [ - true, - "rxjs/Rx" - ], - "import-spacing": true, - "indent": { - "options": [ - "spaces" - ] - }, - "max-classes-per-file": false, - "max-line-length": [ - true, - 140 - ], - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-empty": false, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-non-null-assertion": true, - "no-redundant-jsdoc": true, - "no-switch-case-fall-through": true, - "no-var-requires": false, - "object-literal-key-quotes": [ - true, - "as-needed" - ], - "quotemark": [ - true, - "single" - ], - "semicolon": { - "options": [ - "always" - ] - }, - "space-before-function-paren": { - "options": { - "anonymous": "never", - "asyncArrow": "always", - "constructor": "never", - "method": "never", - "named": "never" - } - }, - "typedef": [ - true, - "call-signature" - ], - "typedef-whitespace": { - "options": [ - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - }, - { - "call-signature": "onespace", - "index-signature": "onespace", - "parameter": "onespace", - "property-declaration": "onespace", - "variable-declaration": "onespace" - } - ] - }, - "variable-name": { - "options": [ - "ban-keywords", - "check-format", - "allow-pascal-case" - ] - }, - "whitespace": { - "options": [ - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type", - "check-typecast" - ] - }, - "component-class-suffix": true, - "contextual-lifecycle": true, - "directive-class-suffix": true, - "no-conflicting-lifecycle": true, - "no-host-metadata-property": true, - "no-input-rename": true, - "no-inputs-metadata-property": true, - "no-output-native": true, - "no-output-on-prefix": true, - "no-output-rename": true, - "no-outputs-metadata-property": true, - "template-banana-in-box": true, - "template-no-negated-async": true, - "use-lifecycle-interface": true, - "use-pipe-transform-interface": true, - "directive-selector": [ - true, - "attribute", - "app", - "camelCase" - ], - "component-selector": [ - true, - "element", - "app", - "kebab-case" - ] - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/.gitignore b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/.gitignore deleted file mode 100644 index 74c7c855..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/.gitignore +++ /dev/null @@ -1,227 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -bin/ -Bin/ -obj/ -Obj/ - -# Visual Studio 2015 cache/options directory -.vs/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Microsoft Azure ApplicationInsights config file -ApplicationInsights.config - -# Windows Store app package directory -AppPackages/ -BundleArtifacts/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -orleans.codegen.cs - -/node_modules - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe - -# FAKE - F# Make -.fake/ \ No newline at end of file diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication.sln b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication.sln deleted file mode 100644 index da2b4b2a..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30907.101 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication", "WebApplication\WebApplication.csproj", "{AFD57DC0-B2C9-454C-9585-2988EDC7D994}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AFD57DC0-B2C9-454C-9585-2988EDC7D994}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AFD57DC0-B2C9-454C-9585-2988EDC7D994}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AFD57DC0-B2C9-454C-9585-2988EDC7D994}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AFD57DC0-B2C9-454C-9585-2988EDC7D994}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {8D0E291D-440B-4D37-9DF4-E959FDD313BE} - EndGlobalSection -EndGlobal diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Controllers/WeatherForecastController.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Controllers/WeatherForecastController.cs deleted file mode 100644 index fa0ec522..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Controllers/WeatherForecastController.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using Telerik.DataSource; -using Telerik.DataSource.Extensions; - -namespace WebApplication.Controllers -{ - [ApiController] - [Route("api/weatherforecast")] - public class WeatherForecastController : ControllerBase - { - private readonly ILogger _logger; - - public WeatherForecastController(ILogger logger) - { - _logger = logger; - } - - //DataSourceRequest is correctly binded usind DataSourceRequestBinder (configured during startup phase) - - [HttpGet] - public DataSourceResult Get(DataSourceRequest request) - { - // High records number to simulate pagination from data source extension - return Enumerable.Range(1, 1000).Select(index => new WeatherForecast - { - Date = DateTime.Now.Date.AddDays(index), - Temp = index, - }) - .ToDataSourceResult(request); - } - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinder.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinder.cs deleted file mode 100644 index 065e1f33..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinder.cs +++ /dev/null @@ -1,55 +0,0 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding; -using System; -using System.Threading.Tasks; -using Telerik.DataSource; - -namespace Loccioni.DataSource -{ - public class DataSourceRequestBinder : IModelBinder - { - public Task BindModelAsync(ModelBindingContext bindingContext) - { - if (bindingContext == null) - { - throw new ArgumentNullException(nameof(bindingContext)); - } - - DataSourceRequest request = new DataSourceRequest(); - - var pageValueProviderResult = bindingContext.ValueProvider.GetValue(GridUrlParameters.Page); - if (pageValueProviderResult != ValueProviderResult.None) - { - if (int.TryParse(pageValueProviderResult.FirstValue, out var page)) - { - request.Page = page; - } - } - - var pageSizeValueProviderResult = bindingContext.ValueProvider.GetValue(GridUrlParameters.PageSize); - if (pageSizeValueProviderResult != ValueProviderResult.None) - { - if (int.TryParse(pageSizeValueProviderResult.FirstValue, out var pageSize)) - { - request.PageSize = pageSize; - } - } - - var sortValueProviderResult = bindingContext.ValueProvider.GetValue(GridUrlParameters.Sort); - if (sortValueProviderResult != ValueProviderResult.None) - { - request.Sorts = GridDescriptorSerializer.Deserialize(sortValueProviderResult.FirstValue); - } - - var filterValueProviderResult = bindingContext.ValueProvider.GetValue(GridUrlParameters.Filter); - if (filterValueProviderResult != ValueProviderResult.None) - { - request.Filters = FilterDescriptorFactory.Create(filterValueProviderResult.FirstValue); - } - - bindingContext.Result = ModelBindingResult.Success(request); - - return Task.CompletedTask; - } - } - -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinderProvider.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinderProvider.cs deleted file mode 100644 index 6004f4e5..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/DataSourceRequestBinderProvider.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding; -using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; -using System; -using Telerik.DataSource; - -namespace Loccioni.DataSource -{ - public class DataSourceRequestBinderProvider : IModelBinderProvider - { - public IModelBinder GetBinder(ModelBinderProviderContext context) - { - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - - if (context.Metadata.ModelType == typeof(DataSourceRequest)) - { - return new BinderTypeModelBinder(typeof(DataSourceRequestBinder)); - } - - return null; - } - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridDescriptorSerializer.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridDescriptorSerializer.cs deleted file mode 100644 index ecfaaad1..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridDescriptorSerializer.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using Telerik.DataSource; -using Telerik.DataSource.Extensions; - -namespace Loccioni.DataSource -{ - public class GridDescriptorSerializer - { - private const string ColumnDelimiter = "~"; - - public static IList Deserialize(string from) where T : IDescriptor, new() - { - var result = new List(); - - if (!from.HasValue()) - { - return result; - } - - var components = from.Split(ColumnDelimiter.ToCharArray(), StringSplitOptions.RemoveEmptyEntries); - - foreach (string component in components) - { - var descriptor = new T(); - - descriptor.Deserialize(component); - - result.Add(descriptor); - } - - return result; - } - } - -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridUrlParameters.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridUrlParameters.cs deleted file mode 100644 index 1f49a55f..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/DataSource/GridUrlParameters.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Loccioni.DataSource -{ - public static class GridUrlParameters - { - public static string Aggregates - { - get; - set; - } - - public static string Filter { get; set; } - public static string Page { get; set; } - public static string PageSize { get; set; } - public static string Sort { get; set; } - public static string Group { get; set; } - public static string Mode { get; set; } - public static string GroupPaging { get; set; } - public static string IncludeSubGroupCount { get; set; } - public static string Skip { get; set; } - public static string Take { get; set; } - - static GridUrlParameters() - { - Sort = "sort"; - Group = "group"; - Page = "page"; - PageSize = "pageSize"; - Filter = "filter"; - Mode = "mode"; - Aggregates = "aggregate"; - GroupPaging = "groupPaging"; - Skip = "skip"; - Take = "take"; - IncludeSubGroupCount = "includeSubGroupCount"; - } - - public static IDictionary ToDictionary(string prefix) - { - IDictionary result = new Dictionary(); - - result[Group] = prefix + Group; - result[Sort] = prefix + Sort; - result[Page] = prefix + Page; - result[PageSize] = prefix + PageSize; - result[Filter] = prefix + Filter; - result[Mode] = prefix + Mode; - result[GroupPaging] = prefix + GroupPaging; - result[Skip] = prefix + Skip; - result[Take] = prefix + Take; - result[IncludeSubGroupCount] = prefix + IncludeSubGroupCount; - - return result; - } - } - -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Program.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Program.cs deleted file mode 100644 index 8956b28e..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace WebApplication -{ - public class Program - { - public static void Main(string[] args) - { - CreateHostBuilder(args).Build().Run(); - } - - public static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }); - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Properties/launchSettings.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Properties/launchSettings.json deleted file mode 100644 index 8e240144..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Properties/launchSettings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/launchsettings.json", - "profiles": { - "WebApplication": { - "commandName": "Project", - "dotnetRunMessages": "true", - "launchBrowser": true, - "applicationUrl": "http://localhost:5000", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Startup.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Startup.cs deleted file mode 100644 index e0174c67..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/Startup.cs +++ /dev/null @@ -1,63 +0,0 @@ -using Loccioni.DataSource; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace WebApplication -{ - public class Startup - { - public Startup(IConfiguration configuration) - { - Configuration = configuration; - } - - public IConfiguration Configuration { get; } - - // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) - { - services.AddControllers(options => - { - // Just register correct data binder provider for DataSourceRequest - options.ModelBinderProviders.Insert(0, new DataSourceRequestBinderProvider()); - }); - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IWebHostEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - - app.UseRouting(); - - app.UseAuthorization(); - - app.UseEndpoints(endpoints => - { - endpoints.MapControllerRoute( - name: "default", - pattern: "{controller}/{action=Index}/{id?}"); - }); - - app.UseSpa(spa => - { - if (env.IsDevelopment()) - { - spa.UseProxyToSpaDevelopmentServer("http://localhost:4200"); - } - }); - } - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WeatherForecast.cs b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WeatherForecast.cs deleted file mode 100644 index 0e13cb40..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WeatherForecast.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace WebApplication -{ - public class WeatherForecast - { - public DateTime Date { get; set; } - - public int Temp { get; set; } - - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WebApplication.csproj b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WebApplication.csproj deleted file mode 100644 index 15f0ea35..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/WebApplication.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - net5.0 - - - - - - - - diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.Development.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.Development.json deleted file mode 100644 index 8983e0fc..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.json b/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.json deleted file mode 100644 index d9d9a9bf..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ServerApp/WebApplication/appsettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "AllowedHosts": "*" -} diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/readme.md b/common/dataresourcerequest-from-angular-to-aspnetcore/readme.md index 56df2476..a99032d8 100644 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/readme.md +++ b/common/dataresourcerequest-from-angular-to-aspnetcore/readme.md @@ -1,21 +1,4 @@ -# Use Telerik DataSourceRequest from Kendo Grid on an Angular project and DataSourceResult on the server +# TEMPORARY REMOVAL -These sample projects showcase how you can send Kendo Grid for Angular state to an asp.net core server, so you can retrieve and shape the data easily. - -The showcase consists of an angular part that uses the Kendo Grid and the API `toDataSourceRequestString` from `@progress/kendo-data-query` to serialize the state of the grid and use it as a query string for the call to the asp controller .net core. - -The server, composed of an asp.net core 5.0 application, implements a custom binder called `DataSourceRequestBinder` to be able to bind the query string generated by the client into a DataSourceRequest object. -The DataSourceRequest is then used to execute queries (pagination, sort, and filter) on a dynamically generated IEnumerable. - -PS: the `DataSourceRequestBinder` is not complete and some features may not be correctly deserialized (ex: Groups and Aggregate). - -## Getting Started - -1. Install dependencies for client app (npm install) and server app (nuget restore) -2. Serve client app using `ng serve` -3. Start server app using visual studio -1. Open http://localhost:5000. - -## Credits - -These sample projects were created by Loccioni's web team. \ No newline at end of file +This project was removed from the repository because it relies on an older version of Angular. +It will be added back to the repo when a new demo is available. \ No newline at end of file From 557b9cdffd28cf9d8b46d1a6f607604e8c96aefb Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:30:37 -0400 Subject: [PATCH 08/69] Update projects to .NET 8 and improve dependencies - Updated target framework from `netcoreapp3.1` or `net6.0` to `net8.0` for all projects. - Removed specific version numbers from package references for better flexibility. - Added `PrivateAssets` and `IncludeAssets` attributes to `Grpc.Tools` references. - Reorganized `Protobuf` items in project files for clarity. - Updated `Icon` property syntax in `TestGrid.razor` for consistency. - Revised `readme.md` to include updated gRPC documentation links. - Enhanced overall structure and organization of project files for maintainability. --- .../basic/ConsoleApp1/ConsoleApp1.csproj | 23 ++++++--------- .../GrpcClientUsers/GrpcClientUsers.csproj | 14 ++++----- .../basic/GrpcInBlazor/GrpcInBlazor.csproj | 8 +++-- .../basic/GrpcUsers/GrpcUsers.csproj | 10 ++----- common/grpc-example/basic/readme.md | 10 +++---- .../gRPCsample/Client/Pages/TestGrid.razor | 10 +++---- .../Client/gRPCsample.Client.csproj | 29 +++++++------------ .../Server/gRPCsample.Server.csproj | 25 +++++++--------- .../Shared/gRPCsample.Shared.csproj | 17 ++++------- common/grpc-example/readme.md | 2 +- 10 files changed, 60 insertions(+), 88 deletions(-) diff --git a/common/grpc-example/basic/ConsoleApp1/ConsoleApp1.csproj b/common/grpc-example/basic/ConsoleApp1/ConsoleApp1.csproj index 6d87f636..1c8a76aa 100644 --- a/common/grpc-example/basic/ConsoleApp1/ConsoleApp1.csproj +++ b/common/grpc-example/basic/ConsoleApp1/ConsoleApp1.csproj @@ -1,26 +1,21 @@ - Exe - netcoreapp3.1 + net8.0 - - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - + + + + +
\ No newline at end of file diff --git a/common/grpc-example/basic/GrpcClientUsers/GrpcClientUsers.csproj b/common/grpc-example/basic/GrpcClientUsers/GrpcClientUsers.csproj index 00b43164..d38a4a92 100644 --- a/common/grpc-example/basic/GrpcClientUsers/GrpcClientUsers.csproj +++ b/common/grpc-example/basic/GrpcClientUsers/GrpcClientUsers.csproj @@ -1,22 +1,18 @@ - - netcoreapp3.1 + net8.0 - - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - Protos\user.proto - - +
\ No newline at end of file diff --git a/common/grpc-example/basic/GrpcInBlazor/GrpcInBlazor.csproj b/common/grpc-example/basic/GrpcInBlazor/GrpcInBlazor.csproj index 2b9f9c43..8ad5c251 100644 --- a/common/grpc-example/basic/GrpcInBlazor/GrpcInBlazor.csproj +++ b/common/grpc-example/basic/GrpcInBlazor/GrpcInBlazor.csproj @@ -1,12 +1,12 @@ - + - netcoreapp3.1 + net8.0 7.3 - + @@ -14,3 +14,5 @@ + + diff --git a/common/grpc-example/basic/GrpcUsers/GrpcUsers.csproj b/common/grpc-example/basic/GrpcUsers/GrpcUsers.csproj index d7cce415..5c74524b 100644 --- a/common/grpc-example/basic/GrpcUsers/GrpcUsers.csproj +++ b/common/grpc-example/basic/GrpcUsers/GrpcUsers.csproj @@ -1,16 +1,12 @@ - - netcoreapp3.1 + net8.0 - - - + - - + \ No newline at end of file diff --git a/common/grpc-example/basic/readme.md b/common/grpc-example/basic/readme.md index 4664d2b7..6e36b674 100644 --- a/common/grpc-example/basic/readme.md +++ b/common/grpc-example/basic/readme.md @@ -14,11 +14,11 @@ In summary - using gRPC in Blazor is not different from using it in any other ap Getting started with gRPC from MSDN: -* [Introduction to gRPC on .NET Core](https://docs.microsoft.com/en-us/aspnet/core/grpc/?view=aspnetcore-3.0) -* [Tutorial: Create a gRPC client and server in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-3.0&tabs=visual-studio) -* [gRPC services with C#](https://docs.microsoft.com/en-us/aspnet/core/grpc/basics?view=aspnetcore-3.0) -* [gRPC services with ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/grpc/aspnetcore?view=aspnetcore-3.0&tabs=visual-studio) -* [Call gRPC services with the .NET client](https://docs.microsoft.com/en-us/aspnet/core/grpc/client?view=aspnetcore-3.0) +* [Introduction to gRPC on .NET Core](https://docs.microsoft.com/en-us/aspnet/core/grpc/) +* [Tutorial: Create a gRPC client and server in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start&tabs=visual-studio) +* [gRPC services with C#](https://docs.microsoft.com/en-us/aspnet/core/grpc/basics) +* [gRPC services with ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/grpc/aspnetcore&tabs=visual-studio) +* [Call gRPC services with the .NET client](https://docs.microsoft.com/en-us/aspnet/core/grpc/client) >For WebAssembly applications, see ~this blog post dated 15 Jan 2020: [https://blog.stevensanderson.com/2020/01/15/2020-01-15-grpc-web-in-blazor-webassembly/](https://blog.stevensanderson.com/2020/01/15/2020-01-15-grpc-web-in-blazor-webassembly/). It is a starting point with some workarounds that will probably become part of the standard tooling.~ the following blog post that made `gRPC-web` official: [https://devblogs.microsoft.com/aspnet/grpc-web-for-net-now-available/](https://devblogs.microsoft.com/aspnet/grpc-web-for-net-now-available/) diff --git a/common/grpc-example/datasource-request-result/gRPCsample/Client/Pages/TestGrid.razor b/common/grpc-example/datasource-request-result/gRPCsample/Client/Pages/TestGrid.razor index 9a3cb163..6090121d 100644 --- a/common/grpc-example/datasource-request-result/gRPCsample/Client/Pages/TestGrid.razor +++ b/common/grpc-example/datasource-request-result/gRPCsample/Client/Pages/TestGrid.razor @@ -33,14 +33,14 @@ - - - - + + + + - Add Record + Add Record diff --git a/common/grpc-example/datasource-request-result/gRPCsample/Client/gRPCsample.Client.csproj b/common/grpc-example/datasource-request-result/gRPCsample/Client/gRPCsample.Client.csproj index 8755fc54..bd4cd098 100644 --- a/common/grpc-example/datasource-request-result/gRPCsample/Client/gRPCsample.Client.csproj +++ b/common/grpc-example/datasource-request-result/gRPCsample/Client/gRPCsample.Client.csproj @@ -1,39 +1,32 @@ - - + - net6.0 + net8.0 - - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + - - - <_ContentIncludedByDefault Remove="Shared\TelerikLayout.razor" /> - true - - + \ No newline at end of file diff --git a/common/grpc-example/datasource-request-result/gRPCsample/Server/gRPCsample.Server.csproj b/common/grpc-example/datasource-request-result/gRPCsample/Server/gRPCsample.Server.csproj index c55a1d41..97577b98 100644 --- a/common/grpc-example/datasource-request-result/gRPCsample/Server/gRPCsample.Server.csproj +++ b/common/grpc-example/datasource-request-result/gRPCsample/Server/gRPCsample.Server.csproj @@ -1,27 +1,22 @@ - - net6.0 + net8.0 - - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + - - - - +
\ No newline at end of file diff --git a/common/grpc-example/datasource-request-result/gRPCsample/Shared/gRPCsample.Shared.csproj b/common/grpc-example/datasource-request-result/gRPCsample/Shared/gRPCsample.Shared.csproj index 4167e397..642c00ad 100644 --- a/common/grpc-example/datasource-request-result/gRPCsample/Shared/gRPCsample.Shared.csproj +++ b/common/grpc-example/datasource-request-result/gRPCsample/Shared/gRPCsample.Shared.csproj @@ -1,27 +1,22 @@ - - net6.0 + net8.0 - - - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - - + \ No newline at end of file diff --git a/common/grpc-example/readme.md b/common/grpc-example/readme.md index 3d74ca92..5bedbdd9 100644 --- a/common/grpc-example/readme.md +++ b/common/grpc-example/readme.md @@ -1,6 +1,6 @@ # gRPC Services in Blazor -This folder contains two examples that show ways you can consume gRPC services in Blazor apps. If you are not familiar with gRPC, we recommend you start by reviewing the MSDN resources, for example from this article: https://docs.microsoft.com/en-us/aspnet/core/grpc/?view=aspnetcore-5.0 +This folder contains two examples that show ways you can consume gRPC services in Blazor apps. If you are not familiar with gRPC, we recommend you start by reviewing the MSDN resources, for example from this article: https://docs.microsoft.com/en-us/aspnet/core/grpc/ The two examples here are: From 7858b3305f4c1d3356ae3dc5da0c883c7c17d8c2 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 11:44:30 -0400 Subject: [PATCH 09/69] Partially runs in net8. Needs further attention. --- common/kendo-in-blazor/KendoInBlazor/KendoInBlazor.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/kendo-in-blazor/KendoInBlazor/KendoInBlazor.csproj b/common/kendo-in-blazor/KendoInBlazor/KendoInBlazor.csproj index f87aa09e..c7fcfc9b 100644 --- a/common/kendo-in-blazor/KendoInBlazor/KendoInBlazor.csproj +++ b/common/kendo-in-blazor/KendoInBlazor/KendoInBlazor.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From c98c22a5d5c7f186eba8f824ac7b8d8c20b61854 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 12:32:51 -0400 Subject: [PATCH 10/69] Updated additional dependencies to net8 --- Directory.Packages.props | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 6a3f4157..b24ceb8c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,9 +29,9 @@ - + - + @@ -52,7 +52,7 @@ - + @@ -63,9 +63,9 @@ - - - + + + From 65f5b937ab3b0c75e2b78fc2bc743d9c2c381070 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 12:33:21 -0400 Subject: [PATCH 11/69] Updated to net8 --- .../LazyLoadTelerikComponents.Client.csproj | 69 +++++++++---------- .../LazyLoadTelerikComponents.Server.csproj | 12 ++-- .../LazyLoadTelerikComponents.Shared.csproj | 8 ++- 3 files changed, 42 insertions(+), 47 deletions(-) diff --git a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Client/LazyLoadTelerikComponents.Client.csproj b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Client/LazyLoadTelerikComponents.Client.csproj index a74ec9b3..43631289 100644 --- a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Client/LazyLoadTelerikComponents.Client.csproj +++ b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Client/LazyLoadTelerikComponents.Client.csproj @@ -1,37 +1,34 @@  - - net7.0 - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + net8.0 + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Server/LazyLoadTelerikComponents.Server.csproj b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Server/LazyLoadTelerikComponents.Server.csproj index aff922fe..192d0475 100644 --- a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Server/LazyLoadTelerikComponents.Server.csproj +++ b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Server/LazyLoadTelerikComponents.Server.csproj @@ -1,16 +1,12 @@ - - + - net7.0 + net8.0 - - + - - - + \ No newline at end of file diff --git a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Shared/LazyLoadTelerikComponents.Shared.csproj b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Shared/LazyLoadTelerikComponents.Shared.csproj index 45856f30..2965b807 100644 --- a/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Shared/LazyLoadTelerikComponents.Shared.csproj +++ b/common/lazy-load-assemblies-wasm/LazyLoadTelerikComponents/Shared/LazyLoadTelerikComponents.Shared.csproj @@ -1,11 +1,11 @@ - + - net6.0 + net8.0 - + @@ -24,3 +24,5 @@ + + From 07064bb5d8ed1a79e2ab6ed87941ef7b7fddabbe Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 12:36:25 -0400 Subject: [PATCH 12/69] Update projects to target .NET 8.0 and clean up references - Updated project files for multiple Telerik Blazor applications to target .NET 8.0. - Removed version specifications for several package references to allow for the latest versions. - Reformatted the `ProjectExtensions` section for consistency. - Added a new using directive for `Telerik.SvgIcons` and introduced a `TelerikGrid` component in `Grid.razor`. - Updated `System.ComponentModel.Annotations` package reference in shared projects to remove version locking. --- .../TelerikBlazorServerAdmin.csproj | 8 ++++-- .../TelerikBlazorServerCRUD.csproj | 8 ++++-- .../TelerikBlazorServerDashboard.csproj | 8 ++++-- .../TelerikBlazorWASMAdmin.Client.csproj | 28 +++++++++---------- .../TelerikBlazorWASMAdmin.Shared.csproj | 5 ++-- .../TelerikBlazorWASMAdmin.Server.csproj | 11 +++----- .../Pages/Grid.razor | 2 ++ .../TelerikBlazorWASMCRUD.Client.csproj | 19 +++++++------ .../TelerikBlazorWASMCRUD.Shared.csproj | 12 +++----- .../TelerikBlazorWASMCRUD.Server.csproj | 10 +++---- .../TelerikBlazorWASMDashboard.Client.csproj | 19 +++++++------ .../TelerikBlazorWASMDashboard.Shared.csproj | 27 +++++++++--------- .../TelerikBlazorWASMDashboard.Server.csproj | 8 ++---- 13 files changed, 84 insertions(+), 81 deletions(-) diff --git a/common/legacy-project-templates/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin.csproj b/common/legacy-project-templates/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin.csproj index bfa784ea..1210091f 100644 --- a/common/legacy-project-templates/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin.csproj +++ b/common/legacy-project-templates/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin/TelerikBlazorServerAdmin.csproj @@ -1,12 +1,12 @@ - + - net6.0 + net8.0 enable enable - + @@ -26,3 +26,5 @@ + + diff --git a/common/legacy-project-templates/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD.csproj b/common/legacy-project-templates/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD.csproj index bfa784ea..1210091f 100644 --- a/common/legacy-project-templates/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD.csproj +++ b/common/legacy-project-templates/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD/TelerikBlazorServerCRUD.csproj @@ -1,12 +1,12 @@ - + - net6.0 + net8.0 enable enable - + @@ -26,3 +26,5 @@ + + diff --git a/common/legacy-project-templates/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard.csproj b/common/legacy-project-templates/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard.csproj index bfa784ea..1210091f 100644 --- a/common/legacy-project-templates/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard.csproj +++ b/common/legacy-project-templates/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard/TelerikBlazorServerDashboard.csproj @@ -1,12 +1,12 @@ - + - net6.0 + net8.0 enable enable - + @@ -26,3 +26,5 @@ + + diff --git a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Client/TelerikBlazorWASMAdmin.Client.csproj b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Client/TelerikBlazorWASMAdmin.Client.csproj index 6943d7d8..02acc542 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Client/TelerikBlazorWASMAdmin.Client.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Client/TelerikBlazorWASMAdmin.Client.csproj @@ -1,26 +1,26 @@ - - net6.0 + net8.0 enable enable - - - - - - + + + + + + - - - - + - - + + + + + + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Shared/TelerikBlazorWASMAdmin.Shared.csproj b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Shared/TelerikBlazorWASMAdmin.Shared.csproj index 270e2176..0bc700d6 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Shared/TelerikBlazorWASMAdmin.Shared.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Shared/TelerikBlazorWASMAdmin.Shared.csproj @@ -1,6 +1,6 @@ - + - net6.0 + net8.0 enable enable @@ -10,3 +10,4 @@ + diff --git a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Server.csproj b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Server.csproj index 91be9fb1..19381a84 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Server.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin/TelerikBlazorWASMAdmin.Server.csproj @@ -1,18 +1,15 @@ - - net6.0 + net8.0 enable enable - - - + + - - + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/Pages/Grid.razor b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/Pages/Grid.razor index 568d6efd..e274a6f2 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/Pages/Grid.razor +++ b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/Pages/Grid.razor @@ -21,6 +21,8 @@ + @using Telerik.SvgIcons + diff --git a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/TelerikBlazorWASMCRUD.Client.csproj b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/TelerikBlazorWASMCRUD.Client.csproj index daa9d54f..8df92561 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/TelerikBlazorWASMCRUD.Client.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Client/TelerikBlazorWASMCRUD.Client.csproj @@ -1,18 +1,21 @@ - - net6.0 + net8.0 enable enable - - - - + + + + - - + + + + + + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Shared/TelerikBlazorWASMCRUD.Shared.csproj b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Shared/TelerikBlazorWASMCRUD.Shared.csproj index ad03b989..85f889ab 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Shared/TelerikBlazorWASMCRUD.Shared.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Shared/TelerikBlazorWASMCRUD.Shared.csproj @@ -1,17 +1,13 @@ - + - net6.0 + net8.0 enable enable - - + - - - - + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Server.csproj b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Server.csproj index beccbdfb..9ba5622a 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Server.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD/TelerikBlazorWASMCRUD.Server.csproj @@ -1,16 +1,14 @@ - + - net6.0 + net8.0 enable enable - - + - - + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Client/TelerikBlazorWASMDashboard.Client.csproj b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Client/TelerikBlazorWASMDashboard.Client.csproj index f5cba096..2c7c54c0 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Client/TelerikBlazorWASMDashboard.Client.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Client/TelerikBlazorWASMDashboard.Client.csproj @@ -1,18 +1,21 @@ - - net6.0 + net8.0 enable enable - - - - + + + + - - + + + + + + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Shared/TelerikBlazorWASMDashboard.Shared.csproj b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Shared/TelerikBlazorWASMDashboard.Shared.csproj index a48545a7..85f889ab 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Shared/TelerikBlazorWASMDashboard.Shared.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Shared/TelerikBlazorWASMDashboard.Shared.csproj @@ -1,14 +1,13 @@ - - - net6.0 - enable - enable - - - - - - - - - + + + net8.0 + enable + enable + + + + + + + + \ No newline at end of file diff --git a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Server.csproj b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Server.csproj index 46177c81..d6556559 100644 --- a/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Server.csproj +++ b/common/legacy-project-templates/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard/TelerikBlazorWASMDashboard.Server.csproj @@ -1,14 +1,12 @@ - + - net6.0 + net8.0 enable enable - - + - From 4c3d744054ae176fb0de9841d3a80920e8681071 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 12:40:39 -0400 Subject: [PATCH 13/69] Refactor project files for flexible package versioning Removed specific version numbers from PackageReference entries in ClientLocalizationResx.csproj and ServerLocalizationResx.csproj to allow for the latest package versions. Cleaned up unnecessary lines for improved project file structure. --- .../ClientLocalizationResx.csproj | 13 +++++-------- .../ServerLocalizationResx.csproj | 3 ++- .../Controls/MessageBox/MessageBoxContainer.razor | 2 +- .../callback-event/MessageBoxControl.csproj | 8 +++++--- .../callback-event/Pages/FetchData.razor | 4 +++- .../dynamic-creation/Pages/FetchData.razor | 8 +++++--- .../dynamic-creation/Pages/ForecastEditView.razor | 2 +- .../message-box/dynamic-creation/Pages/Index.razor | 4 ---- .../dynamic-creation/PopupControl.csproj | 8 +++++--- .../dynamic-creation/Shared/NavMenu.razor | 5 ----- .../dynamic-creation/Shared/PopupLayout.razor | 5 +++-- 11 files changed, 30 insertions(+), 32 deletions(-) delete mode 100644 common/message-box/dynamic-creation/Pages/Index.razor diff --git a/common/localization/ClientLocalizationResx/ClientLocalizationResx.csproj b/common/localization/ClientLocalizationResx/ClientLocalizationResx.csproj index e2af9d24..feadd882 100644 --- a/common/localization/ClientLocalizationResx/ClientLocalizationResx.csproj +++ b/common/localization/ClientLocalizationResx/ClientLocalizationResx.csproj @@ -1,12 +1,10 @@ - net8.0 enable enable true - true @@ -14,12 +12,11 @@ true
- - - - + + + + - PublicResXFileCodeGenerator @@ -31,4 +28,4 @@ TelerikMessages.resx - + \ No newline at end of file diff --git a/common/localization/ServerLocalizationResx/ServerLocalizationResx.csproj b/common/localization/ServerLocalizationResx/ServerLocalizationResx.csproj index bc7f1a4e..8e0ba90d 100644 --- a/common/localization/ServerLocalizationResx/ServerLocalizationResx.csproj +++ b/common/localization/ServerLocalizationResx/ServerLocalizationResx.csproj @@ -9,7 +9,7 @@ - + @@ -23,3 +23,4 @@ + diff --git a/common/message-box/callback-event/Controls/MessageBox/MessageBoxContainer.razor b/common/message-box/callback-event/Controls/MessageBox/MessageBoxContainer.razor index 148b192f..a9e7cd80 100644 --- a/common/message-box/callback-event/Controls/MessageBox/MessageBoxContainer.razor +++ b/common/message-box/callback-event/Controls/MessageBox/MessageBoxContainer.razor @@ -1,7 +1,7 @@ @using Telerik.Blazor.Components @using MessageBoxControl.Controls.MessageBox - + @Title diff --git a/common/message-box/callback-event/MessageBoxControl.csproj b/common/message-box/callback-event/MessageBoxControl.csproj index e784e48f..8f122895 100644 --- a/common/message-box/callback-event/MessageBoxControl.csproj +++ b/common/message-box/callback-event/MessageBoxControl.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + diff --git a/common/message-box/callback-event/Pages/FetchData.razor b/common/message-box/callback-event/Pages/FetchData.razor index 99158b34..707f1bb9 100644 --- a/common/message-box/callback-event/Pages/FetchData.razor +++ b/common/message-box/callback-event/Pages/FetchData.razor @@ -6,6 +6,8 @@ @using MessageBoxControl.Controls.MessageBox @inject MessageBoxControl.Controls.MessageBox.MessageBoxService MessageBoxService +@using Telerik.SvgIcons + @@ -13,7 +15,7 @@ - + diff --git a/common/message-box/dynamic-creation/Pages/FetchData.razor b/common/message-box/dynamic-creation/Pages/FetchData.razor index 415632cf..49a13ee3 100644 --- a/common/message-box/dynamic-creation/Pages/FetchData.razor +++ b/common/message-box/dynamic-creation/Pages/FetchData.razor @@ -1,4 +1,6 @@ -@page "/fetchdata" +@page "/" +@page "/fetchdata" +@using Telerik.SvgIcons @using PopupControl.Data @using System.Collections.ObjectModel @using PopupControl.Controls.Popup @@ -13,8 +15,8 @@ - - + + diff --git a/common/message-box/dynamic-creation/Pages/ForecastEditView.razor b/common/message-box/dynamic-creation/Pages/ForecastEditView.razor index ea33b6fc..ea2ff8ef 100644 --- a/common/message-box/dynamic-creation/Pages/ForecastEditView.razor +++ b/common/message-box/dynamic-creation/Pages/ForecastEditView.razor @@ -18,7 +18,7 @@ Température (F) :
- Summary : + Summary :
diff --git a/common/message-box/dynamic-creation/Pages/Index.razor b/common/message-box/dynamic-creation/Pages/Index.razor deleted file mode 100644 index 1f643282..00000000 --- a/common/message-box/dynamic-creation/Pages/Index.razor +++ /dev/null @@ -1,4 +0,0 @@ -@page "/" - -@code { -} \ No newline at end of file diff --git a/common/message-box/dynamic-creation/PopupControl.csproj b/common/message-box/dynamic-creation/PopupControl.csproj index e784e48f..8f122895 100644 --- a/common/message-box/dynamic-creation/PopupControl.csproj +++ b/common/message-box/dynamic-creation/PopupControl.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + diff --git a/common/message-box/dynamic-creation/Shared/NavMenu.razor b/common/message-box/dynamic-creation/Shared/NavMenu.razor index 16725d1b..b0091860 100644 --- a/common/message-box/dynamic-creation/Shared/NavMenu.razor +++ b/common/message-box/dynamic-creation/Shared/NavMenu.razor @@ -12,11 +12,6 @@ Home - diff --git a/common/message-box/dynamic-creation/Shared/PopupLayout.razor b/common/message-box/dynamic-creation/Shared/PopupLayout.razor index 4b72e158..4ea6ab11 100644 --- a/common/message-box/dynamic-creation/Shared/PopupLayout.razor +++ b/common/message-box/dynamic-creation/Shared/PopupLayout.razor @@ -1,7 +1,8 @@ @inherits ComponentBase +@using Telerik.SvgIcons @inject PopupControl.Controls.Popup.PopupService PopupService - + @Title @@ -12,7 +13,7 @@ - + From 2d32fb9c4d4be101c3b3ace61c3245ba4172441e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 13:31:38 -0400 Subject: [PATCH 14/69] Update package references for improved compatibility Updated Microsoft.Extensions.AI packages to version 9.5.0 and removed specific version numbers in project files for greater flexibility. Adjusted Telerik.UI.for.Blazor references to ensure the latest version is used. These changes modernize dependencies and enhance compatibility with new features and fixes. --- Directory.Packages.props | 8 ++++---- .../AIPromptIntegration.csproj | 20 +++++++++---------- .../SpeechToTextIntegration.csproj | 15 +++++--------- 3 files changed, 18 insertions(+), 25 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b24ceb8c..d6ca4646 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -45,10 +45,10 @@ - - - - + + + + diff --git a/common/microsoft-extensions-ai-integration/AIPromptIntegration/AIPromptIntegration/AIPromptIntegration.csproj b/common/microsoft-extensions-ai-integration/AIPromptIntegration/AIPromptIntegration/AIPromptIntegration.csproj index ba07dc56..ffc13842 100644 --- a/common/microsoft-extensions-ai-integration/AIPromptIntegration/AIPromptIntegration/AIPromptIntegration.csproj +++ b/common/microsoft-extensions-ai-integration/AIPromptIntegration/AIPromptIntegration/AIPromptIntegration.csproj @@ -1,21 +1,19 @@ - net8.0 enable enable - - - - - - - - - + + + + + + + + - + \ No newline at end of file diff --git a/common/microsoft-extensions-ai-integration/SpeechToTextIntegration/SpeechToTextIntegration/SpeechToTextIntegration.csproj b/common/microsoft-extensions-ai-integration/SpeechToTextIntegration/SpeechToTextIntegration/SpeechToTextIntegration.csproj index 3aed77f6..777ec9c0 100644 --- a/common/microsoft-extensions-ai-integration/SpeechToTextIntegration/SpeechToTextIntegration/SpeechToTextIntegration.csproj +++ b/common/microsoft-extensions-ai-integration/SpeechToTextIntegration/SpeechToTextIntegration/SpeechToTextIntegration.csproj @@ -1,22 +1,17 @@ - net8.0 enable enable - - - + + - - + - - MEAI001 + MEAI001 - - +
\ No newline at end of file From 5cf0f134e3a65fd84611264aa87b61d92fe154da Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 13:45:42 -0400 Subject: [PATCH 15/69] Remove LibraryManager and update Kendo drawing version Updated `PdfExportJS.csproj` to remove the `Microsoft.Web.LibraryManager.Build` package due to unresolved unpkg libraries. The `Telerik.UI.for.Blazor` package reference was modified to allow for the latest version. In `libman.json`, upgraded `@progress/kendo-drawing` from `1.20.4` to `1.21.2`, while keeping `@progress/kendo-file-saver` unchanged. --- common/pdf-jpg-export-js/PdfExportJS/PdfExportJS.csproj | 8 +++----- common/pdf-jpg-export-js/PdfExportJS/libman.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/common/pdf-jpg-export-js/PdfExportJS/PdfExportJS.csproj b/common/pdf-jpg-export-js/PdfExportJS/PdfExportJS.csproj index f7793449..ab402045 100644 --- a/common/pdf-jpg-export-js/PdfExportJS/PdfExportJS.csproj +++ b/common/pdf-jpg-export-js/PdfExportJS/PdfExportJS.csproj @@ -1,16 +1,14 @@ - net8.0 enable enable - - - + + @@ -18,4 +16,4 @@ - + \ No newline at end of file diff --git a/common/pdf-jpg-export-js/PdfExportJS/libman.json b/common/pdf-jpg-export-js/PdfExportJS/libman.json index 71406783..d66cdadd 100644 --- a/common/pdf-jpg-export-js/PdfExportJS/libman.json +++ b/common/pdf-jpg-export-js/PdfExportJS/libman.json @@ -11,7 +11,7 @@ "destination": "wwwroot/lib/progress/kendo-file-saver/" }, { - "library": "@progress/kendo-drawing@1.20.4", + "library": "@progress/kendo-drawing@1.21.2", "destination": "wwwroot/lib/progress/kendo-drawing/" } ] From 226ab8b38755f144f1edd055978d38b2de47153c Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 13:48:01 -0400 Subject: [PATCH 16/69] Update projects to .NET 8.0 and remove package versions Updated the target framework for `Client`, `Server`, and `Shared` projects to .NET 8.0 to leverage new features and improvements. Removed specific version numbers from package references in `Client` and `Server` for greater flexibility in using compatible versions. Overall structure of project files remains unchanged. --- .../Client/popup_causes_scroll.Client.csproj | 13 ++++++------- .../Server/popup_causes_scroll.Server.csproj | 12 ++++-------- .../Shared/popup_causes_scroll.Shared.csproj | 5 +++-- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/common/popup-causes-scroll/popup-causes-scroll/Client/popup_causes_scroll.Client.csproj b/common/popup-causes-scroll/popup-causes-scroll/Client/popup_causes_scroll.Client.csproj index f09c567c..505c4d36 100644 --- a/common/popup-causes-scroll/popup-causes-scroll/Client/popup_causes_scroll.Client.csproj +++ b/common/popup-causes-scroll/popup-causes-scroll/Client/popup_causes_scroll.Client.csproj @@ -1,15 +1,14 @@ - - net5.0 + net8.0 - - - - + + + + - + \ No newline at end of file diff --git a/common/popup-causes-scroll/popup-causes-scroll/Server/popup_causes_scroll.Server.csproj b/common/popup-causes-scroll/popup-causes-scroll/Server/popup_causes_scroll.Server.csproj index 32aae241..03a096cb 100644 --- a/common/popup-causes-scroll/popup-causes-scroll/Server/popup_causes_scroll.Server.csproj +++ b/common/popup-causes-scroll/popup-causes-scroll/Server/popup_causes_scroll.Server.csproj @@ -1,16 +1,12 @@ - - + - net5.0 + net8.0 - - + - - - + \ No newline at end of file diff --git a/common/popup-causes-scroll/popup-causes-scroll/Shared/popup_causes_scroll.Shared.csproj b/common/popup-causes-scroll/popup-causes-scroll/Shared/popup_causes_scroll.Shared.csproj index 90e7e979..49216706 100644 --- a/common/popup-causes-scroll/popup-causes-scroll/Shared/popup_causes_scroll.Shared.csproj +++ b/common/popup-causes-scroll/popup-causes-scroll/Shared/popup_causes_scroll.Shared.csproj @@ -1,7 +1,8 @@ - + - netstandard2.1 + net8.0 + From 4dd2c09ab2450a6b6436197ab428058bdfb6c5b4 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 13:56:17 -0400 Subject: [PATCH 17/69] Upgrade to .NET 8 and update Telerik components - Updated target framework in `BlazorInMVC.csproj` and `BlazorInRazorPages.csproj` from `netcoreapp3.1` to `net8.0`. - Removed version specification for `Telerik.UI.for.Blazor` package to use the latest version. - Added `@using Telerik.SvgIcons` in `MyWindow.razor` for SVG icon support. - Enhanced `TelerikButton` with an `Icon` attribute referencing `@SvgIcon.Window`. - Removed `Centered` attribute from `TelerikWindow`, adjusting its positioning behavior. --- common/razor-components/mvc-views/BlazorInMVC.csproj | 6 ++++-- .../razor-pages/BlazorInRazorPages.csproj | 8 +++++--- .../razor-pages/Components/MyWindow.razor | 3 ++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/common/razor-components/mvc-views/BlazorInMVC.csproj b/common/razor-components/mvc-views/BlazorInMVC.csproj index db73ba94..48e235ff 100644 --- a/common/razor-components/mvc-views/BlazorInMVC.csproj +++ b/common/razor-components/mvc-views/BlazorInMVC.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net8.0 @@ -12,9 +12,11 @@ - + + + diff --git a/common/razor-components/razor-pages/BlazorInRazorPages.csproj b/common/razor-components/razor-pages/BlazorInRazorPages.csproj index a8e23f73..66ce3f48 100644 --- a/common/razor-components/razor-pages/BlazorInRazorPages.csproj +++ b/common/razor-components/razor-pages/BlazorInRazorPages.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + diff --git a/common/razor-components/razor-pages/Components/MyWindow.razor b/common/razor-components/razor-pages/Components/MyWindow.razor index 707153b1..caaa5976 100644 --- a/common/razor-components/razor-pages/Components/MyWindow.razor +++ b/common/razor-components/razor-pages/Components/MyWindow.razor @@ -1,9 +1,10 @@ 

My Window

+@using Telerik.SvgIcons WindowVisible = true)>Open Modal - + Modal Window From 81943e49d4d815a70bb6537cfca67be8ead721a0 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 10 Sep 2025 13:57:59 -0400 Subject: [PATCH 18/69] Update project to .NET 8.0 and package references - Changed target framework from .NET 5.0 to .NET 8.0. - Removed version specification for "Telerik.UI.for.Blazor" to use the latest version. --- .../select-on-load/select-on-load/select-on-load.csproj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drawer/select-on-load/select-on-load/select-on-load.csproj b/drawer/select-on-load/select-on-load/select-on-load.csproj index 16adb0df..0db7ed80 100644 --- a/drawer/select-on-load/select-on-load/select-on-load.csproj +++ b/drawer/select-on-load/select-on-load/select-on-load.csproj @@ -1,11 +1,12 @@ - + - net5.0 + net8.0 select_on_load - + - \ No newline at end of file +
+ From a59d9b475029decece2b940c8fb24dc5fdb0a305 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:08:36 -0400 Subject: [PATCH 19/69] Update TelerikButton icon binding and package reference Changed the `Icon` attribute in `Counter.razor` to use a dynamic value for better flexibility. Removed the version number for the `Telerik.UI.for.Blazor` package in `sidenav.csproj` to ensure the project uses the latest available version. --- drawer/sidenav/Components/Pages/Counter.razor | 2 +- drawer/sidenav/sidenav.csproj | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drawer/sidenav/Components/Pages/Counter.razor b/drawer/sidenav/Components/Pages/Counter.razor index 286c4400..fb980129 100644 --- a/drawer/sidenav/Components/Pages/Counter.razor +++ b/drawer/sidenav/Components/Pages/Counter.razor @@ -6,7 +6,7 @@

Current count: @currentCount

Click me @code { diff --git a/drawer/sidenav/sidenav.csproj b/drawer/sidenav/sidenav.csproj index f4bad73a..6613b4fb 100644 --- a/drawer/sidenav/sidenav.csproj +++ b/drawer/sidenav/sidenav.csproj @@ -7,7 +7,8 @@
- + + From 6eb37e94a79eff7f061663a41fdd889f0429bd4e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:27:08 -0400 Subject: [PATCH 20/69] Update MainLayout and project to .NET 8.0 Enhanced drawer styling and icon handling in MainLayout.razor. Updated DrawerItem class to use ISvgIcon for better type safety. Project file now targets .NET 8.0 and uses the latest Telerik UI for Blazor package. --- .../template/template/Shared/MainLayout.razor | 23 +++++++++++-------- drawer/template/template/template.csproj | 8 ++++--- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drawer/template/template/Shared/MainLayout.razor b/drawer/template/template/Shared/MainLayout.razor index fe9e0c69..3b84c39f 100644 --- a/drawer/template/template/Shared/MainLayout.razor +++ b/drawer/template/template/Shared/MainLayout.razor @@ -1,4 +1,5 @@ @inherits LayoutComponentBase +@using Telerik.SvgIcons @inject NavigationManager _navMan @@ -22,6 +23,10 @@ overflow-x: auto; } + .k-drawer-items ul { + padding: 0; + } + /* sizing of the header */ .top-row { left: 0; @@ -50,18 +55,18 @@ @@ -131,9 +136,9 @@ List NavigablePages { get; set; } = new List { - new DrawerItem { Text = "Home", Url = "/", Icon = "home" }, - new DrawerItem { Text = "Counter", Url = "counter", Icon = "plus-outline" }, - new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = "grid" } + new DrawerItem { Text = "Home", Url = "/", Icon = SvgIcon.Home }, + new DrawerItem { Text = "Counter", Url = "counter", Icon = SvgIcon.PlusOutline }, + new DrawerItem { Text = "FetchData", Url = "fetchdata", Icon = SvgIcon.Grid } }; protected override void OnInitialized() @@ -179,7 +184,7 @@ { public string Text { get; set; } public string Url { get; set; } - public string Icon { get; set; } + public ISvgIcon Icon { get; set; } public bool IsSeparator { get; set; } } } \ No newline at end of file diff --git a/drawer/template/template/template.csproj b/drawer/template/template/template.csproj index 5c4ab100..c7fcfc9b 100644 --- a/drawer/template/template/template.csproj +++ b/drawer/template/template/template.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From c24cd73f048abbe6e1bb25eefa382067cccff039 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:28:53 -0400 Subject: [PATCH 21/69] Update TelerikDrawer and project to .NET 8.0 - Changed `TelerikDrawer` position to `End` and imported `Telerik.SvgIcons`. - Updated drawer item icons to use `SvgIcon` enum. - Modified `DrawerItem.Icon` type to `Telerik.SvgIcons.ISvgIcon`. - Updated project to target .NET 8.0 and latest Telerik package version. --- .../TwoDrawers/Shared/MainLayout.razor | 18 ++++++++++-------- .../two-drawers/TwoDrawers/TwoDrawers.csproj | 8 +++++--- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/drawer/two-drawers/TwoDrawers/Shared/MainLayout.razor b/drawer/two-drawers/TwoDrawers/Shared/MainLayout.razor index b36127b3..ac845dde 100644 --- a/drawer/two-drawers/TwoDrawers/Shared/MainLayout.razor +++ b/drawer/two-drawers/TwoDrawers/Shared/MainLayout.razor @@ -16,7 +16,9 @@ @* First, the Overlay mode drawer as it positions itself absolutely and so it should be as high in the DOM as possible in order to not be limited by the rules and positions of its parents *@ - + @using Telerik.SvgIcons + + @* The nested drawer is the Push drawer - the CSS rule above reduces its z-index so it does not show up above the overlay of the other *@ @@ -29,8 +31,8 @@ @* Here begins the actual content - for example, we start with buttons to toggle the drawers and the @Body later *@ - Toggle LEFT drawer - Toggle RIGHT drawer + Toggle LEFT drawer + Toggle RIGHT drawer
Selected Item: @SelectedItem?.Text @@ -51,21 +53,21 @@ // the left (Push) drawer goes to the counter and fetch data pages IEnumerable Data { get; set; } = new List { - new DrawerItem { Text = "Counter", Icon = "plus", Url = "counter"}, - new DrawerItem { Text = "FetchData", Icon = "grid-layout", Url = "fetchdata"}, + new DrawerItem { Text = "Counter", Icon = SvgIcon.Plus, Url = "counter"}, + new DrawerItem { Text = "FetchData", Icon = SvgIcon.GridLayout, Url = "fetchdata"}, }; //the right (overlay) drawer always goes to the home page for brevity and simplicity IEnumerable RightItems { get; set; } = new List { - new DrawerItem { Text = "First", Icon = "minus-outline", Url= "/"}, - new DrawerItem { Text = "Second", Icon = "minus-circle", Url = "/"}, + new DrawerItem { Text = "First", Icon = SvgIcon.MinusOutline, Url= "/"}, + new DrawerItem { Text = "Second", Icon = SvgIcon.MinusCircle, Url = "/"}, }; public class DrawerItem { public string Text { get; set; } - public string Icon { get; set; } + public Telerik.SvgIcons.ISvgIcon Icon { get; set; } public string Url { get; set; } } } \ No newline at end of file diff --git a/drawer/two-drawers/TwoDrawers/TwoDrawers.csproj b/drawer/two-drawers/TwoDrawers/TwoDrawers.csproj index 5c4ab100..c7fcfc9b 100644 --- a/drawer/two-drawers/TwoDrawers/TwoDrawers.csproj +++ b/drawer/two-drawers/TwoDrawers/TwoDrawers.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From 0356fd9c1175b2e26f76312adcca531122805413 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:33:55 -0400 Subject: [PATCH 22/69] Update project to .NET 8 and modify Telerik packages - Changed target framework in `EditorImportExport.csproj` to .NET 8.0. - Removed specific version numbers for Telerik package references to use the latest versions. - Added additional using directives for Telerik components in `Index.razor`. --- .../EditorImportExport.csproj | 27 ++++++++++--------- .../EditorImportExport/Pages/Index.razor | 3 +++ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/editor/ImportExport/EditorImportExport/EditorImportExport.csproj b/editor/ImportExport/EditorImportExport/EditorImportExport.csproj index 72e536ab..501d5933 100644 --- a/editor/ImportExport/EditorImportExport/EditorImportExport.csproj +++ b/editor/ImportExport/EditorImportExport/EditorImportExport.csproj @@ -1,22 +1,25 @@ - net6.0 + net8.0 enable enable - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/editor/ImportExport/EditorImportExport/Pages/Index.razor b/editor/ImportExport/EditorImportExport/Pages/Index.razor index 626404d7..644406ed 100644 --- a/editor/ImportExport/EditorImportExport/Pages/Index.razor +++ b/editor/ImportExport/EditorImportExport/Pages/Index.razor @@ -1,7 +1,10 @@ @page "/" @using EditorImportExport.Data +@using Telerik.Blazor +@using Telerik.Blazor.Components @using Telerik.Blazor.Components.Editor +@using Telerik.SvgIcons @inject FileConverter fileConverter From 6cd219d05356ee290e92db7c65533069db99f07e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:35:26 -0400 Subject: [PATCH 23/69] Update project to .NET 8.0 and improve UI icons - Changed target framework in `Markdown.csproj` to .NET 8.0. - Removed specific version numbers for package references to use the latest versions. - Updated `TelerikButton` icon in `ViewMdTool.razor` to use dynamic SVG icon reference for better management. --- editor/Markdown/Markdown/Markdown.csproj | 15 ++++++--------- editor/Markdown/Markdown/Pages/ViewMdTool.razor | 3 ++- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/editor/Markdown/Markdown/Markdown.csproj b/editor/Markdown/Markdown/Markdown.csproj index 65ead426..f9b0b2f4 100644 --- a/editor/Markdown/Markdown/Markdown.csproj +++ b/editor/Markdown/Markdown/Markdown.csproj @@ -1,13 +1,10 @@ - - + - netcoreapp3.1 + net8.0 - - - - + + + - - + \ No newline at end of file diff --git a/editor/Markdown/Markdown/Pages/ViewMdTool.razor b/editor/Markdown/Markdown/Pages/ViewMdTool.razor index 16edcf3e..95a070be 100644 --- a/editor/Markdown/Markdown/Pages/ViewMdTool.razor +++ b/editor/Markdown/Markdown/Pages/ViewMdTool.razor @@ -1,4 +1,5 @@ -View MD +@using Telerik.SvgIcons +View MD View and Edit the Raw Markdown From 41604d0d73239239c95052e9b35af384f8baf4ca Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:49:21 -0400 Subject: [PATCH 24/69] Update project to .NET 8.0 and package references The project file `fileselect_in_grid_row.csproj` has been updated to target .NET 8.0 instead of .NET Core 3.1. Additionally, the version specification for the `Telerik.UI.for.Blazor` package has been removed, allowing it to use the latest available version instead of being locked to version 3.1.0. --- .../fileselect-in-grid-row/fileselect_in_grid_row.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fileselect/fileselect-in-grid-row/fileselect-in-grid-row/fileselect_in_grid_row.csproj b/fileselect/fileselect-in-grid-row/fileselect-in-grid-row/fileselect_in_grid_row.csproj index b4e53d50..acff9728 100644 --- a/fileselect/fileselect-in-grid-row/fileselect-in-grid-row/fileselect_in_grid_row.csproj +++ b/fileselect/fileselect-in-grid-row/fileselect-in-grid-row/fileselect_in_grid_row.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From e0809e66cc156070fda6172b359c47983bd3b769 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 09:57:50 -0400 Subject: [PATCH 25/69] Update to .NET 8.0 and improve notification handling This commit updates the target framework of the Blazor application and its associated projects from .NET 5.0 to .NET 8.0. Project files for the client, server, and shared components have been modified accordingly. Package references have been updated to remove specific version numbers, allowing for the latest compatible versions. Additionally, the error notification logic in `Index.razor` has been improved to use a new theme color constant for better maintainability and consistency with Telerik Blazor components. --- .../Client/Pages/Index.razor | 3 ++- .../Client/WasmCustomValidation.Client.csproj | 15 +++++++-------- .../Server/WasmCustomValidation.Server.csproj | 16 ++++++---------- .../Shared/WasmCustomValidation.Shared.csproj | 11 ++++------- 4 files changed, 19 insertions(+), 26 deletions(-) diff --git a/form/remote-validation/WasmCustomValidation/Client/Pages/Index.razor b/form/remote-validation/WasmCustomValidation/Client/Pages/Index.razor index c385c9f7..cc3f7501 100644 --- a/form/remote-validation/WasmCustomValidation/Client/Pages/Index.razor +++ b/form/remote-validation/WasmCustomValidation/Client/Pages/Index.razor @@ -1,4 +1,5 @@ @page "/" +@using Telerik.Blazor @using System.Net @using System.Net.Http.Json @@ -34,7 +35,7 @@ This sample uses a Notification component to show the error message to supplemen void ShowErrorNotification(string message) { - Notification.Show(new NotificationModel { CloseAfter = 0, Text = message, ThemeColor = Telerik.Blazor.ThemeColors.Error }); + Notification.Show(new NotificationModel { CloseAfter = 0, Text = message, ThemeColor = ThemeConstants.Notification.ThemeColor.Error }); } private async Task HandleValidSubmit(EditContext editContext) diff --git a/form/remote-validation/WasmCustomValidation/Client/WasmCustomValidation.Client.csproj b/form/remote-validation/WasmCustomValidation/Client/WasmCustomValidation.Client.csproj index 8600087d..9cc38a1b 100644 --- a/form/remote-validation/WasmCustomValidation/Client/WasmCustomValidation.Client.csproj +++ b/form/remote-validation/WasmCustomValidation/Client/WasmCustomValidation.Client.csproj @@ -1,16 +1,15 @@ - - net5.0 + net8.0 - - - - - + + + + + - + \ No newline at end of file diff --git a/form/remote-validation/WasmCustomValidation/Server/WasmCustomValidation.Server.csproj b/form/remote-validation/WasmCustomValidation/Server/WasmCustomValidation.Server.csproj index 56c656c3..a1aeca45 100644 --- a/form/remote-validation/WasmCustomValidation/Server/WasmCustomValidation.Server.csproj +++ b/form/remote-validation/WasmCustomValidation/Server/WasmCustomValidation.Server.csproj @@ -1,18 +1,14 @@ - - + - net5.0 + net8.0 - - - - + + + - - - + \ No newline at end of file diff --git a/form/remote-validation/WasmCustomValidation/Shared/WasmCustomValidation.Shared.csproj b/form/remote-validation/WasmCustomValidation/Shared/WasmCustomValidation.Shared.csproj index c71dd9e1..b432ed27 100644 --- a/form/remote-validation/WasmCustomValidation/Shared/WasmCustomValidation.Shared.csproj +++ b/form/remote-validation/WasmCustomValidation/Shared/WasmCustomValidation.Shared.csproj @@ -1,11 +1,8 @@ - - + - netstandard2.1 + net8.0 - - + - - + \ No newline at end of file From b73831e4b5dff18271c355a94a0d8ae4b9d33073 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:10:21 -0400 Subject: [PATCH 26/69] Update project to .NET 8.0 and revise documentation - Changed target framework in `AdjustHeightWithBrowser.csproj` to .NET 8.0. - Removed specific package versions for `BlazorPro.BlazorSize` and `Telerik.UI.for.Blazor` to use the latest versions. - Updated `README.md` to reflect the obsolescence of the sample app and added links to current Telerik documentation resources. --- .../AdjustHeightWithBrowser.csproj | 13 +++++-------- grid/adjust-height-with-browser/README.md | 3 ++- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/grid/adjust-height-with-browser/AdjustHeightWithBrowser.csproj b/grid/adjust-height-with-browser/AdjustHeightWithBrowser.csproj index bd47af81..062a5041 100644 --- a/grid/adjust-height-with-browser/AdjustHeightWithBrowser.csproj +++ b/grid/adjust-height-with-browser/AdjustHeightWithBrowser.csproj @@ -1,12 +1,9 @@ - - + - netcoreapp3.1 + net8.0 - - - + + - - + \ No newline at end of file diff --git a/grid/adjust-height-with-browser/README.md b/grid/adjust-height-with-browser/README.md index 33f83260..61042dc2 100644 --- a/grid/adjust-height-with-browser/README.md +++ b/grid/adjust-height-with-browser/README.md @@ -1,7 +1,8 @@ # Change page size according to available height; hide columns based on screen size > This sample app is mostly obsolete and no longer maintained. The up-to-date Telerik documentation resources and examples are available at: -> +> * [Grid Adaptive Mode](https://demos.telerik.com/blazor-ui/grid/adaptive) +> * [Grid Adaptive Mode Stacked Columns](https://www.telerik.com/blazor-ui/documentation/components/grid/columns/stacked) > * [Adjust Grid Height to Match the Browser Viewport Height](https://docs.telerik.com/blazor-ui/knowledge-base/grid-adjust-height-with-browser) > * [Hide or Show Grid Columns on Browser Window Resize](https://docs.telerik.com/blazor-ui/components/mediaquery/integration) > * [Scroll to Selected Grid Row](https://docs.telerik.com/blazor-ui/knowledge-base/grid-scroll-to-selected-row) From bf8b951879a69b9163a367be966cb1b3f7d027c0 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:12:16 -0400 Subject: [PATCH 27/69] Update button icons and project settings Refactor button components in `Index.razor`, `SeparateComponent.razor`, and `CustomEditForm.razor` to use `@SvgIcon` for improved consistency. Added `Telerik.Blazor.Components` namespace in `_Imports.razor`. Updated `custom_popup_form.csproj` to target .NET 8.0 and adjusted `Telerik.UI.for.Blazor` package reference for automatic version updates. --- grid/custom-popup-form/Pages/Index.razor | 8 ++++---- grid/custom-popup-form/Pages/SeparateComponent.razor | 4 ++-- grid/custom-popup-form/Shared/CustomEditForm.razor | 4 ++-- grid/custom-popup-form/_Imports.razor | 3 ++- grid/custom-popup-form/custom_popup_form.csproj | 8 +++++--- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/grid/custom-popup-form/Pages/Index.razor b/grid/custom-popup-form/Pages/Index.razor index 872a0b2d..3f65c512 100644 --- a/grid/custom-popup-form/Pages/Index.razor +++ b/grid/custom-popup-form/Pages/Index.razor @@ -6,7 +6,7 @@ - Edit + Edit @@ -19,7 +19,7 @@ - Add Employee + Add Employee @@ -46,8 +46,8 @@ - Save - Cancel + Save + Cancel diff --git a/grid/custom-popup-form/Pages/SeparateComponent.razor b/grid/custom-popup-form/Pages/SeparateComponent.razor index b4d51f0e..de39574a 100644 --- a/grid/custom-popup-form/Pages/SeparateComponent.razor +++ b/grid/custom-popup-form/Pages/SeparateComponent.razor @@ -7,7 +7,7 @@ - Edit + Edit @@ -20,7 +20,7 @@ - Add Employee + Add Employee diff --git a/grid/custom-popup-form/Shared/CustomEditForm.razor b/grid/custom-popup-form/Shared/CustomEditForm.razor index 3d4b4cf5..2023fa14 100644 --- a/grid/custom-popup-form/Shared/CustomEditForm.razor +++ b/grid/custom-popup-form/Shared/CustomEditForm.razor @@ -44,8 +44,8 @@
- Save - Cancel + Save + Cancel
diff --git a/grid/custom-popup-form/_Imports.razor b/grid/custom-popup-form/_Imports.razor index 25503a2e..d24a544d 100644 --- a/grid/custom-popup-form/_Imports.razor +++ b/grid/custom-popup-form/_Imports.razor @@ -8,4 +8,5 @@ @using custom_popup_form @using custom_popup_form.Shared @using Telerik.Blazor -@using Telerik.Blazor.Components \ No newline at end of file +@using Telerik.Blazor.Components +@using Telerik.SvgIcons \ No newline at end of file diff --git a/grid/custom-popup-form/custom_popup_form.csproj b/grid/custom-popup-form/custom_popup_form.csproj index a3beda0a..c7fcfc9b 100644 --- a/grid/custom-popup-form/custom_popup_form.csproj +++ b/grid/custom-popup-form/custom_popup_form.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From d18dade40e32ac991976c94c35afc41696d926e6 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:14:35 -0400 Subject: [PATCH 28/69] Update to .NET 8.0 and enhance UI components Updated `Index.razor` to use SVG icons for buttons and improved error notification handling. Project files for client, server, and shared projects now target .NET 8.0 with simplified package references for better compatibility and access to the latest features. --- .../Client/Pages/Index.razor | 8 +++++--- ...moteValidationInGridEditorTemplate.Client.csproj | 13 ++++++------- ...moteValidationInGridEditorTemplate.Server.csproj | 12 ++++-------- ...moteValidationInGridEditorTemplate.Shared.csproj | 11 ++++------- 4 files changed, 19 insertions(+), 25 deletions(-) diff --git a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/Pages/Index.razor b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/Pages/Index.razor index f57e7ce9..7ba54f1a 100644 --- a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/Pages/Index.razor +++ b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/Pages/Index.razor @@ -3,6 +3,8 @@ @using System.Net.Http.Json @using RemoteValidationInGridEditorTemplate.Shared @inject HttpClient Http +@using Telerik.Blazor +@using Telerik.SvgIcons Try to Update an item with an empty "Name" field.
@@ -36,8 +38,8 @@ This sample uses a Notification component to show the error message to supplemen - Update - Edit + Update + Edit @@ -59,7 +61,7 @@ This sample uses a Notification component to show the error message to supplemen void ShowErrorNotification(string message) { - Notification.Show(new NotificationModel { CloseAfter = 0, Text = message, ThemeColor = Telerik.Blazor.ThemeColors.Error }); + Notification.Show(new NotificationModel { CloseAfter = 0, Text = message, ThemeColor = ThemeConstants.Notification.ThemeColor.Error }); } public async Task UpdateHandler(GridCommandEventArgs args) diff --git a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/RemoteValidationInGridEditorTemplate.Client.csproj b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/RemoteValidationInGridEditorTemplate.Client.csproj index 808215fe..bae92cd8 100644 --- a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/RemoteValidationInGridEditorTemplate.Client.csproj +++ b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Client/RemoteValidationInGridEditorTemplate.Client.csproj @@ -1,15 +1,14 @@ - - net5.0 + net8.0 - - - - + + + + - +
\ No newline at end of file diff --git a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Server/RemoteValidationInGridEditorTemplate.Server.csproj b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Server/RemoteValidationInGridEditorTemplate.Server.csproj index 959383e7..dfc26a9b 100644 --- a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Server/RemoteValidationInGridEditorTemplate.Server.csproj +++ b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Server/RemoteValidationInGridEditorTemplate.Server.csproj @@ -1,16 +1,12 @@ - - + - net5.0 + net8.0 - - + - - - + \ No newline at end of file diff --git a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Shared/RemoteValidationInGridEditorTemplate.Shared.csproj b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Shared/RemoteValidationInGridEditorTemplate.Shared.csproj index c71dd9e1..b432ed27 100644 --- a/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Shared/RemoteValidationInGridEditorTemplate.Shared.csproj +++ b/grid/custom-validation-in-editortemplate/RemoteValidationInGridEditorTemplate/Shared/RemoteValidationInGridEditorTemplate.Shared.csproj @@ -1,11 +1,8 @@ - - + - netstandard2.1 + net8.0 - - + - - + \ No newline at end of file From f371c4063f5d399b0c02b30f4b9fd6658f1b6bfa Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:24:43 -0400 Subject: [PATCH 29/69] Update project to .NET 8 and enhance UI components - Refactor `Products.razor` to use `SvgIcon` for button icons. - Upgrade target framework from .NET 5.0 to .NET 8.0. - Replace `System.Data.SqlClient` with `Microsoft.Data.SqlClient` for improved SQL Server access. - Clean up project files by removing specific version numbers from package references. - Add necessary namespaces in `_Imports.razor` for new features. --- .../Pages/Products.razor | 6 +++--- .../TelerikBlazorGrid-Dapper.Blazor.csproj | 9 ++++++--- .../TelerikBlazorGrid-Dapper.Blazor/_Imports.razor | 1 + .../SqlDataAccess.cs | 2 +- .../TelerikBlazorGrid-Dapper.DataAccess.csproj | 12 +++++++----- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/Pages/Products.razor b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/Pages/Products.razor index 15440cff..0bb2082c 100644 --- a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/Pages/Products.razor +++ b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/Pages/Products.razor @@ -15,9 +15,9 @@ @bind-PageSize="PageSize" @ref="@Grid"> - Refresh - Export .xlsx - Export .csv + Refresh + Export .xlsx + Export .csv diff --git a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/TelerikBlazorGrid-Dapper.Blazor.csproj b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/TelerikBlazorGrid-Dapper.Blazor.csproj index cfd4c3e4..daf8337f 100644 --- a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/TelerikBlazorGrid-Dapper.Blazor.csproj +++ b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/TelerikBlazorGrid-Dapper.Blazor.csproj @@ -1,15 +1,15 @@ - net5.0 + net8.0 TelerikBlazorGrid_Dapper.Blazor 1.0.0.10 1.0.0.10 - - + + @@ -21,3 +21,6 @@ + + + diff --git a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/_Imports.razor b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/_Imports.razor index 91d17dfc..6ae4f47b 100644 --- a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/_Imports.razor +++ b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.Blazor/_Imports.razor @@ -10,5 +10,6 @@ @using TelerikBlazorGrid_Dapper.Blazor.Shared @using Telerik.Blazor @using Telerik.Blazor.Components +@using Telerik.SvgIcons @using TelerikBlazorGrid_Dapper.DataAccess.Services @using TelerikBlazorGrid_Dapper.DataAccess.Models \ No newline at end of file diff --git a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/SqlDataAccess.cs b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/SqlDataAccess.cs index 5e56a214..0943c233 100644 --- a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/SqlDataAccess.cs +++ b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/SqlDataAccess.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using System.Data; -using System.Data.SqlClient; +using Microsoft.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/TelerikBlazorGrid-Dapper.DataAccess.csproj b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/TelerikBlazorGrid-Dapper.DataAccess.csproj index d5ac250a..afd36148 100644 --- a/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/TelerikBlazorGrid-Dapper.DataAccess.csproj +++ b/grid/dapper/dapper/TelerikBlazorGrid-Dapper.DataAccess/TelerikBlazorGrid-Dapper.DataAccess.csproj @@ -1,17 +1,19 @@ - net5.0 + net8.0 TelerikBlazorGrid_Dapper.DataAccess 1.0.0.2 1.0.0.2 - - - - + + + + + + From 1fb3345a3f7d284df30b2c4602aa02ff9cb73bfd Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:26:26 -0400 Subject: [PATCH 30/69] Update projects to target .NET 8.0 and simplify packages Updated the `TargetFramework` to .NET 8.0 across multiple project files, including `CustomSerializer.Client`, `CustomSerializer.Server`, `CustomSerializer.Shared`, `ServerApp`, `WasmApp.Client`, `WasmApp.Server`, `WasmApp.Shared`, `SampleWebApi`, `SharedClasses`, and `WebApiFromServerApp`. Removed specific version numbers from several package references to allow usage of the latest available versions, enhancing compatibility and simplifying package management. --- .../Client/CustomSerializer.Client.csproj | 17 +++++++---------- .../Server/CustomSerializer.Server.csproj | 16 ++++++---------- .../Shared/CustomSerializer.Shared.csproj | 8 +++++--- .../ServerApp/ServerApp.csproj | 8 +++++--- .../WasmApp/Client/WasmApp.Client.csproj | 17 +++++++---------- .../WasmApp/Server/WasmApp.Server.csproj | 13 +++++-------- .../WasmApp/Shared/WasmApp.Shared.csproj | 13 +++++-------- .../SampleWebApi/SampleWebApi.csproj | 6 ++++-- .../SharedClasses/SharedClasses.csproj | 6 ++++-- .../WebApiFromServerApp.csproj | 8 +++++--- 10 files changed, 53 insertions(+), 59 deletions(-) diff --git a/grid/datasourcerequest-on-server/CustomSerializer/Client/CustomSerializer.Client.csproj b/grid/datasourcerequest-on-server/CustomSerializer/Client/CustomSerializer.Client.csproj index c8063637..13a7a20b 100644 --- a/grid/datasourcerequest-on-server/CustomSerializer/Client/CustomSerializer.Client.csproj +++ b/grid/datasourcerequest-on-server/CustomSerializer/Client/CustomSerializer.Client.csproj @@ -1,18 +1,15 @@ - - net6.0 + net8.0 - - - - - - + + + + + - - +
\ No newline at end of file diff --git a/grid/datasourcerequest-on-server/CustomSerializer/Server/CustomSerializer.Server.csproj b/grid/datasourcerequest-on-server/CustomSerializer/Server/CustomSerializer.Server.csproj index 84b55339..5f4d1459 100644 --- a/grid/datasourcerequest-on-server/CustomSerializer/Server/CustomSerializer.Server.csproj +++ b/grid/datasourcerequest-on-server/CustomSerializer/Server/CustomSerializer.Server.csproj @@ -1,19 +1,15 @@ - - + - net6.0 + net8.0 - - - - + + + - - - + \ No newline at end of file diff --git a/grid/datasourcerequest-on-server/CustomSerializer/Shared/CustomSerializer.Shared.csproj b/grid/datasourcerequest-on-server/CustomSerializer/Shared/CustomSerializer.Shared.csproj index c80572a9..6366491f 100644 --- a/grid/datasourcerequest-on-server/CustomSerializer/Shared/CustomSerializer.Shared.csproj +++ b/grid/datasourcerequest-on-server/CustomSerializer/Shared/CustomSerializer.Shared.csproj @@ -1,11 +1,13 @@ - + - net6.0 + net8.0 - + + + diff --git a/grid/datasourcerequest-on-server/ServerApp/ServerApp.csproj b/grid/datasourcerequest-on-server/ServerApp/ServerApp.csproj index fd2b2a8f..c7fcfc9b 100644 --- a/grid/datasourcerequest-on-server/ServerApp/ServerApp.csproj +++ b/grid/datasourcerequest-on-server/ServerApp/ServerApp.csproj @@ -1,11 +1,13 @@ - + - net6.0 + net8.0 - + + + diff --git a/grid/datasourcerequest-on-server/WasmApp/Client/WasmApp.Client.csproj b/grid/datasourcerequest-on-server/WasmApp/Client/WasmApp.Client.csproj index 29597878..9328892c 100644 --- a/grid/datasourcerequest-on-server/WasmApp/Client/WasmApp.Client.csproj +++ b/grid/datasourcerequest-on-server/WasmApp/Client/WasmApp.Client.csproj @@ -1,17 +1,14 @@ - - + - net6.0 + net8.0 - - - - - + + + + - - + \ No newline at end of file diff --git a/grid/datasourcerequest-on-server/WasmApp/Server/WasmApp.Server.csproj b/grid/datasourcerequest-on-server/WasmApp/Server/WasmApp.Server.csproj index 7bd17b52..876de14d 100644 --- a/grid/datasourcerequest-on-server/WasmApp/Server/WasmApp.Server.csproj +++ b/grid/datasourcerequest-on-server/WasmApp/Server/WasmApp.Server.csproj @@ -1,17 +1,14 @@ - - + - net6.0 + net8.0 - - - + + - - + \ No newline at end of file diff --git a/grid/datasourcerequest-on-server/WasmApp/Shared/WasmApp.Shared.csproj b/grid/datasourcerequest-on-server/WasmApp/Shared/WasmApp.Shared.csproj index 50c99dcc..2860b3cd 100644 --- a/grid/datasourcerequest-on-server/WasmApp/Shared/WasmApp.Shared.csproj +++ b/grid/datasourcerequest-on-server/WasmApp/Shared/WasmApp.Shared.csproj @@ -1,12 +1,9 @@ - - + - net6.0 + net8.0 - - - + + - - + \ No newline at end of file diff --git a/grid/datasourcerequest-on-server/WebApiFromServerApp/SampleWebApi/SampleWebApi.csproj b/grid/datasourcerequest-on-server/WebApiFromServerApp/SampleWebApi/SampleWebApi.csproj index 6b4d59a1..c7ec4b64 100644 --- a/grid/datasourcerequest-on-server/WebApiFromServerApp/SampleWebApi/SampleWebApi.csproj +++ b/grid/datasourcerequest-on-server/WebApiFromServerApp/SampleWebApi/SampleWebApi.csproj @@ -1,11 +1,11 @@ - net6.0 + net8.0 - + @@ -14,3 +14,5 @@ + + diff --git a/grid/datasourcerequest-on-server/WebApiFromServerApp/SharedClasses/SharedClasses.csproj b/grid/datasourcerequest-on-server/WebApiFromServerApp/SharedClasses/SharedClasses.csproj index b214ad1c..4f4314ef 100644 --- a/grid/datasourcerequest-on-server/WebApiFromServerApp/SharedClasses/SharedClasses.csproj +++ b/grid/datasourcerequest-on-server/WebApiFromServerApp/SharedClasses/SharedClasses.csproj @@ -1,11 +1,13 @@ - net6 + net8.0 - + + + diff --git a/grid/datasourcerequest-on-server/WebApiFromServerApp/WebApiFromServerApp/WebApiFromServerApp.csproj b/grid/datasourcerequest-on-server/WebApiFromServerApp/WebApiFromServerApp/WebApiFromServerApp.csproj index 77e27ddb..476a57bc 100644 --- a/grid/datasourcerequest-on-server/WebApiFromServerApp/WebApiFromServerApp/WebApiFromServerApp.csproj +++ b/grid/datasourcerequest-on-server/WebApiFromServerApp/WebApiFromServerApp/WebApiFromServerApp.csproj @@ -1,11 +1,11 @@ - + - net6.0 + net8.0 - + @@ -13,3 +13,5 @@ + + From a66325fab1d1767902d0382e965a0b91cef5beb0 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:27:55 -0400 Subject: [PATCH 31/69] Update Telerik components and target .NET 8.0 - Added using directives for Telerik.SvgIcons and Telerik.Blazor in Index.razor. - Updated GridCommandButton to use @SvgIcon.FileExcel. - Changed project target framework to .NET 8.0. - Removed specific version numbers for Telerik package references to use the latest versions. --- grid/export-to-xlsx-hierarchy/Pages/Index.razor | 4 +++- .../export-to-xlsx-hierarchy.csproj | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/grid/export-to-xlsx-hierarchy/Pages/Index.razor b/grid/export-to-xlsx-hierarchy/Pages/Index.razor index 097b504a..a0c7dd94 100644 --- a/grid/export-to-xlsx-hierarchy/Pages/Index.razor +++ b/grid/export-to-xlsx-hierarchy/Pages/Index.razor @@ -3,6 +3,8 @@ @using export_to_xlsx_hierarchy.Models @inject IJSRuntime JSRuntime +@using Telerik.SvgIcons +@using Telerik.Blazor - Export To Excel + Export To Excel diff --git a/grid/export-to-xlsx-hierarchy/export-to-xlsx-hierarchy.csproj b/grid/export-to-xlsx-hierarchy/export-to-xlsx-hierarchy.csproj index 241bb6f8..960b0c19 100644 --- a/grid/export-to-xlsx-hierarchy/export-to-xlsx-hierarchy.csproj +++ b/grid/export-to-xlsx-hierarchy/export-to-xlsx-hierarchy.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net8.0 export_to_xlsx_hierarchy @@ -11,8 +11,8 @@ https://localhost:5001;http://localhost:5000
- - + + @@ -20,3 +20,6 @@ + + + From 2650f0052879ad597a12460fbc622abf6d2eaedc Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:33:03 -0400 Subject: [PATCH 32/69] Update project to .NET 8.0 and package references The project file `LoadOnDemandHierarchyGrid.csproj` has been modified to target .NET 8.0 instead of .NET Core 3.1. The version specification for the `Telerik.UI.for.Blazor` package has also been removed to allow for the latest version. --- .../LoadOnDemandHierarchyGrid.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grid/load-on-demand-hierarchy/LoadOnDemandHierarchyGrid/LoadOnDemandHierarchyGrid.csproj b/grid/load-on-demand-hierarchy/LoadOnDemandHierarchyGrid/LoadOnDemandHierarchyGrid.csproj index 37f51dd4..c7fcfc9b 100644 --- a/grid/load-on-demand-hierarchy/LoadOnDemandHierarchyGrid/LoadOnDemandHierarchyGrid.csproj +++ b/grid/load-on-demand-hierarchy/LoadOnDemandHierarchyGrid/LoadOnDemandHierarchyGrid.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From 85cac410d1373d9aa63bf91e4aa40f7bf087be64 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 10:34:50 -0400 Subject: [PATCH 33/69] Update project to target .NET 8.0 and package version The project file `MergeCells.csproj` has been updated to target .NET 8.0 instead of .NET 5.0. Additionally, the version specification for the `Telerik.UI.for.Blazor` package has been removed, allowing it to use the latest available version instead of a specific one. --- grid/merge-cells-rows/MergeCells.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grid/merge-cells-rows/MergeCells.csproj b/grid/merge-cells-rows/MergeCells.csproj index cf8bfa83..b584367e 100644 --- a/grid/merge-cells-rows/MergeCells.csproj +++ b/grid/merge-cells-rows/MergeCells.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 523d17affa994c29c6d77c414e3d56d1deb2956a Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 11:10:03 -0400 Subject: [PATCH 34/69] Update project files to target .NET 8.0 Updated ServerApp, WasmApp.Client, WasmApp.Server, and WasmApp.Shared to target .NET 8.0. Removed specific version numbers from PackageReference elements to allow for the latest package versions. Retained Nullable and ImplicitUsings properties for continued feature support while preserving project structure for compatibility. --- grid/odata/ServerApp/ServerApp.csproj | 8 +++-- .../WasmApp/Client/WasmApp.Client.csproj | 30 +++++++++---------- .../WasmApp/Server/WasmApp.Server.csproj | 12 +++----- .../WasmApp/Shared/WasmApp.Shared.csproj | 24 +++++++-------- 4 files changed, 36 insertions(+), 38 deletions(-) diff --git a/grid/odata/ServerApp/ServerApp.csproj b/grid/odata/ServerApp/ServerApp.csproj index b49faa8f..8f122895 100644 --- a/grid/odata/ServerApp/ServerApp.csproj +++ b/grid/odata/ServerApp/ServerApp.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + diff --git a/grid/odata/WasmApp/Client/WasmApp.Client.csproj b/grid/odata/WasmApp/Client/WasmApp.Client.csproj index 5cb35f8f..27d79136 100644 --- a/grid/odata/WasmApp/Client/WasmApp.Client.csproj +++ b/grid/odata/WasmApp/Client/WasmApp.Client.csproj @@ -1,16 +1,16 @@ - - - net6.0 - enable - enable - - - - - - - - - - + + + net8.0 + enable + enable + + + + + + + + + + \ No newline at end of file diff --git a/grid/odata/WasmApp/Server/WasmApp.Server.csproj b/grid/odata/WasmApp/Server/WasmApp.Server.csproj index 5094f096..7df10ba1 100644 --- a/grid/odata/WasmApp/Server/WasmApp.Server.csproj +++ b/grid/odata/WasmApp/Server/WasmApp.Server.csproj @@ -1,18 +1,14 @@ - - + - net6.0 + net8.0 enable enable - - + - - - + \ No newline at end of file diff --git a/grid/odata/WasmApp/Shared/WasmApp.Shared.csproj b/grid/odata/WasmApp/Shared/WasmApp.Shared.csproj index 14809bd2..0fbb5582 100644 --- a/grid/odata/WasmApp/Shared/WasmApp.Shared.csproj +++ b/grid/odata/WasmApp/Shared/WasmApp.Shared.csproj @@ -1,13 +1,13 @@ - - net6.0 - enable - enable - - - - - - - - + + net8.0 + enable + enable + + + + + + + + \ No newline at end of file From e73fd9ad8c4b9f647f11288a21f3d9d849603394 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 11:11:43 -0400 Subject: [PATCH 35/69] Update project to target .NET 8.0 and package version The project file `PasteFromExcel.csproj` has been modified to target .NET 8.0 instead of .NET 5.0. The version specification for the `Telerik.UI.for.Blazor` package has also been removed, allowing it to use the latest available version. --- grid/paste-from-excel/PasteFromExcel.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grid/paste-from-excel/PasteFromExcel.csproj b/grid/paste-from-excel/PasteFromExcel.csproj index 474ec27e..b584367e 100644 --- a/grid/paste-from-excel/PasteFromExcel.csproj +++ b/grid/paste-from-excel/PasteFromExcel.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From dfd7f187e643661b2c05e60c314c159d5bad6841 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 11:33:50 -0400 Subject: [PATCH 36/69] Update projects to target .NET 8.0 and clean up references - Updated project files to target .NET 8.0 for improved compatibility and access to the latest features. - Changed PDF export button icon in `Index.razor` to use SVG for better visual consistency. - Removed specific version numbers from package references across multiple project files for greater flexibility and easier updates. - Simplified `ServerPdfExport.Server.csproj` and `ServerPdfExport.Shared.csproj` by eliminating version numbers for key packages. --- .../Client/Pages/Index.razor | 3 +- .../Client/ServerPdfExport.Client.csproj | 13 ++++---- .../PdfExport/PdfExport.csproj | 18 ++++++----- .../Server/ServerPdfExport.Server.csproj | 32 ++++++++----------- .../ServerSideSample/Pages/Index.razor | 3 +- .../ServerSideSample/ServerSideSample.csproj | 9 +++--- .../Shared/ServerPdfExport.Shared.csproj | 17 ++++------ 7 files changed, 46 insertions(+), 49 deletions(-) diff --git a/grid/pdf-export-server/Client/Pages/Index.razor b/grid/pdf-export-server/Client/Pages/Index.razor index 1ddd9d02..2fcbfb72 100644 --- a/grid/pdf-export-server/Client/Pages/Index.razor +++ b/grid/pdf-export-server/Client/Pages/Index.razor @@ -1,4 +1,5 @@ @page "/" +@using Telerik.SvgIcons @using ServerPdfExport.Shared @using ServerPdfExport.Client.Services @@ -19,7 +20,7 @@ - Export to PDF + Export to PDF diff --git a/grid/pdf-export-server/Client/ServerPdfExport.Client.csproj b/grid/pdf-export-server/Client/ServerPdfExport.Client.csproj index bf235eca..e3fd218b 100644 --- a/grid/pdf-export-server/Client/ServerPdfExport.Client.csproj +++ b/grid/pdf-export-server/Client/ServerPdfExport.Client.csproj @@ -1,15 +1,14 @@ - - net5.0 + net8.0 - - - - + + + + - + \ No newline at end of file diff --git a/grid/pdf-export-server/PdfExport/PdfExport.csproj b/grid/pdf-export-server/PdfExport/PdfExport.csproj index a6248cc0..d22e21e1 100644 --- a/grid/pdf-export-server/PdfExport/PdfExport.csproj +++ b/grid/pdf-export-server/PdfExport/PdfExport.csproj @@ -1,19 +1,21 @@ - + - net5.0 + net8.0 latest - - - + + + - - + + - + + + diff --git a/grid/pdf-export-server/Server/ServerPdfExport.Server.csproj b/grid/pdf-export-server/Server/ServerPdfExport.Server.csproj index cb9f88f8..bc491c3c 100644 --- a/grid/pdf-export-server/Server/ServerPdfExport.Server.csproj +++ b/grid/pdf-export-server/Server/ServerPdfExport.Server.csproj @@ -1,18 +1,14 @@ - - - - net5.0 - - - - - - - - - - - - - - + + + net8.0 + + + + + + + + + + + \ No newline at end of file diff --git a/grid/pdf-export-server/ServerSideSample/Pages/Index.razor b/grid/pdf-export-server/ServerSideSample/Pages/Index.razor index 878ea1bd..f23f6a10 100644 --- a/grid/pdf-export-server/ServerSideSample/Pages/Index.razor +++ b/grid/pdf-export-server/ServerSideSample/Pages/Index.razor @@ -1,4 +1,5 @@ @page "/" +@using Telerik.SvgIcons @using ServerSideSample.Data @using Telerik.DataSource @@ -11,7 +12,7 @@ Sortable="true" Pageable="true" PageSize="20" TItem="@WeatherForecast" OnRead="@ReadItems"> - Export to PDF + Export to PDF diff --git a/grid/pdf-export-server/ServerSideSample/ServerSideSample.csproj b/grid/pdf-export-server/ServerSideSample/ServerSideSample.csproj index e9aacddc..f6e4fd0b 100644 --- a/grid/pdf-export-server/ServerSideSample/ServerSideSample.csproj +++ b/grid/pdf-export-server/ServerSideSample/ServerSideSample.csproj @@ -1,12 +1,13 @@ - + - net5.0 + net8.0 - + - \ No newline at end of file + + diff --git a/grid/pdf-export-server/Shared/ServerPdfExport.Shared.csproj b/grid/pdf-export-server/Shared/ServerPdfExport.Shared.csproj index da826f5e..2860b3cd 100644 --- a/grid/pdf-export-server/Shared/ServerPdfExport.Shared.csproj +++ b/grid/pdf-export-server/Shared/ServerPdfExport.Shared.csproj @@ -1,12 +1,9 @@ - - + - net5.0 + net8.0 - - - - - - - + + + + + \ No newline at end of file From ade1c73bb4f088fee0d70af956df46700fce7560 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 11:35:30 -0400 Subject: [PATCH 37/69] Update project to .NET 8.0 and package references The project file `persist_selection.csproj` has been modified to target .NET 8.0 instead of .NET Core 3.1. The version specification for the `Telerik.UI.for.Blazor` package has also been removed to allow for the latest version to be used. --- grid/persist-selection/persist_selection.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/grid/persist-selection/persist_selection.csproj b/grid/persist-selection/persist_selection.csproj index e784e48f..8f122895 100644 --- a/grid/persist-selection/persist_selection.csproj +++ b/grid/persist-selection/persist_selection.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + From 373662ab96728838c8cf8a803dcd9221adb1ec14 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Wed, 17 Sep 2025 14:10:46 -0400 Subject: [PATCH 38/69] Update icons and upgrade .NET framework version Modified `GridCommandButton` icons in `PrintSomeColumns.razor` and `PrintWholeGrid.razor` to use `Telerik.SvgIcons` for improved consistency. Updated target framework in `PrintGrid.csproj` from `netcoreapp3.1` to `net8.0` and removed specific version from `Telerik.UI.for.Blazor` package reference. --- grid/print/Pages/PrintSomeColumns.razor | 11 ++++++----- grid/print/Pages/PrintWholeGrid.razor | 3 ++- grid/print/PrintGrid.csproj | 8 +++++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/grid/print/Pages/PrintSomeColumns.razor b/grid/print/Pages/PrintSomeColumns.razor index 62669062..5bc50e93 100644 --- a/grid/print/Pages/PrintSomeColumns.razor +++ b/grid/print/Pages/PrintSomeColumns.razor @@ -1,4 +1,5 @@ @page "/print-columns" +@using Telerik.SvgIcons @inject IJSRuntime JsInterop @@ -7,7 +8,7 @@ FilterMode="Telerik.Blazor.GridFilterMode.FilterRow" Resizable="true" Reorderable="true"> - Print + Print @*Use the Visible parameter of the columns to define which of them will not be visible in print mode.*@ @@ -19,10 +20,10 @@ @*Command column is included only for presentation purposes. No handlers are set for the command buttons.*@ - Update - Edit - Delete - Cancel + Update + Edit + Delete + Cancel diff --git a/grid/print/Pages/PrintWholeGrid.razor b/grid/print/Pages/PrintWholeGrid.razor index 1e5cdd06..9619a539 100644 --- a/grid/print/Pages/PrintWholeGrid.razor +++ b/grid/print/Pages/PrintWholeGrid.razor @@ -1,4 +1,5 @@ @page "/" +@using Telerik.SvgIcons @inject IJSRuntime JsInterop @@ -49,7 +50,7 @@ FilterMode="Telerik.Blazor.GridFilterMode.FilterRow" Resizable="true" Reorderable="true"> - Print + Print diff --git a/grid/print/PrintGrid.csproj b/grid/print/PrintGrid.csproj index 7af5c87d..8f122895 100644 --- a/grid/print/PrintGrid.csproj +++ b/grid/print/PrintGrid.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + From 03bedf135dd601aa3ea2588cb3a8ec2040c3051f Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 14:50:01 -0400 Subject: [PATCH 39/69] Upgrade to .NET 8.0 and update package references - Updated `RemoteValidationWasm.Client.csproj`, `RemoteValidationWasm.Server.csproj`, and `RemoteValidationWasm.Shared.csproj` to target .NET 8.0. - Removed version specifications for package references in the client and server projects to allow for the latest versions. - No significant changes made to `Index.razor`. --- grid/remote-validation/Client/Pages/Index.razor | 2 +- .../Client/RemoteValidationWasm.Client.csproj | 14 +++++--------- .../Server/RemoteValidationWasm.Server.csproj | 10 +++------- .../Shared/RemoteValidationWasm.Shared.csproj | 3 ++- 4 files changed, 11 insertions(+), 18 deletions(-) diff --git a/grid/remote-validation/Client/Pages/Index.razor b/grid/remote-validation/Client/Pages/Index.razor index daf34c79..937a3518 100644 --- a/grid/remote-validation/Client/Pages/Index.razor +++ b/grid/remote-validation/Client/Pages/Index.razor @@ -24,7 +24,7 @@ Pageable="true" Height="500px"> - Add Item + Add Item diff --git a/grid/remote-validation/Client/RemoteValidationWasm.Client.csproj b/grid/remote-validation/Client/RemoteValidationWasm.Client.csproj index ea36d564..995e6214 100644 --- a/grid/remote-validation/Client/RemoteValidationWasm.Client.csproj +++ b/grid/remote-validation/Client/RemoteValidationWasm.Client.csproj @@ -1,22 +1,18 @@ - - net6.0 + net8.0 enable enable - true - - - + + + - - - + \ No newline at end of file diff --git a/grid/remote-validation/Server/RemoteValidationWasm.Server.csproj b/grid/remote-validation/Server/RemoteValidationWasm.Server.csproj index 844bda65..64659d09 100644 --- a/grid/remote-validation/Server/RemoteValidationWasm.Server.csproj +++ b/grid/remote-validation/Server/RemoteValidationWasm.Server.csproj @@ -1,18 +1,14 @@ - - net6.0 + net8.0 enable enable - - + - - - + \ No newline at end of file diff --git a/grid/remote-validation/Shared/RemoteValidationWasm.Shared.csproj b/grid/remote-validation/Shared/RemoteValidationWasm.Shared.csproj index 47cf66c4..374c3c40 100644 --- a/grid/remote-validation/Shared/RemoteValidationWasm.Shared.csproj +++ b/grid/remote-validation/Shared/RemoteValidationWasm.Shared.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable @@ -10,3 +10,4 @@ + From c220de99fd9fbe661d96badaae1c668b2c7a21d1 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 14:54:50 -0400 Subject: [PATCH 40/69] Update Telerik components and upgrade to .NET 8.0 Added Telerik Blazor components and SVG icons in `ExplicitSerialization.razor` and `Index.razor`. Updated grid command buttons to use SVG icons. Changed grid state reset method from `SetState` to `SetStateAsync`. Upgraded project target framework from .NET 5.0 to .NET 8.0 and updated Telerik UI package reference to the latest version. --- .../Pages/ExplicitSerialization.razor | 15 +++++++++------ .../Pages/Index.razor | 15 +++++++++------ .../StateInProtectedBrowserStorage.csproj | 8 +++++--- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/ExplicitSerialization.razor b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/ExplicitSerialization.razor index a5f15fa9..c136b7b6 100644 --- a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/ExplicitSerialization.razor +++ b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/ExplicitSerialization.razor @@ -8,6 +8,9 @@ @using System.Text.Json @using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage @inject ProtectedLocalStorage _MsBrowserStorage +@using Telerik.SvgIcons +@using Telerik.Blazor +@using Telerik.Blazor.Components Change something in the grid (like sort, filter, select, page, resize columns, etc.), then reload the page to see the grid state fetched from the browser local storage.
@@ -31,14 +34,14 @@ Change something in the grid (like sort, filter, select, page, resize columns, e - Edit - Delete - Save - Cancel + Edit + Delete + Save + Cancel - Add Employee + Add Employee @@ -97,7 +100,7 @@ Change something in the grid (like sort, filter, select, page, resize columns, e // clean up the storage await _MsBrowserStorage.DeleteAsync(UniqueStorageKey); - await Grid.SetState(null); // pass null to reset the state + await Grid.SetStateAsync(null); // pass null to reset the state } void ReloadPage() diff --git a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/Index.razor b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/Index.razor index 61a08cf3..7fec805c 100644 --- a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/Index.razor +++ b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/Pages/Index.razor @@ -7,6 +7,9 @@ @using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage @inject ProtectedLocalStorage _MsBrowserStorage +@using Telerik.SvgIcons +@using Telerik.Blazor +@using Telerik.Blazor.Components Change something in the grid (like sort, filter, select, page, resize columns, etc.), then reload the page to see the grid state fetched from the browser local storage.
@@ -30,14 +33,14 @@ Change something in the grid (like sort, filter, select, page, resize columns, e - Edit - Delete - Save - Cancel + Edit + Delete + Save + Cancel - Add Employee + Add Employee @@ -96,7 +99,7 @@ Change something in the grid (like sort, filter, select, page, resize columns, e // clean up the storage await _MsBrowserStorage.DeleteAsync(UniqueStorageKey); - await Grid.SetState(null); // pass null to reset the state + await Grid.SetStateAsync(null); // pass null to reset the state } void ReloadPage() diff --git a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/StateInProtectedBrowserStorage.csproj b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/StateInProtectedBrowserStorage.csproj index ffa82f07..acff9728 100644 --- a/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/StateInProtectedBrowserStorage.csproj +++ b/grid/save-state-in-ProtectedBrowserStorage/StateInProtectedBrowserStorage/StateInProtectedBrowserStorage.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 388c1af17714a0fbf10f61297ff5df01e6183622 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:24:12 -0400 Subject: [PATCH 41/69] Update package references and clean up Directory.Packages.props Removed comment about System.Data.SqlClient replacement. Added a new ItemGroup for .NET 8, retaining only referenced packages, including Microsoft.AspNetCore.Components.WebAssembly and Telerik UI for Blazor. --- Directory.Packages.props | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index d6ca4646..b584381d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -63,7 +63,6 @@ - @@ -82,4 +81,15 @@ + + + + + + + + + + + \ No newline at end of file From 64e8407ec723237b531c44d95f5fa134a176f52b Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:24:31 -0400 Subject: [PATCH 42/69] Update project to target .NET 8.0 and improve UI - Updated `.csproj` files for Client, Server, and Shared projects to target .NET 8.0. - Removed specific package versions for `Microsoft.AspNetCore.Components.WebAssembly`, `Microsoft.AspNetCore.Components.WebAssembly.DevServer`, and `System.Net.Http.Json` to use the latest versions. - Enhanced grid command button icons in `SaveStateThroughController.razor` and `SaveStateThroughLocalStorage.razor` to use `Telerik.SvgIcons`. - Changed method calls from `SetState` to `SetStateAsync` for better asynchronous handling of grid state. - Updated `ResetState` method to use `SetStateAsync` for consistency in state management. --- .../GridSavingStateInController.Client.csproj | 11 +++++------ .../Client/Pages/SaveStateThroughController.razor | 15 +++++++++------ .../Pages/SaveStateThroughLocalStorage.razor | 15 +++++++++------ .../GridSavingStateInController.Server.csproj | 12 ++++-------- .../GridSavingStateInController.Shared.csproj | 8 +++++--- 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/GridSavingStateInController.Client.csproj b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/GridSavingStateInController.Client.csproj index 1958321c..b96530db 100644 --- a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/GridSavingStateInController.Client.csproj +++ b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/GridSavingStateInController.Client.csproj @@ -1,14 +1,13 @@ - - net5.0 + net8.0 - - - + + + - +
\ No newline at end of file diff --git a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughController.razor b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughController.razor index 3a1e4064..df081558 100644 --- a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughController.razor +++ b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughController.razor @@ -2,6 +2,9 @@ @page "/save-state-controller" @using GridSavingStateInController.Shared +@using Telerik.SvgIcons; +@using Telerik.Blazor +@using Telerik.Blazor.Components @inject HttpClient Http @inject IJSRuntime JsInterop @@ -26,14 +29,14 @@ - Edit - Delete - Save - Cancel + Edit + Delete + Save + Cancel - Add Employee + Add Employee @@ -63,7 +66,7 @@ { var state = await Http.GetFromJsonAsync>("getstate"); - await Grid.SetState(state); + await Grid.SetStateAsync(state); } async Task UpdateItem(GridCommandEventArgs args) diff --git a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughLocalStorage.razor b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughLocalStorage.razor index 98c06413..3cba8f01 100644 --- a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughLocalStorage.razor +++ b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Client/Pages/SaveStateThroughLocalStorage.razor @@ -1,6 +1,9 @@ @page "/save-state-localstorage" @using Services; +@using Telerik.SvgIcons; +@using Telerik.Blazor +@using Telerik.Blazor.Components @inject LocalStorage LocalStorage @inject IJSRuntime JsInterop @@ -27,14 +30,14 @@ - Edit - Delete - Save - Cancel + Edit + Delete + Save + Cancel - Add Employee + Add Employee @@ -86,7 +89,7 @@ // clean up the storage await LocalStorage.RemoveItem(UniqueStorageKey); - await Grid.SetState(null); // pass null to reset the state + await Grid.SetStateAsync(null); // pass null to reset the state } void ReloadPage() diff --git a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Server/GridSavingStateInController.Server.csproj b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Server/GridSavingStateInController.Server.csproj index bfc41927..ae0262ff 100644 --- a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Server/GridSavingStateInController.Server.csproj +++ b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Server/GridSavingStateInController.Server.csproj @@ -1,16 +1,12 @@ - - + - net5.0 + net8.0 - - + - - - + \ No newline at end of file diff --git a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Shared/GridSavingStateInController.Shared.csproj b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Shared/GridSavingStateInController.Shared.csproj index 0137dd81..ba6f6ff3 100644 --- a/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Shared/GridSavingStateInController.Shared.csproj +++ b/grid/save-state-in-wasm-through-controller/GridSavingStateInController/Shared/GridSavingStateInController.Shared.csproj @@ -1,11 +1,13 @@ - + - netstandard2.1 + net8.0 - + + + From 4ca450d092d6064cc07f8ecaf6cf71b82dabc709 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:40:21 -0400 Subject: [PATCH 43/69] Update Telerik components and target .NET 8.0 - Added using directives for Telerik.SvgIcons and Telerik.Blazor in Index.razor. - Modified TelerikTextArea attributes for better usability. - Changed delete button icon to use SvgIcon.Trash. - Updated project to target .NET 8.0 and use the latest Telerik.UI.for.Blazor package. --- .../Pages/Index.razor | 6 ++++-- .../pre_validate_item_for_grid_state_init.csproj | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/Pages/Index.razor b/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/Pages/Index.razor index 95139433..5f728b50 100644 --- a/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/Pages/Index.razor +++ b/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/Pages/Index.razor @@ -4,10 +4,12 @@ @using pre_validate_item_for_grid_state_init.Services @using System.ComponentModel.DataAnnotations; @inject WeatherForecastService ForecastService +@using Telerik.SvgIcons +@using Telerik.Blazor Add Forecast Discard current forecast being edited with annotation message - + @@ -18,7 +20,7 @@ - + diff --git a/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/pre_validate_item_for_grid_state_init.csproj b/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/pre_validate_item_for_grid_state_init.csproj index ee6945f8..acff9728 100644 --- a/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/pre_validate_item_for_grid_state_init.csproj +++ b/grid/validate-edit-item-from-grid-state/pre-validate-item-for-grid-state-init/pre_validate_item_for_grid_state_init.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 1c95675eea19cf53bce1a820c3de88ca09e0ad3a Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:45:05 -0400 Subject: [PATCH 44/69] Update project to .NET 8.0 and package references The project file `item_selection.csproj` has been modified to target .NET 8.0 instead of .NET Core 3.1. The version specification for the `Telerik.UI.for.Blazor` package reference has also been removed, allowing for the latest version to be utilized. --- listview/item-selection/item_selection.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/listview/item-selection/item_selection.csproj b/listview/item-selection/item_selection.csproj index df69de14..c7fcfc9b 100644 --- a/listview/item-selection/item_selection.csproj +++ b/listview/item-selection/item_selection.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + From e6323a28a7d258c9ce2edc89dbf13a3c91bf5c32 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:50:01 -0400 Subject: [PATCH 45/69] Update icons and target framework in Razor components Refactor command button icons to use `@SvgIcon` syntax for improved maintainability. Update project target framework from `netcoreapp3.1` to `net8.0` and modify Telerik UI package reference to the latest version. Include `Telerik.SvgIcons` namespace in `_Imports.razor` for new icon references. --- .../ValidationExamples/Pages/AsyncMethods.razor | 10 +++++----- .../ValidationExamples/Pages/BasicFormValidation.razor | 10 +++++----- .../ValidationExamples/Pages/CustomForm.razor | 10 +++++----- .../ValidationExamples/ValidationExamples.csproj | 8 +++++--- .../ValidationExamples/_Imports.razor | 3 ++- 5 files changed, 22 insertions(+), 19 deletions(-) diff --git a/listview/ValidationExamples/ValidationExamples/Pages/AsyncMethods.razor b/listview/ValidationExamples/ValidationExamples/Pages/AsyncMethods.razor index 195e4399..865848ae 100644 --- a/listview/ValidationExamples/ValidationExamples/Pages/AsyncMethods.razor +++ b/listview/ValidationExamples/ValidationExamples/Pages/AsyncMethods.razor @@ -27,8 +27,8 @@ - Save - Cancel + Save + Cancel } } @@ -38,12 +38,12 @@
Employee: @context.Id
Name: @context.Name in team: @context.Team - Edit - Delete + Edit + Delete
- Add Employee + Add Employee

In this sample, the first item will not open for editing because of the code in the OnEdit handler

diff --git a/listview/ValidationExamples/ValidationExamples/Pages/BasicFormValidation.razor b/listview/ValidationExamples/ValidationExamples/Pages/BasicFormValidation.razor index 9fb1c7e2..f347f445 100644 --- a/listview/ValidationExamples/ValidationExamples/Pages/BasicFormValidation.razor +++ b/listview/ValidationExamples/ValidationExamples/Pages/BasicFormValidation.razor @@ -27,8 +27,8 @@ - Save - Cancel + Save + Cancel } @@ -37,12 +37,12 @@
Employee: @context.Id
Name: @context.Name in team: @context.Team - Edit - Delete + Edit + Delete
- Add Employee + Add Employee

In this sample, the first item will not open for editing because of the code in the OnEdit handler

diff --git a/listview/ValidationExamples/ValidationExamples/Pages/CustomForm.razor b/listview/ValidationExamples/ValidationExamples/Pages/CustomForm.razor index 39900a14..3b09b0f0 100644 --- a/listview/ValidationExamples/ValidationExamples/Pages/CustomForm.razor +++ b/listview/ValidationExamples/ValidationExamples/Pages/CustomForm.razor @@ -11,12 +11,12 @@
Employee: @context.Id
Name: @context.Name in team: @context.Team - Edit - Delete + Edit + Delete
- Add Employee + Add Employee @@ -49,8 +49,8 @@
- Save - Cancel + Save + Cancel
diff --git a/listview/ValidationExamples/ValidationExamples/ValidationExamples.csproj b/listview/ValidationExamples/ValidationExamples/ValidationExamples.csproj index 176f2878..c7fcfc9b 100644 --- a/listview/ValidationExamples/ValidationExamples/ValidationExamples.csproj +++ b/listview/ValidationExamples/ValidationExamples/ValidationExamples.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + diff --git a/listview/ValidationExamples/ValidationExamples/_Imports.razor b/listview/ValidationExamples/ValidationExamples/_Imports.razor index a0cbc87d..756cd217 100644 --- a/listview/ValidationExamples/ValidationExamples/_Imports.razor +++ b/listview/ValidationExamples/ValidationExamples/_Imports.razor @@ -8,4 +8,5 @@ @using ValidationExamples @using ValidationExamples.Shared @using Telerik.Blazor -@using Telerik.Blazor.Components \ No newline at end of file +@using Telerik.Blazor.Components +@using Telerik.SvgIcons \ No newline at end of file From 52a9888f7222ebc38f5158a4a402563f499a152c Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:51:27 -0400 Subject: [PATCH 46/69] Update project to target .NET 8.0 and package reference The project file `block_all_content.csproj` has been updated to target .NET 8.0 instead of .NET 5.0. Additionally, the version specification for the `Telerik.UI.for.Blazor` package reference has been removed, allowing it to use the latest available version instead of a specific version (2.22.0). --- .../block-all-content/block_all_content.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/loader/block-all-content/block-all-content/block_all_content.csproj b/loader/block-all-content/block-all-content/block_all_content.csproj index ec736e0c..b584367e 100644 --- a/loader/block-all-content/block-all-content/block_all_content.csproj +++ b/loader/block-all-content/block-all-content/block_all_content.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 540d17f286e78a88f6759287583680474e4593df Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:53:18 -0400 Subject: [PATCH 47/69] Update project to .NET 8 and adjust loader settings - Removed `Size` attribute from `TelerikLoaderContainer` in `MainLayout.razor`. - Updated target framework from `.NET 5.0` to `.NET 8.0` in `loader_container_main_layout_usage.csproj`. - Removed version number for `Telerik.UI.for.Blazor` to use the latest version. --- .../Shared/MainLayout.razor | 2 +- .../loader_container_main_layout_usage.csproj | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/loader/slow-page-or-component/loader-container-main-layout-usage/Shared/MainLayout.razor b/loader/slow-page-or-component/loader-container-main-layout-usage/Shared/MainLayout.razor index 1de9654f..3d7a1c22 100644 --- a/loader/slow-page-or-component/loader-container-main-layout-usage/Shared/MainLayout.razor +++ b/loader/slow-page-or-component/loader-container-main-layout-usage/Shared/MainLayout.razor @@ -11,7 +11,7 @@ About - +
diff --git a/loader/slow-page-or-component/loader-container-main-layout-usage/loader_container_main_layout_usage.csproj b/loader/slow-page-or-component/loader-container-main-layout-usage/loader_container_main_layout_usage.csproj index 2ec2bdf3..79e7e315 100644 --- a/loader/slow-page-or-component/loader-container-main-layout-usage/loader_container_main_layout_usage.csproj +++ b/loader/slow-page-or-component/loader-container-main-layout-usage/loader_container_main_layout_usage.csproj @@ -1,12 +1,14 @@ - + - net5.0 + net8.0 - + + + From 3b6f4c24905824bae1469447e5bf804c52d50f16 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:54:59 -0400 Subject: [PATCH 48/69] Update project to target .NET 8.0 and package version The project file `MultiSelectAndAddButton.csproj` has been updated to target .NET 8.0 instead of .NET 5.0. Additionally, the version specification for the `Telerik.UI.for.Blazor` package has been removed, allowing for the latest version to be used instead of a specific version (3.0.1). --- .../MultiSelectAndAddButton.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/multiselect/add-new-item/MultiSelectAndAddButton/MultiSelectAndAddButton/MultiSelectAndAddButton.csproj b/multiselect/add-new-item/MultiSelectAndAddButton/MultiSelectAndAddButton/MultiSelectAndAddButton.csproj index 066af800..b584367e 100644 --- a/multiselect/add-new-item/MultiSelectAndAddButton/MultiSelectAndAddButton/MultiSelectAndAddButton.csproj +++ b/multiselect/add-new-item/MultiSelectAndAddButton/MultiSelectAndAddButton/MultiSelectAndAddButton.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 440d484e604fa3f313334a6434edb23e941a013e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Thu, 18 Sep 2025 15:56:44 -0400 Subject: [PATCH 49/69] Update Telerik.UI.for.Blazor package reference Removed specific versioning for the Telerik.UI.for.Blazor package, allowing the project to use the latest available version instead of being locked to version 6.2.0. --- rootcomponent/BlazorWebAppServer/BlazorWebAppServer.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootcomponent/BlazorWebAppServer/BlazorWebAppServer.csproj b/rootcomponent/BlazorWebAppServer/BlazorWebAppServer.csproj index 343875dd..f3944c84 100644 --- a/rootcomponent/BlazorWebAppServer/BlazorWebAppServer.csproj +++ b/rootcomponent/BlazorWebAppServer/BlazorWebAppServer.csproj @@ -9,7 +9,8 @@ - + + From b0e56d27edef95acb7c8c226b0275316a2f061ec Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 10:44:27 -0400 Subject: [PATCH 50/69] Update target framework to .NET 8 and package reference Migrated the project from `netcoreapp3.1` to `net8.0`. Removed the specific version for the `Telerik.UI.for.Blazor` package to allow for the latest version usage. --- scheduler/custom-edit-form/custom_edit_form.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scheduler/custom-edit-form/custom_edit_form.csproj b/scheduler/custom-edit-form/custom_edit_form.csproj index 4b93fb94..8f122895 100644 --- a/scheduler/custom-edit-form/custom_edit_form.csproj +++ b/scheduler/custom-edit-form/custom_edit_form.csproj @@ -1,12 +1,14 @@ - + - netcoreapp3.1 + net8.0 7.3 - + + + From 21d47de69781e298178eeaf46427b8788ab5b13b Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 10:46:20 -0400 Subject: [PATCH 51/69] Update project to .NET 8.0 and add Newtonsoft.Json The project file `ICS_Data_Convertion.csproj` has been modified to target .NET 8.0 instead of .NET Core 3.1. A new package reference for `Newtonsoft.Json` has been added, and the `Telerik.UI.for.Blazor` package reference has been updated to use the latest version without a specified version number. --- .../ICS_Data_Convertion/ICS_Data_Convertion.csproj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scheduler/ICS-data-convertion/ICS_Data_Convertion/ICS_Data_Convertion.csproj b/scheduler/ICS-data-convertion/ICS_Data_Convertion/ICS_Data_Convertion.csproj index 7f834774..00cfcd07 100644 --- a/scheduler/ICS-data-convertion/ICS_Data_Convertion/ICS_Data_Convertion.csproj +++ b/scheduler/ICS-data-convertion/ICS_Data_Convertion/ICS_Data_Convertion.csproj @@ -1,7 +1,7 @@ - + - netcoreapp3.1 + net8.0 @@ -12,7 +12,10 @@ - + + + + From 329beb334b43294472f6a543c5697763959faf62 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 10:48:08 -0400 Subject: [PATCH 52/69] Update framework to net8.0 and refine comments - Updated the target framework in `load_appointments_on_demand.csproj` from `net5.0` to `net8.0`. - Removed version specification for `Telerik.UI.for.Blazor` to allow for automatic updates. - Clarified comments in `SchedulerLodService.cs` regarding in-memory filtering of appointments, while keeping the filtering logic unchanged. --- .../Services/SchedulerLodService.cs | 2 +- .../load_appointments_on_demand.csproj | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scheduler/load-appointments-on-demand/load-appointments-on-demand/Services/SchedulerLodService.cs b/scheduler/load-appointments-on-demand/load-appointments-on-demand/Services/SchedulerLodService.cs index 67fe2e28..06671da2 100644 --- a/scheduler/load-appointments-on-demand/load-appointments-on-demand/Services/SchedulerLodService.cs +++ b/scheduler/load-appointments-on-demand/load-appointments-on-demand/Services/SchedulerLodService.cs @@ -74,7 +74,7 @@ private async Task> GetFilteredAppointmentsPerRangeFr // here we just filter in memory for demonstration purposes because it is easy to follow in the example // do NOT do this in the real app - this is the equivalend of selecting all rows, getting them to the app and filtering here appointments = appointments.Where(a => - (a.Start.Date < endData.Date && a.End.Date > startDate.Date) //OR ends in the current range + (a.Start.Date < endDate.Date && a.End.Date > startDate.Date) //OR ends in the current range ).ToList(); // always add all recurring ones if you don't want to expand and diff --git a/scheduler/load-appointments-on-demand/load-appointments-on-demand/load_appointments_on_demand.csproj b/scheduler/load-appointments-on-demand/load-appointments-on-demand/load_appointments_on_demand.csproj index 16d763a8..acff9728 100644 --- a/scheduler/load-appointments-on-demand/load-appointments-on-demand/load_appointments_on_demand.csproj +++ b/scheduler/load-appointments-on-demand/load-appointments-on-demand/load_appointments_on_demand.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 907065737f625bf0ca101144277f369790a6f664 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 11:05:56 -0400 Subject: [PATCH 53/69] Upgrade to .NET 8.0 and update Telerik theme styles - Updated `_Layout.cshtml` to include the new Telerik theme stylesheet and removed the old Blazor UI styles. - Changed `ReadOnlySlots.csproj` to target .NET 8.0 and modified the `PackageReference` for `Telerik.UI.for.Blazor` to allow for flexible version management. --- .../ReadOnlySlots/Pages/_Layout.cshtml | 3 ++- .../ReadOnlySlots/ReadOnlySlots.csproj | 12 +++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/scheduler/readonly-slots/ReadOnlySlots/Pages/_Layout.cshtml b/scheduler/readonly-slots/ReadOnlySlots/Pages/_Layout.cshtml index 23ca0ba0..c42ea495 100644 --- a/scheduler/readonly-slots/ReadOnlySlots/Pages/_Layout.cshtml +++ b/scheduler/readonly-slots/ReadOnlySlots/Pages/_Layout.cshtml @@ -11,9 +11,10 @@ + + - @RenderBody() diff --git a/scheduler/readonly-slots/ReadOnlySlots/ReadOnlySlots.csproj b/scheduler/readonly-slots/ReadOnlySlots/ReadOnlySlots.csproj index 95132c4d..154cc1bb 100644 --- a/scheduler/readonly-slots/ReadOnlySlots/ReadOnlySlots.csproj +++ b/scheduler/readonly-slots/ReadOnlySlots/ReadOnlySlots.csproj @@ -1,13 +1,11 @@ - - + - net6.0 + net8.0 enable enable - - + + - - + \ No newline at end of file From 887bc854a1d5095c580ddfe7d616b72f964e4966 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 11:15:14 -0400 Subject: [PATCH 54/69] Refactor layout styles and upgrade project dependencies - Moved global CSS rules for 100% height from `MainLayout.razor` to `site.css` to resolve Razor parsing issues. - Updated target framework from .NET 5.0 to .NET 8.0. - Modified `Telerik.UI.for.Blazor` package reference to use the latest version. - Defined `margin` and `overflow` properties in `site.css` for proper layout behavior. --- .../use-100-percent-viewport/Shared/MainLayout.razor | 11 +---------- .../use_100_percent_viewport.csproj | 8 +++++--- .../use-100-percent-viewport/wwwroot/css/site.css | 2 ++ 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/splitter/use-100-percent-viewport/use-100-percent-viewport/Shared/MainLayout.razor b/splitter/use-100-percent-viewport/use-100-percent-viewport/Shared/MainLayout.razor index 298f2182..0cc317d5 100644 --- a/splitter/use-100-percent-viewport/use-100-percent-viewport/Shared/MainLayout.razor +++ b/splitter/use-100-percent-viewport/use-100-percent-viewport/Shared/MainLayout.razor @@ -2,16 +2,7 @@ @inherits LayoutComponentBase - +@* Moved global 100% height styles to site.css to avoid Razor parsing issue *@ diff --git a/splitter/use-100-percent-viewport/use-100-percent-viewport/use_100_percent_viewport.csproj b/splitter/use-100-percent-viewport/use-100-percent-viewport/use_100_percent_viewport.csproj index 73311e6c..acff9728 100644 --- a/splitter/use-100-percent-viewport/use-100-percent-viewport/use_100_percent_viewport.csproj +++ b/splitter/use-100-percent-viewport/use-100-percent-viewport/use_100_percent_viewport.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + diff --git a/splitter/use-100-percent-viewport/use-100-percent-viewport/wwwroot/css/site.css b/splitter/use-100-percent-viewport/use-100-percent-viewport/wwwroot/css/site.css index 5e073511..8e13117b 100644 --- a/splitter/use-100-percent-viewport/use-100-percent-viewport/wwwroot/css/site.css +++ b/splitter/use-100-percent-viewport/use-100-percent-viewport/wwwroot/css/site.css @@ -3,6 +3,8 @@ html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; height: 100%; + margin: 0; + overflow: hidden; /* required for 100% viewport splitter layout */ } a, .btn-link { From 36590c08d8c380cb63a06ffae304485b21cff048 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:33:33 -0400 Subject: [PATCH 55/69] Update package versions in Directory.Packages.props Consolidated and organized package versions, adding new packages for Azure, Blazor, testing, EF Core, and experimental AI extensions. Removed `JustMock`, `Microsoft.Data.SqlClient`, and `ReverseMarkdown`. Introduced `Microsoft.Extensions.AI` and `Telerik.UI.for.Blazor` to enhance functionality. --- Directory.Packages.props | 67 ++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 26 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b584381d..3d951eeb 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,20 +2,31 @@ true - - - - - + + + + + + + + + + + + + + + + @@ -23,9 +34,13 @@ - + + + + + @@ -41,31 +56,45 @@ + + + + + + + + - + + + + - - - - - + + + + + + + + @@ -76,20 +105,6 @@ - - - - - - - - - - - - - - \ No newline at end of file From 8aa3815fa05fac2648c062ab44d46b3f3dc19bc6 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:33:50 -0400 Subject: [PATCH 56/69] Update Telerik components and target framework to net8.0 Refactor `ExampleModelTest.cs` to simplify access to `TelerikTextBox` by retrieving it directly from `formPage` instead of through `FormItem`. Update `Telerik.Blazor.BUnit.JustMock.csproj` and `BUnit_Sample.csproj` to target `net8.0` and remove specific version numbers from package references for better dependency management. --- .../DemoSample/ExampleModelTest.cs | 3 +-- .../Telerik.Blazor.BUnit.JustMock.csproj | 25 ++++++++----------- .../BUnit_Sample/BUnit_Sample.csproj | 4 +-- 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/DemoSample/ExampleModelTest.cs b/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/DemoSample/ExampleModelTest.cs index 0d4f7557..30fcd06d 100644 --- a/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/DemoSample/ExampleModelTest.cs +++ b/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/DemoSample/ExampleModelTest.cs @@ -23,8 +23,7 @@ public void Name_Initial_Value() var form = formPage.FindComponent(); - var formItem = form.FindComponent(); - var textboxComponent = formItem.FindComponent(); + var textboxComponent = formPage.FindComponent(); var tbText = textboxComponent.Instance.Value; diff --git a/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/Telerik.Blazor.BUnit.JustMock.csproj b/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/Telerik.Blazor.BUnit.JustMock.csproj index 49ed54c5..b6f2abb8 100644 --- a/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/Telerik.Blazor.BUnit.JustMock.csproj +++ b/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/Telerik.Blazor.BUnit.JustMock.csproj @@ -1,29 +1,24 @@ - - + - net6.0 - + net8.0 false - - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + - - + \ No newline at end of file diff --git a/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj b/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj index 3bf0d0d3..20fb562e 100644 --- a/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj +++ b/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj @@ -1,11 +1,11 @@  - net6.0 + net8.0 - + From cd7e1717b7264ea9268a9b556eeacf5dfd62ca9b Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:36:07 -0400 Subject: [PATCH 57/69] Update project to .NET 8 and add Telerik package Modified `BUnit_Sample.csproj` to target .NET 8 and included a package reference for `Telerik.UI.for.Blazor`. --- testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj b/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj index 20fb562e..dc3925e2 100644 --- a/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj +++ b/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -9,3 +9,5 @@ + + From 674d9d6f30d6010694651e5f97acc097c0aadc0e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:38:32 -0400 Subject: [PATCH 58/69] Update project to .NET 8.0 and enhance UI components - Changed target framework in `AddRemoveTiles.csproj` to .NET 8.0. - Removed version specification for `Telerik.UI.for.Blazor` package. - Added using directives for `Telerik.SvgIcons` and `Telerik.Blazor` in `Index.razor`. - Updated delete button to use SVG icon (`@SvgIcon.X`). - Changed `CardActions` layout from `Stretched` to `Start` and updated add button to use SVG icon (`@SvgIcon.Plus`). --- .../add-remove-tiles/AddRemoveTiles/AddRemoveTiles.csproj | 8 +++++--- .../add-remove-tiles/AddRemoveTiles/Pages/Index.razor | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tilelayout/add-remove-tiles/AddRemoveTiles/AddRemoveTiles.csproj b/tilelayout/add-remove-tiles/AddRemoveTiles/AddRemoveTiles.csproj index 7e2abb76..c5723d33 100644 --- a/tilelayout/add-remove-tiles/AddRemoveTiles/AddRemoveTiles.csproj +++ b/tilelayout/add-remove-tiles/AddRemoveTiles/AddRemoveTiles.csproj @@ -1,12 +1,12 @@ - + - net5.0 + net8.0 - + @@ -17,3 +17,5 @@ + + diff --git a/tilelayout/add-remove-tiles/AddRemoveTiles/Pages/Index.razor b/tilelayout/add-remove-tiles/AddRemoveTiles/Pages/Index.razor index d8fa8471..d67808fa 100644 --- a/tilelayout/add-remove-tiles/AddRemoveTiles/Pages/Index.razor +++ b/tilelayout/add-remove-tiles/AddRemoveTiles/Pages/Index.razor @@ -4,6 +4,8 @@ @using AddRemoveTiles.Services @using AddRemoveTiles.Components @using AddRemoveTiles.Components.Tiles +@using Telerik.SvgIcons +@using Telerik.Blazor @inject DashboardDataService DataService @inject TilesDataService TilesData @@ -34,7 +36,7 @@ @*The JS script is in the "_Host.cshtml" file*@ - +
@@ -63,8 +65,8 @@ @item.Title - - Add + + Add } From 5c101e6b25817a562402dcd1ab401c0261721138 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:39:51 -0400 Subject: [PATCH 59/69] Update project to .NET 8.0 and package references Updated `TooltipForGridElements.csproj` to target .NET 8.0, replacing .NET Core 3.1. Removed version specification for `Telerik.UI.for.Blazor` to use the latest version. --- tooltip/in-grid/TooltipForGridElements.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tooltip/in-grid/TooltipForGridElements.csproj b/tooltip/in-grid/TooltipForGridElements.csproj index e37a3e25..2dbdd72c 100644 --- a/tooltip/in-grid/TooltipForGridElements.csproj +++ b/tooltip/in-grid/TooltipForGridElements.csproj @@ -1,12 +1,12 @@ - + - netcoreapp3.1 + net8.0 7.3 - + @@ -15,3 +15,5 @@ + + From 318b7724f2cab6cc56ae80b5a49e79d335750a68 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:42:56 -0400 Subject: [PATCH 60/69] Update icons and upgrade project framework to .NET 8.0 - Replaced string literals for icons in `EditableTreeNode.razor` with `SvgIcon` references for better icon management. - Added `Telerik.SvgIcons` namespace in `_Imports.razor`. - Upgraded target framework in `rename_node.csproj` from .NET 5.0 to .NET 8.0 and removed version specification for `Telerik.UI.for.Blazor` package for automatic updates. --- .../rename-node/rename-node/Shared/EditableTreeNode.razor | 4 ++-- treeview/rename-node/rename-node/_Imports.razor | 3 ++- treeview/rename-node/rename-node/rename_node.csproj | 8 +++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/treeview/rename-node/rename-node/Shared/EditableTreeNode.razor b/treeview/rename-node/rename-node/Shared/EditableTreeNode.razor index 9b5f3bb7..f5269bba 100644 --- a/treeview/rename-node/rename-node/Shared/EditableTreeNode.razor +++ b/treeview/rename-node/rename-node/Shared/EditableTreeNode.razor @@ -9,14 +9,14 @@ @if (!IsEditing) { @Item.Text - + } else { @* Stop the treenode from taking focus when you click in the textbox *@ - + } diff --git a/treeview/rename-node/rename-node/_Imports.razor b/treeview/rename-node/rename-node/_Imports.razor index 198e1383..ab741366 100644 --- a/treeview/rename-node/rename-node/_Imports.razor +++ b/treeview/rename-node/rename-node/_Imports.razor @@ -8,4 +8,5 @@ @using rename_node @using rename_node.Shared @using Telerik.Blazor -@using Telerik.Blazor.Components \ No newline at end of file +@using Telerik.Blazor.Components +@using Telerik.SvgIcons \ No newline at end of file diff --git a/treeview/rename-node/rename-node/rename_node.csproj b/treeview/rename-node/rename-node/rename_node.csproj index 112c4018..acff9728 100644 --- a/treeview/rename-node/rename-node/rename_node.csproj +++ b/treeview/rename-node/rename-node/rename_node.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From 55b6ec3b0319ffe7ab16da614700054e6ff957c6 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:44:55 -0400 Subject: [PATCH 61/69] Update project to .NET 8.0 and refactor file handling - Changed target framework in `FormValidation.csproj` to .NET 8.0 and removed specific version for `Telerik.UI.for.Blazor`. - Modified `RemoveFailedFilesFromList` in `Index.razor` to accept `IEnumerable` and added a legacy overload for compatibility. - Introduced `UploadFileInfoShim.cs` to provide a temporary `UploadFileInfo` class for legacy code support. --- upload/form-validation/FormValidation.csproj | 8 +++++--- upload/form-validation/Pages/Index.razor | 16 ++++++++++++++-- .../form-validation/Pages/UploadFileInfoShim.cs | 9 +++++++++ 3 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 upload/form-validation/Pages/UploadFileInfoShim.cs diff --git a/upload/form-validation/FormValidation.csproj b/upload/form-validation/FormValidation.csproj index 5c4ab100..c7fcfc9b 100644 --- a/upload/form-validation/FormValidation.csproj +++ b/upload/form-validation/FormValidation.csproj @@ -1,11 +1,13 @@ - + - netcoreapp3.1 + net8.0 - + + + diff --git a/upload/form-validation/Pages/Index.razor b/upload/form-validation/Pages/Index.razor index 08fce1a4..040e4c49 100644 --- a/upload/form-validation/Pages/Index.razor +++ b/upload/form-validation/Pages/Index.razor @@ -131,9 +131,21 @@ UpdateValidationModel(); } - void RemoveFailedFilesFromList(List files) + void RemoveFailedFilesFromList(IEnumerable files) { - foreach (var file in files) + foreach (dynamic file in files) + { + if (FilesValidationInfo.Keys.Contains(file.Id)) + { + FilesValidationInfo.Remove(file.Id); + } + } + } + + // Legacy overload for generated code referencing UploadFileInfo (pre v11 API) + void RemoveFailedFilesFromListLegacy(IEnumerable files) + { + foreach (dynamic file in files) { if (FilesValidationInfo.Keys.Contains(file.Id)) { diff --git a/upload/form-validation/Pages/UploadFileInfoShim.cs b/upload/form-validation/Pages/UploadFileInfoShim.cs new file mode 100644 index 00000000..b047468b --- /dev/null +++ b/upload/form-validation/Pages/UploadFileInfoShim.cs @@ -0,0 +1,9 @@ +// Temporary shim to satisfy legacy generated code referencing UploadFileInfo. +// Can be removed after upgrading all Telerik Upload references and cleaning obj folder. +namespace Telerik.Blazor.Components.Upload +{ + public class UploadFileInfo + { + public string Id { get; set; } = string.Empty; + } +} From 131811f5272b49ca0aa0ec46e8356721cf286b91 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:46:46 -0400 Subject: [PATCH 62/69] Update project to .NET 8.0 and package reference The project file `block_all_content.csproj` has been updated to target .NET 8.0 instead of .NET 5.0. Additionally, the version specification for the `Telerik.UI.for.Blazor` package reference has been removed, allowing it to use the latest available version instead of being locked to version 3.4.0. --- .../block-all-content/block_all_content.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/window/block-all-content/block-all-content/block_all_content.csproj b/window/block-all-content/block-all-content/block_all_content.csproj index 73311e6c..acff9728 100644 --- a/window/block-all-content/block-all-content/block_all_content.csproj +++ b/window/block-all-content/block-all-content/block_all_content.csproj @@ -1,11 +1,13 @@ - + - net5.0 + net8.0 - + + + From e70a040c4873235452b2377700a9db1484bc47a6 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 12:49:22 -0400 Subject: [PATCH 63/69] Updated to net8 and latest Telerik Blazor. Consolidated dependencies. --- window/WindowAsAService/WindowAsAService.csproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/window/WindowAsAService/WindowAsAService.csproj b/window/WindowAsAService/WindowAsAService.csproj index f200652e..bdaf50cc 100644 --- a/window/WindowAsAService/WindowAsAService.csproj +++ b/window/WindowAsAService/WindowAsAService.csproj @@ -1,16 +1,18 @@ - + - net6.0 + net8.0 enable enable false - + + + From 6c24fde40b5a53bb3eb74b1a0d10ec301cf91c79 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 13:17:19 -0400 Subject: [PATCH 64/69] Refactor project files for dependency management Updated BlazingCoffee.Client, BlazingCoffee.Server, and BlazingCoffee.Shared to remove specific version numbers from package references for flexibility. Disabled nullable reference types until best practices are established. Introduced Directory.Packages.props for centralized package version management. --- .../Client/BlazingCoffee.Client.csproj | 22 ++-- .../Server/BlazingCoffee.Server.csproj | 30 ++--- .../Shared/BlazingCoffee.Shared.csproj | 10 +- .../blazing-coffee/Directory.Packages.props | 110 ++++++++++++++++++ 4 files changed, 144 insertions(+), 28 deletions(-) create mode 100644 sample-applications/blazing-coffee/Directory.Packages.props diff --git a/sample-applications/blazing-coffee/BlazingCoffee/Client/BlazingCoffee.Client.csproj b/sample-applications/blazing-coffee/BlazingCoffee/Client/BlazingCoffee.Client.csproj index 9b6187e2..17b9da38 100644 --- a/sample-applications/blazing-coffee/BlazingCoffee/Client/BlazingCoffee.Client.csproj +++ b/sample-applications/blazing-coffee/BlazingCoffee/Client/BlazingCoffee.Client.csproj @@ -1,6 +1,8 @@ + + disable net8.0 service-worker-assets.js @@ -19,16 +21,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/sample-applications/blazing-coffee/BlazingCoffee/Server/BlazingCoffee.Server.csproj b/sample-applications/blazing-coffee/BlazingCoffee/Server/BlazingCoffee.Server.csproj index f7786e74..4430cad9 100644 --- a/sample-applications/blazing-coffee/BlazingCoffee/Server/BlazingCoffee.Server.csproj +++ b/sample-applications/blazing-coffee/BlazingCoffee/Server/BlazingCoffee.Server.csproj @@ -1,7 +1,9 @@ - net8.0 + + disable + net8.0 BlazingCoffee.Server-EE526336-C312-404E-8393-993CE0300831 @@ -10,12 +12,12 @@ - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -26,16 +28,16 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/sample-applications/blazing-coffee/BlazingCoffee/Shared/BlazingCoffee.Shared.csproj b/sample-applications/blazing-coffee/BlazingCoffee/Shared/BlazingCoffee.Shared.csproj index 28027852..b91b06ec 100644 --- a/sample-applications/blazing-coffee/BlazingCoffee/Shared/BlazingCoffee.Shared.csproj +++ b/sample-applications/blazing-coffee/BlazingCoffee/Shared/BlazingCoffee.Shared.csproj @@ -1,14 +1,16 @@ + + disable net8.0 - - - - + + + + diff --git a/sample-applications/blazing-coffee/Directory.Packages.props b/sample-applications/blazing-coffee/Directory.Packages.props new file mode 100644 index 00000000..e0ade3fd --- /dev/null +++ b/sample-applications/blazing-coffee/Directory.Packages.props @@ -0,0 +1,110 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 3216a2e2d48db0d1d4a177223f91b3ed24754b30 Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 13:21:25 -0400 Subject: [PATCH 65/69] Update Telerik package reference management Removed specific version for `Telerik.UI.for.Blazor` in `BlazorDashboard.csproj`. Versioning is now managed centrally in `Directory.Packages.props` for improved maintainability across projects. --- .../blazor-dashboard/BlazorDashboard/BlazorDashboard.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sample-applications/blazor-dashboard/BlazorDashboard/BlazorDashboard.csproj b/sample-applications/blazor-dashboard/BlazorDashboard/BlazorDashboard.csproj index 96a1ade0..e3c60a73 100644 --- a/sample-applications/blazor-dashboard/BlazorDashboard/BlazorDashboard.csproj +++ b/sample-applications/blazor-dashboard/BlazorDashboard/BlazorDashboard.csproj @@ -5,7 +5,8 @@ - + + From 72d662dd0a5ddfd51028190e0cf140c368bdd3fe Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 13:28:21 -0400 Subject: [PATCH 66/69] Update package versions and centralize management - Updated `BlazorPro.BlazorSize` to version `3.1.0`. - Updated `Microsoft.AspNetCore.Components.WebAssembly.Server` to version `8.0.20`. - Centralized package management in `BlazorFinancePortfolio.Client.csproj` for several packages. - Centralized package management in `BlazorFinancePortfolio.Server.csproj` for `Microsoft.AspNetCore.Components.WebAssembly.Server`. - Centralized package management in `BlazorFinancePortfolio.Shared.csproj` for `Telerik.UI.for.Blazor`. --- Directory.Packages.props | 4 ++-- .../Client/BlazorFinancePortfolio.Client.csproj | 11 ++++++----- .../Server/BlazorFinancePortfolio.Server.csproj | 3 ++- .../Shared/BlazorFinancePortfolio.Shared.csproj | 3 ++- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 3d951eeb..7e797853 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,7 +10,7 @@ - + @@ -47,7 +47,7 @@ - + diff --git a/sample-applications/blazor-stocks/Client/BlazorFinancePortfolio.Client.csproj b/sample-applications/blazor-stocks/Client/BlazorFinancePortfolio.Client.csproj index 56b1aed8..f849ab18 100644 --- a/sample-applications/blazor-stocks/Client/BlazorFinancePortfolio.Client.csproj +++ b/sample-applications/blazor-stocks/Client/BlazorFinancePortfolio.Client.csproj @@ -7,11 +7,12 @@ - - - - - + + + + + + diff --git a/sample-applications/blazor-stocks/Server/BlazorFinancePortfolio.Server.csproj b/sample-applications/blazor-stocks/Server/BlazorFinancePortfolio.Server.csproj index 6688a958..0e7b484d 100644 --- a/sample-applications/blazor-stocks/Server/BlazorFinancePortfolio.Server.csproj +++ b/sample-applications/blazor-stocks/Server/BlazorFinancePortfolio.Server.csproj @@ -6,7 +6,8 @@ - + + diff --git a/sample-applications/blazor-stocks/Shared/BlazorFinancePortfolio.Shared.csproj b/sample-applications/blazor-stocks/Shared/BlazorFinancePortfolio.Shared.csproj index 861e660d..aea03a5f 100644 --- a/sample-applications/blazor-stocks/Shared/BlazorFinancePortfolio.Shared.csproj +++ b/sample-applications/blazor-stocks/Shared/BlazorFinancePortfolio.Shared.csproj @@ -5,7 +5,8 @@ - + + From 939acde850635e3480bf96663c32da5f6c9edf7e Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 13:33:53 -0400 Subject: [PATCH 67/69] Update Telerik.UI.for.Blazor package reference Removed specific version number for Telerik.UI.for.Blazor and added a comment to indicate versioning will now be managed through Directory.Packages.props for better flexibility and centralized control. --- .../BlazorFinancialDashboard/BlazorFinancialDashboard.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/BlazorFinancialDashboard.csproj b/sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/BlazorFinancialDashboard.csproj index 79c56562..eb8bae68 100644 --- a/sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/BlazorFinancialDashboard.csproj +++ b/sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/BlazorFinancialDashboard.csproj @@ -9,7 +9,8 @@ - + + From 4e66736e47095aca193d784d83cba5b472c8cfea Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 13:59:49 -0400 Subject: [PATCH 68/69] Update .gitignore to exclude maintenance build logs Added entries to the `.gitignore` file to prevent tracking of specific log files related to maintenance builds, including `Build_Failures.txt`, `Build_Failure_Details.txt`, `Build_Results.csv`, and `Build_Summary.txt`. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index e91f8a10..9ccce4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -460,3 +460,7 @@ MigrationBackup/ # macOS folder settings .DS_Store +/maintenance/build-logs/Build_Failures.txt +/maintenance/build-logs/Build_Failure_Details.txt +/maintenance/build-logs/Build_Results.csv +/maintenance/build-logs/Build_Summary.txt From 7f0443243f05123b874e232eb0e794165b64bf4f Mon Sep 17 00:00:00 2001 From: Ed Charbeneau Date: Fri, 19 Sep 2025 14:00:09 -0400 Subject: [PATCH 69/69] Enhance BuildAllProjects.ps1 with documentation and logging Added detailed documentation including synopsis, output files, and new parameters (-AllLogs, -TailLines, -SkipClean, -Root) for better user control. Improved logging functionality captures both successful and failed builds, providing detailed logs for failures and a summary of build results. --- maintenance/BuildAllProjects.ps1 | 99 ++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 maintenance/BuildAllProjects.ps1 diff --git a/maintenance/BuildAllProjects.ps1 b/maintenance/BuildAllProjects.ps1 new file mode 100644 index 00000000..af11d2b5 --- /dev/null +++ b/maintenance/BuildAllProjects.ps1 @@ -0,0 +1,99 @@ +<#! + .SYNOPSIS + Builds every .csproj in the repository (excluding bin/obj) sequentially and records failures. + + .OUTPUT FILES (overwritten each run, all under script folder build-logs/) + build-logs/ - Per-project full build logs (only for failures by default, or all with -AllLogs) + build-logs/Build_Summary.txt - High-level counts + build-logs/Build_Failures.txt - List of failing project full paths + build-logs/Build_Failure_Details.txt - Tail (last N lines) of each failing log for quick triage + build-logs/Build_Results.csv - CSV of Project, Status, DurationSeconds, LogPath + + .PARAMETERS + -AllLogs Generate logs also for successful builds. + -TailLines How many lines from end of failing log to include (default 40). + -SkipClean Skip deleting existing build-logs folder. + -Root Optional explicit root folder to scan (defaults to parent directory of script folder) +#> +param( + [switch]$AllLogs, + [int]$TailLines = 40, + [switch]$SkipClean, + [string]$Root +) + +Set-StrictMode -Version Latest +$ErrorActionPreference = 'Stop' + +# $scriptDir is where this script resides (e.g. repoRoot\maintenance) +$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path +# $repoRoot is the parent folder of the script directory unless explicitly overridden +$repoRoot = if([string]::IsNullOrWhiteSpace($Root)) { Split-Path -Parent $scriptDir } else { (Resolve-Path $Root).Path } + +Write-Host "Script directory: $scriptDir" -ForegroundColor DarkGray +Write-Host "Repository root: $repoRoot" -ForegroundColor DarkGray + +$logDir = Join-Path $scriptDir 'build-logs' +if(-not $SkipClean -and (Test-Path $logDir)) { Remove-Item $logDir -Recurse -Force } +if(-not (Test-Path $logDir)) { New-Item -ItemType Directory -Path $logDir | Out-Null } + +Write-Host "Scanning for projects under $repoRoot ..." -ForegroundColor Cyan +# Explicit path to repo root so the script can live in a subfolder +$projects = Get-ChildItem -Path $repoRoot -Recurse -Filter *.csproj | Where-Object { $_.FullName -notmatch '\\(bin|obj)\\' } | Sort-Object FullName +Write-Host ("Found {0} projects" -f $projects.Count) -ForegroundColor Cyan + +$fail = @() +$success = @() +$resultRows = @() +$failureDetails = @() + +$swTotal = [System.Diagnostics.Stopwatch]::StartNew() +$index = 0 +foreach($proj in $projects){ + $index++ + $rel = Resolve-Path -Relative $proj.FullName + Write-Host ('['+$index+'/'+$($projects.Count)+'] Building '+$rel) + $projWatch = [System.Diagnostics.Stopwatch]::StartNew() + $safeName = ($proj.FullName -replace '[:\\/]','_') + $logPath = Join-Path $logDir ($safeName + '.log') + # Build, capturing output + & dotnet build "$($proj.FullName)" -nologo 2>&1 | Tee-Object -FilePath $logPath | Out-Null + $exit = $LASTEXITCODE + $projWatch.Stop() + if($exit -eq 0){ + $success += $proj.FullName + if(-not $AllLogs){ Remove-Item $logPath -ErrorAction Ignore } + $logValue = '' + if(Test-Path $logPath){ $logValue = $logPath } + $resultRows += [PSCustomObject]@{ Project=$proj.FullName; Status='Success'; DurationSeconds=[Math]::Round($projWatch.Elapsed.TotalSeconds,2); LogPath=$logValue } + } else { + $fail += $proj.FullName + $tail = Get-Content $logPath -Tail $TailLines + $failureDetails += 'PROJECT: '+$proj.FullName + $failureDetails += $tail + $failureDetails += ('--- END ('+$projWatch.Elapsed.TotalSeconds.ToString('0.00')+'s) ---') + $resultRows += [PSCustomObject]@{ Project=$proj.FullName; Status='Fail'; DurationSeconds=[Math]::Round($projWatch.Elapsed.TotalSeconds,2); LogPath=$logPath } + } +} +$swTotal.Stop() + +# Outputs go to logDir (script folder/build-logs) +$summaryPath = Join-Path $logDir 'Build_Summary.txt' +$failPath = Join-Path $logDir 'Build_Failures.txt' +$failDetailsPath = Join-Path $logDir 'Build_Failure_Details.txt' +$resultsCsvPath = Join-Path $logDir 'Build_Results.csv' + +"Total=$($projects.Count)`nSucceeded=$($success.Count)`nFailed=$($fail.Count)`nElapsedSeconds=$([Math]::Round($swTotal.Elapsed.TotalSeconds,2))" | Set-Content $summaryPath +$fail -join [Environment]::NewLine | Set-Content $failPath +$failureDetails -join [Environment]::NewLine | Set-Content $failDetailsPath +$resultRows | Export-Csv -NoTypeInformation -Path $resultsCsvPath + +Write-Host ("Build complete. Success={0} Fail={1} Elapsed={2:n2}s" -f $success.Count,$fail.Count,$swTotal.Elapsed.TotalSeconds) -ForegroundColor Yellow +Write-Host "Summary: $summaryPath" -ForegroundColor DarkGray +if($fail.Count -gt 0){ + Write-Host "First 10 failures:" -ForegroundColor Red + $fail | Select-Object -First 10 | ForEach-Object { Write-Host ' ' $_ } + Write-Host "Failure list: $failPath" -ForegroundColor Red +} + +exit 0 \ No newline at end of file