Skip to main content



Run applications on a Mac using ASP.NET Core and with MongoDB on Docker

It is easy to develop ASP.NET Core applications on a Mac with VSCode, and run them while they rely Docker based data services. The first part is easy because of ASP.NET core's cross platform compatibility. The is very simple even though it sounds impressive.  Services like MongoDB expose the same ports whether they are Docker deployed or directly installed to the operating system.

Our application is an ASP.NET core micro-service example put out by Microsoft. The bookstore REST service API support implements basic CRUD operations. The net result is an ASP.NET web service that uses MongoDB as its' persistent store.

I build this on a Mac because both .NetCore is cross platform and MongoDB is running in a Linux Docker container isolated from the underlying system. You should be able to run this without changes on a PC without modification.

We are using Visual Studio code because it is cross platform and runs on Mac, PC and Linux.  I have run it in the Linux Subsystem on Chromebooks…

Latest Posts

Have the team tell you who is important - with an incentive

Quit worrying and love VMs and Containers

Data Lake - getting data into the zone

Data Lakes are not just for squares

Machine Intelligence Feature Flow

Can federal programs really be Agile when multiple firms are involved?

No hack required for Linux on Chromebooks with the Termina VM and containers or Virtualbox

Tether Kali Linux to iPhone over USB

Silent Disco style conference breakout sessions with AWS

A portable Program Increment (PI) planning wall