.NET 7 REST API DB TemplateThis template is meant to help developers to build REST APIs:
The template also includes:
Why?One could wonder why such a template could still be relevant in the minimalistic era we are living (Minimal APIs trend, etc). REST "Business" APIS?The initial and natural use of such a template would be for complex and rich REST APIs. RESTFul APIs are not meant to contain business logic because of their nature and inherent definition (resource-oriented, not business logic-oriented). This said, due to the "everything REST" trend, it is quite common to encounter (and even have to develop) business REST APIs. "Simple" APIs vs Complex APIsWith this in mind, rich and business APIs might start "simple" but, quite soon, they grow and end up needing some structure and segregation of concerns. This template anticipates that and, even though it might seem a bit overkill for an initial and simple API, it will help developers to keep their code clean and structured. A concentrate of "how-tos"Technology evolves fast, very fast. At the same time, developers come from very different paths, some of them not giving time, importance or focus enough to specific topics. Saying that all the needed concepts, principles and patterns are understood, there is still a need to know how to use a given technology stack to implement them. This template tries to help with that. Of course, the template integrates specific choices when it comes to some practices or ways to solve problems. This is not meant to be the only way to do things, but it is a way that works and that can be used as a starting point. Additional details can be found here. .NET CLIIn addition to this Visual Studio version, you can find here the .NET CLI version. Release notesv7.1.1764
v7.1.1764
|