Skip to content

Migrate to source generator based implementation when configuing ASP.NET Core Minimal API #7

@sheepla

Description

@sheepla

The current implementation uses reflection in EndpointRegistry.cs to call the ASP.NET Core Minimal API.
While I believe this approach works well in most cases, using source generators is safer and offers better performance because the behavior is determined at compile time, and it is compatible with .NET’s native AOT builds.
Therefore, I'm considering migrating to a source generator-based approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions