Code for an Icecream Shop's REST API, containing some example vulnerabilities.
Follow steps 1-3 to get started.
dotnet restoreIf you don't have the EF core tools, run:
dotnet tool install -g dotnet-efThen (or straightaway if you already have the tools), run:
dotnet ef database updatedotnet run- This should work with net7.0. If you have multiple versions installed set the version in a global.json file. See: https://learn.microsoft.com/en-us/dotnet/core/versions/selection. You can check your sdk versions with:
dotnet --list-sdks. - https://jasonwatmore.com/post/2022/09/05/net-6-connect-to-sqlite-database-with-entity-framework-core (might be helpful if there are issues getting the db set-up, note you might need to specify versions for the nugetpackages, E.g.,
--version 7.0.0).
