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 diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..7e797853 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,110 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file 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 - + + + 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 - + + + 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/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 - + + + 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. 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 - + + + 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 997406ad..00000000 Binary files a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/favicon.ico and /dev/null differ diff --git a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/index.html b/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/index.html deleted file mode 100644 index 024c2a7b..00000000 --- a/common/dataresourcerequest-from-angular-to-aspnetcore/ClientApp/src/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 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 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: 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 - + + + 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 @@ + + 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 - - + - 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 @@ - + 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 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/" } ] 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 + 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 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 +
+ 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 @@ - +
+ 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 - + + + 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 - + + + 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 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 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 - + + + 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 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) 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 - + + + 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 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 - - - - + + + + + + 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 @@ + + 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 @@ + + + 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 - + + + 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 - + + + 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 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 - + + + 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 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 - + + + 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 - + + + 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 @@ + 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 - + + + 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 - + + + 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 - + + + 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 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 - + + + 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 - + + + 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 - + + + 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 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 - + + + 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 @@ - + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ - + + 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 @@ - + + 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 @@ - + + 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 @@ - + + + + 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 - + + + 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 - + + + 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 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 { 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..dc3925e2 100644 --- a/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj +++ b/testing/testing-sample-app/BUnit_Sample/BUnit_Sample.csproj @@ -1,11 +1,13 @@ - + - net6.0 + net8.0 - + + + 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 } 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 @@ + + 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 - + + + 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; + } +} 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 - + + + 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 - + + +