Skip to main content

🀝 Contributing

GenDI is open source and community-driven. Every improvement β€” no matter how small β€” makes the project stronger and keeps the .NET ecosystem moving forward.

🌟 Why contribute?​

  • 🎯 Shape the future of attribute-first DI in .NET
  • πŸš€ Get early access to features and influence the roadmap
  • πŸ“ˆ Build a public track record in a growing open-source project
  • πŸ’™ Help .NET developers escape constructor boilerplate every day

πŸ› οΈ What you can contribute​

You don't need to write a source generator to make a difference. Here are great entry points:

AreaExamples
πŸ› Bug reportsUnexpected generator output, edge-case attributes
πŸ“ DocumentationTypos, clearer examples, translations
βœ… TestsNew edge cases, integration scenarios
πŸš€ FeaturesItems on the Roadmap
🌍 TranslationsPortuguese, Spanish, German docs
πŸ’‘ IdeasOpen a Discussion with your proposal

πŸ”§ Development baseline​

  1. Build and test locally:
dotnet build GenDI.slnx
dotnet test GenDI.slnx
  1. If website files changed, validate docs build:
cd website
npm ci
npm run build
  1. Keep changes scoped and consistent with repository architecture:
  • 🏷️ attribute-first model
  • ⚑ generated registration/activation path
  • πŸš€ NativeAOT-aware behavior

πŸ“‹ Pull request guidance​

  • πŸ“ Describe behavior changes clearly.
  • πŸ“š Include updated documentation for public-facing changes.
  • βœ… Keep tests aligned with new behavior.

❀️ Sponsor GenDI​

GenDI is free, open-source, and maintained in personal time. If your team or product benefits from the project β€” whether that's cleaner code, faster startups, or saved engineering hours β€” please consider sponsoring development.

Sponsorship directly funds:

  • πŸ”§ Continued maintenance and bug fixes
  • πŸš€ New features from the roadmap
  • πŸ“š Documentation improvements and community support
  • πŸ“¦ Longer-term NuGet package hosting and tooling

πŸ’– Sponsor on GitHub

Even a one-time contribution goes a long way. For companies shipping software built with GenDI, a recurring sponsorship ensures the project stays healthy and keeps getting better.


Thank you to everyone who uses, shares, or contributes to GenDI. πŸ™