miladashrafi / DotNet8NewFeatures

.NET 8 New Features Samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET 8 / C# 12 Most Important New Features

.NET / ASP.NET

  • JsonStringEnumConverter => JsonStringEnumConverter
  • Interface Hierarchy Serialization
  • ReadOnly fields deserialization
  • GetItems()
  • Shuffle()
  • ToFrozenDictionary()
  • Adjust the memory limit on the fly
  • Native AOT Support (Reduce App size, Memory, Startup time)
  • Keyed Services
  • Redis Based Output Caching
  • New Identity API endpoints
  • Debugging improvements

C# 12 News

  • Primary Constructors
  • Collection Expressions
  • New Validator Attributes
    • Base 64 Validator
    • AlowedValues / DeniedValues
    • Length
    • Range new validation parameters
  • Alias any types
  • Lambda Expression defaults

EF Core 8 News

  • Checking for pending model changes
  • DateOnly/TimeOnly Support on SQL Server
  • HierarchyId
  • "In" queries improvement

Blazor News

  • QuickGrid
  • New Scaffolder
  • New WebApp Template (Server side rendering / Client side rendering)
  • Streaming Rendering
  • Auto Rendering Mode (Server / WebAssembly)

.NET ASPIRE

  • New cloud-native host / builder

Performance Improvements

About

.NET 8 New Features Samples


Languages

Language:C# 100.0%