Skip to content

ricardodemauro/URLShortnerMinimalApi

Repository files navigation

URL Shortner with Minimal Api approach in .NET 6

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

Tools

  • Visual Studio Code/Visual Studio 2022

  • DotNet 6

Framework

  • No frameworks - just minimal apis

Licence

  • MIT - use it for free

Feature List

  • Api to random generate url link
  • UI to for the end-user
  • Route that redirects the user to final destination

Author(s)

const author = {
  "twitter": "https://twitter.com/ricardodemauro",
  "blog": "https://rmauro.dev
}

Contribute

  • Did you find something that needs improviment - send a PR or create an Issue
  • Did you build something cool - send a PR