Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade to .NET 10.0 and enhance project maintainability#1201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gvreddy04 merged 5 commits intomainfromfeatures/upgrade-demos-to-10
Nov 23, 2025

Conversation

@gvreddy04
Copy link
Contributor

Updated target frameworks to .NET 10.0 inBlazorBootstrap.Demo.RCL.csproj andBlazorBootstrap.Demo.WebAssembly.csproj. Upgraded package references to version10.0.0 of relevant libraries.

Enabled HTML asset placeholders inBlazorBootstrap.Demo.WebAssembly.csproj. ImprovedApp.razor formatting and added preloading and import map support inindex.html. Introduced cache-busting placeholders for JavaScript files.

Removed unused<Folder> entry inBlazorBootstrap.Demo.RCL.csproj to clean up the project structure.

Updated target frameworks to .NET 10.0 in `BlazorBootstrap.Demo.RCL.csproj`and `BlazorBootstrap.Demo.WebAssembly.csproj`. Upgraded package referencesto version `10.0.0` of relevant libraries.Enabled HTML asset placeholders in `BlazorBootstrap.Demo.WebAssembly.csproj`.Improved `App.razor` formatting and added preloading and import map supportin `index.html`. Introduced cache-busting placeholders for JavaScript files.Removed unused `<Folder>` entry in `BlazorBootstrap.Demo.RCL.csproj` toclean up the project structure.
@gvreddy04gvreddy04 added this to the3.5.0 milestoneNov 22, 2025
Upgraded the target framework to .NET 10 in `BlazorBootstrap.Demo.Server.csproj` and added the `BlazorDisableThrowNavigationException` property.Enhanced `App.razor` with `<ResourcePreloader />`, `<ImportMap />`, and a new `<ReconnectModal />` component for handling reconnection scenarios. Updated script references to use dynamic asset management.Added a `ReconnectModal.razor` component with a `<dialog>` element, user interaction buttons, and messages for reconnecting, retrying, and resuming sessions. Styled the modal with animations in `ReconnectModal.razor.css` and implemented reconnect logic in `ReconnectModal.razor.js`.Modified `_Imports.razor` to include layout components. Updated `Program.cs` to use `app.MapStaticAssets()` and `app.MapRazorComponents` for interactive server rendering and added custom status code handling.These changes improve user experience, modularity, and resilience to connectivity issues.
Updated `<link>` and `<script>` tags in `App.razor` to use the`@Assets` syntax for referencing asset paths dynamically.This change was applied to multiple CSS and JavaScript files,including `blazor.bootstrap.css`, `blazorbootstrap.demo.rcl.css`,`BlazorBootstrap.Demo.Server.styles.css`, and their correspondingJavaScript files.This refactor improves maintainability by centralizing assetpath management and ensures consistency in asset referencingthroughout the application.
This commit removes the Blazor Hosted Server and WebAssembly applications, along with their associated files, assets, and configurations:- Deleted `BlazorBootstrap.Demo.Hosted.Server` and `BlazorBootstrap.Demo.Hosted.Client` projects.- Removed routing logic, startup code, and launch settings.- Deleted application settings (`appsettings.json`, `appsettings.Development.json`).- Removed Razor pages (`_Host.cshtml`, `Error.cshtml`) and controllers.- Deleted image assets (`placeholder.png`, multiple icons, and logos).- Removed `sitemap.xml` and other project-specific files.- Updated `blazorbootstrap.sln` to reflect project removals.These changes indicate the decommissioning or migration of the Blazor Hosted and WebAssembly applications.
The `dotNetVersion` value in the `appsettings.json` file was updated from `"9.0.0"` to `"10.0.0"`. This change reflects the application's compatibility with .NET version 10.0.0, ensuring it targets the latest framework version.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

3.5.0

Development

Successfully merging this pull request may close these issues.

1 participant

@gvreddy04

[8]ページ先頭

©2009-2025 Movatter.jp