A Real World REST API Example in ASP.NET
- MacOS Mojave 10.14.*
- [Visual Studio Community for Mac Version 8.0.*] (https://visualstudio.microsoft.com/de/vs/mac/)
- .NET SDK 2.2
- Docker for Mac
- Azure Data Studio for Mac
- Kitura
We slightly changed the walkthrough on How to set up a full-stack .NET web development environment on Mac OS setting up the MSSQL server in docker. We pulled the latest mssql server with
docker pull microsoft/mssql-server-linux
and start the server with
docker run -e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=Passw0rd!' \
-p 1433:1433 \
--name mssql_the_real_world \
-d microsoft/mssql-server-linux
The Project was created as a .NET Core App -> WebApp MVC with no dependencies added. (sqlServer is already in the default package)
- Database setup with basic Page and ContentElemet
- Implement basic REST Controller for Page in progress
- Authentication
- Authorization
- Simple REST Endpoint