Deutsch

.NET Conf 2025 - November 11 ‐ 13

16.11.25 14:51
Re: .NET Conf 2025 - November 11 ‐ 13
 
AlexNek патриот
AlexNek
в ответ AlexNek 16.11.25 14:49

Summary: "Build better web apps with Blazor in .NET 10"

  • Presenter: Daniel Roth, Principal Product Manager for ASP.NET Core and Blazor.
  • Key Focus: The video showcases how Blazor in .NET 10 enables secure, high-performance, and developer-friendly web app development entirely in C#, with no need for JavaScript.

Main Topics and Enhancements:

  • Security and Authentication:
    • Built-in support for passwordless authentication using WebAuthN and passkeys.
    • New authentication scaffolders, including easier setup for Entra ID.
    • Passkeys are integrated into the Blazor template, allowing users to authenticate with cryptographic credentials managed by an authenticator app.
  • Observability & Diagnostics:
    • Enhanced metrics for Blazor apps: page navigations, UI events, active circuits (current app users), and more.
    • Improved tracing and diagnostic tools for both Blazor Server and WebAssembly, including collecting performance profiles and memory dumps, which can be analyzed in Visual Studio.
    • .NET Aspire integration supporting distributed tracing and diagnostics dashboards.
  • Performance:
    • Major framework optimizations: fingerprinted/pre-compressed/cached scripts, faster app startup and rendering (20% faster component rendering on WebAssembly compared to .NET 9).
    • Real-world improvements, e.g., Copilot Studio saw significant load/execution gains by upgrading from .NET 6 to .NET 8.
  • Developer Experience:
    • Faster and more reliable Hot Reload (Visual Studio 2026 vs 2022: down from 40s to 3s for big apps).
    • Component state persistence, simplifying pre-rendering and improving resilience/scalability (automatic persistence for disconnected circuits).
    • Enhanced form validation, supporting deep/nested models.
    • Improved navigation, error handling, and integration testing (Kestrel + Playwright browser tests).
    • QuickGrid and JavaScript interop enhancements.
  • Use Cases Highlighted:
    • "My Ride K-2" app for US/Canada schools demonstrates cross-platform agility.
    • LKAB (Europe’s largest iron ore producer) unified their mobile strategy using Blazor/.NET MAUI.
    • Blazor's powerful SSR model enabling rich interactive AI experiences (with provided chat template).
  • Conclusion: Blazor in .NET 10 delivers major improvements in security, performance, diagnostics, and developer productivity, streamlining full-stack development in C# and .NET for web and cross-platform apps. Developers are encouraged to start using Blazor in .NET 10 and explore these new features.youtube
  1. https://www.youtube.com/watch?v=V0Af7y7aMBE
 

Перейти на