By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: .NET 10 Preview 3: C# 14 Extension Members, ASP.NET Core State Persistence and Other Improvements
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > .NET 10 Preview 3: C# 14 Extension Members, ASP.NET Core State Persistence and Other Improvements
News

.NET 10 Preview 3: C# 14 Extension Members, ASP.NET Core State Persistence and Other Improvements

News Room
Last updated: 2025/04/17 at 5:40 AM
News Room Published 17 April 2025
Share
SHARE

Last week, the .NET Team announced the third preview release of .NET 10. It brings several updates across the .NET Runtime, SDK, libraries, C#, ASP.NET Core, Blazor, .NET MAUI, WPF, Windows Forms, and more. This release introduces powerful new features to improve developer productivity, application performance, and flexibility.

In C# 14, notable improvements have been made to extension members. These members now support static methods, instance properties, and static properties, expanding the functionality of extensions. A new extension block syntax has been introduced, allowing developers to define extension methods and properties within a block that exposes the receiver to its contained members.


public static class Extensions
{
    extension(IEnumerable<int> source) 
    {
        public IEnumerable<int> WhereGreaterThan(int threshold)
            => source.Where(x => x > threshold);

        public bool IsEmpty
            => !source.Any();
    }
}


Additionally, null-conditional assignment is introduced, enabling property or field assignments only when the containing instance exists, simplifying code and reducing the need for explicit null checks.

ASP.NET Core has also seen notable enhancements. One of the key additions is a declarative model for persisting state from components and services. By using the SupplyParameterFromPersistentComponentState attribute, developers can now persist state during prerendering and load it automatically when the component renders interactively.


@page "/movies"
@inject IMovieService MovieService

<PageTitle>Movies</PageTitle>

<h3>Movies</h3>

@if (MoviesList == null)
{
    <p><em>Loading...</em></p>
}
else
{
    <QuickGrid Items="MoviesList.AsQueryable()">
        <PropertyColumn Property="@(m => m.Title)" Title="Title" Sortable="true"  />
        <PropertyColumn Property="@(m => m.ReleaseDate)" Title="Release Date" Sortable="true" />
        <PropertyColumn Property="@(m => m.Genre)" Title="Genre" Sortable="true" />
        <PropertyColumn Property="@(m => m.Price)" Title="Price" Sortable="true" />
    </QuickGrid>
}

@code {
    [SupplyParameterFromPersistentComponentState]
    public List<Movie>? MoviesList { get; set; }

    protected override async Task OnInitializedAsync()
    {
        MoviesList ??= await MovieService.GetMoviesAsync();
    }
}

Following, Blazor WebAssembly apps now support referencing fingerprinted static web assets, improving cache management and versioning. Also, the response streaming for HttpClient is enabled by default in Blazor WebAssembly, optimizing memory usage when handling large responses. Other changes include the renaming of an app context switch and the introduction of server-sent events (SSE), which allows for real-time event streaming over HTTP connections, and more.

In .NET MAUI, the third preview release includes some significant updates. The ListView, Cell, and TableView controls have been deprecated, with their removal planned for a future release. Fullscreen video playback in Android WebViews is now possible, and a new Geolocation.IsEnabled property allows for easier checking of the geolocation service status.

Furthermore, a CancellationToken can now be passed to WebAuthenticator.AuthenticateAsync, providing greater control over authentication processes. Additionally, various performance improvements have been made, including optimizations to PropertyMapper and CollectionView rendering, resulting in faster application performance.

For developers working with WPF, the release introduces updates focused on improving performance and quality. Fluent style changes have been implemented, and performance optimizations ensure smoother user interfaces.

Also, for those interested in Windows Forms, this release brings quality improvements to various controls and runtime performance enhancements, ensuring that both frameworks are aligned with the latest .NET 10 updates.

Entity Framework Core 10 Preview 3 introduces improvements for working with Azure Cosmos DB for NoSQL. The model evolution process has been simplified, particularly as reported, when adding required entity properties.

EF Core now automatically assigns default values to required properties when no data is present in the document, eliminating the need for manual workarounds. Additionally, small improvements have been made in logging, including redacting inlined constants when sensitive logging is disabled, and better handling of extension loading.

This release also includes improvements in .NET for Android, iOS, Mac Catalyst, macOS, and tvOS. Android development has seen quality improvements, build performance enhancements, and experimental runtime updates. On the iOS side, support for Xcode 16.3 Release Candidate is included, along with further quality improvements.

For developers interested in further details and other changes, the full release notes are available, offering an in-depth look at the third preview of .NET 10.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article COLT expands its product portfolio with a new local area network managed
Next Article NxsussNwvny
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Upgrade your streaming game with $20 off the Roku Ultra
News
Apple’s iPhone roadmap shows a shift toward Samsung’s strategy, and it’s not a good look
News
Epic submits ‘Fortnite’ for App Store review
News
The Apple iPad A16 hits new record-low price, but only in one color!
News

You Might also Like

News

Upgrade your streaming game with $20 off the Roku Ultra

3 Min Read
News

Apple’s iPhone roadmap shows a shift toward Samsung’s strategy, and it’s not a good look

4 Min Read
News

Epic submits ‘Fortnite’ for App Store review

2 Min Read
News

The Apple iPad A16 hits new record-low price, but only in one color!

3 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?