Skip to content

spielgestalt/TheRealWorldASPDotNet

Repository files navigation

TheRealWorldASPDotNet

A Real World REST API Example in ASP.NET

Development Machine Specs

Setup Project

Setup Database

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)

Todos

  • Database setup with basic Page and ContentElemet
  • Implement basic REST Controller for Page in progress
  • Authentication
  • Authorization
  • Simple REST Endpoint

Resources and Documentation used for this project

Problems while creating this Project