A proof-of-concept to have Whitelisted Uris persisted in a database.
- .NET 5 SDK & Runtime
- Visual Studio 2019 Community
- SQL Server
- Clone the repository
cd
intoCorsDbPersistedSandbox/CorsDbPersistedSandbox
- Ensure you have the
dotnet-ef
tool installed in the .NET CLI. (Rundotnet tool install --global dotnet-ef
if you don't) - Run
dotnet ef migrations add InitialCreate
- Run
dotnet ef database update
- Run the application and make requests via Postman