MiniOrg is a toy REST API I created to show off my capabilities with ASP.NET Core.
- 📄 Pagination
- 🛑 Ratelimiting
- 💾 Output Caching
- 🗃️ SQL Server database
- ⚡ Asynchronous
- 📖 Swagger documentation
- ✨ MVC Pattern
- 🔥 .NET 8.0
- A connection string to an SQL Server database
- Visual Studio
- Clone the master branch.
- Open the solution in Visual Studio.
- Ensure all Nuget dependencies are installed.
- Open
MiniOrg/MiniOrg/appsettings.json
. - Set your connection string as the defualt connection string.
- Open a Package Manager Console instance.
- Run
Update-Database
. - Open a Command Line instance.
- Cd into
MiniOrg/MiniOrg
. - Run
dotnet run seeddb
. - Close both consoles.
- Run the project using one of the following methods.
- Press the run button in Visual Studio. (Ensure the https profile is used)
- Run
dotnet run --environment Development --launch-profile https
.
- Open a web browser of your chosing and visit
https://localhost:7163/swagger/index.html
.