Skip to content

Commit

Permalink
Add benefits of using Minimal APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
bradystroud committed Nov 29, 2023
1 parent 92f8352 commit 224fbcc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rules/minimal-apis/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,11 @@ app.MapGet("/", () => "Hello World!");
```
::: good
Figure: Good Example - 1 line of code for a simple endpoint
:::
:::

Minimal APIs are great for
- Learning
- Quick prototypes
- Vertical Slice Architecture
- A similar developer experience to NodeJS
- Performance

0 comments on commit 224fbcc

Please sign in to comment.