Best of ASP.NET CoreNovember 2024

  1. 1
    Article
    Avatar of devblogsDevBlogs·1y

    Next Generation Project Creation for .NET

    The new interactive CLI tool 'dotnet scaffold' has been released as a preview for scaffolding in ASP.NET Core projects. It provides an improved command line experience, allowing users to generate boilerplate code interactively. This post details the installation process, usage examples, and shows how to scaffold different components such as Razor Pages and Entity Framework models in ASP.NET Core 9 web apps. The tool aims to make project setup more straightforward and efficient.

  2. 2
    Article
    Avatar of milanjovanovicMilan Jovanović·1y

    Building Async APIs in ASP.NET Core - The Right Way

    Handling long-running tasks asynchronously in ASP.NET Core can improve user experience and server efficiency. By accepting requests and processing them in the background, users receive immediate responses and can check the status later. The system can handle more requests simultaneously without getting bogged down by time-consuming operations. Real-time updates through SignalR, WebSockets, or email notifications provide instant feedback, enhancing usability and system integration.

  3. 3
    Article
    Avatar of auth0Auth0·2y

    Authentication and Authorization Enhancements in .NET 9.0

    NET 9 includes various enhancements for authentication and authorization, focusing on cloud-native development and performance. Key features include support for Pushed Authorization Requests (PAR) to enhance security in OAuth 2.0 and OpenID Connect environments, simplified methods for adding custom OAuth/OIDC parameters, configuration flags for Windows Authentication under HTTP.sys, and methods to serialize authentication states in Blazor Web Apps. These updates aim to simplify developers' tasks, improve security, and reduce potential bugs.

  4. 4
    Article
    Avatar of dotnet.NET Blog·1y

    OpenAPI document generation in .NET 9

    ASP.NET Core in .NET 9 introduces built-in support for OpenAPI document generation, simplifying the process of documenting API endpoints. This feature supports both Minimal APIs and controller-based applications, and allows for customization via attributes and extension methods. Developers can generate OpenAPI documents at both runtime and build time, integrate metadata for better documentation, and use transformers for further customization.