URL Shortener Project Built with .NET 7, MediatR, SQL Server and Memory Cache
🌐 Demo
.NET 7
- .NET 7, including ASP.NET and ASP.NET CoreMicrosoft SQL Server EF Core Database Provider
FluentValidation
- Popular .NET validation library for building strongly-typed validation rulesScrutor
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjectionErrorOr
- A simple, fluent discriminated union of an error or a resultMediatR
- Simple, unambitious mediator implementation in .NETSwashbuckle
- Swagger tools for documenting API's built on ASP.NET
- Visual Studio 2022, Rider or VS Code
- .NET 7 SDK
-
Set the Connection String on the
appsettings.json
. -
Open the
cmd
and run these commands:cd src
dotnet run --project URLShortener.API\URLShortener.API.