sheepla / sheepla/AxisEndpoints
Migrate to source generator based implementation when configuing ASP.NET Core Minimal API
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading EndpointRegistry.cs and the current reflection-based endpoint registration for ASP.NET Core Minimal API. Determine the source-generator design needed to replace that behavior while preserving existing endpoint behavior and supporting .NET native AOT builds. Done means the implementation is migrated from reflection to source-generated code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100