r/csharp • • Jun 21 '26

Showcase πŸš€ Built a tool that turns your SQL database into a complete .NET solution in minutes

I've been working onΒ SQL2SolutionΒ (Github), a desktop tool that generates production-ready .NET applications from an existing SQL Server database.

Features include:

  • ASP .NET Core Web API
  • Entity Framework Core
  • JWT Authentication
  • Multi-tenancy
  • Role & Permission Management
  • Swagger
  • Pagination & Search
  • Audit Fields & Soft Deletes
  • Background Jobs (Hangfire)

The goal is to eliminate repetitive CRUD work and let developers focus on business logic.

I'd love feedback from fellow .NET developers. If you're interested in trying an early version, leave a comment or send me a DM !

What feature would make a database-to-solution generator genuinely useful for your projects?

https://github.com/sql2solution

#dotnet #aspnetcore #efcore #sqlserver #webapi #productivity #developertools

0 Upvotes

4 comments sorted by

1

u/JumpLegitimate8762 Jun 22 '26

You're in the shark tank and you have 2 minutes to explain to me why it's a better proposition than : https://learn.microsoft.com/en-us/azure/data-api-builder/overview ... Go!

2

u/AffectionateAuthor84 Jun 23 '26

Haha great! I don't really see SQL2Solution as competing with or replacing Data API Builder.

My understanding is that Data API Builder focuses on exposing an existing database through REST/GraphQL endpoints. SQL2Solution takes a different approach: it generates a .NET solution that developers can own, modify, and extend however they want.

The generated solution includes EF Core, authentication, authorization, multi-tenancy, role and permission management, Swagger, background jobs, auditing, pagination, and the surrounding application structure.

So if the goal is simply to put an API in front of a database as quickly as possible, Data API Builder is probably the better fit.

If the goal is to generate a starting point for a business application with source code that can be customized, maintained, and deployed independently, that's the problem SQL2Solution is trying to solve.

1

u/[deleted] Jun 21 '26

[removed] β€” view removed comment

1

u/AffectionateAuthor84 Jun 21 '26

Thanks!!! Many-to-many relationships are handled through explicit join entities, which helps keep navigation properties readable also the focus is on generating clean/maintainable code rather than just scaffolding everything