One of the new features of .NET 6 is the arrival of a new template, which will replace the default and bring a good reduction in code writing. Including the removal of the Startup.cs file.
.NET 6 was released as LTS (long-term stable) which means support for 3 years. So we have to learn about this new baby. Don't forget new C# 10 features as well.
Code developed with blog post
https://rmauro.dev/create-a-minimal-api-with-dotnet-6/
Check out for more on https://rmauro.dev
-
Visual Studio Code/Visual Studio 2022
-
DotNet 6
- No frameworks - just minimal apis
- MIT - use it for free
- Api to random generate url link
- UI to for the end-user
- Route that redirects the user to final destination
const author = {
"twitter": "https://twitter.com/ricardodemauro",
"blog": "https://rmauro.dev
}
- Did you find something that needs improviment - send a
PR
or create anIssue
- Did you build something cool - send a
PR