Category Archives: Comps

Angular 2 404 Not Found http.get

404 Not Found on http.get request



I was playing around with Angular and rather than calling a fully blown API endpoint I was using a sample JSON file within an API folder in my solution.

read more

Leave a Comment

Filed under Comps

Docker Toolbox – Leveraging localhost support over 192.168.99.100

I’ve recently completed a refresher on Docker. Whilst working through this excellent MEAN stack setup with Angular 2 and Docker compose tutorial I realised that despite the docker compose setup being all present and correct my references to localhost were never gonna work correctly.

read more

Leave a Comment

Filed under Comps

Docker compose “The system cannot find the file specified” error

Issue

When running “docker-compose up –build” I experienced the following error:

read more

Leave a Comment

Filed under Comps

TeamCity Build – Excluding Projects From a Solution (sln) file.

As part of a solution I was including the 3rd Party “MVCForum” projects which I didn’t want to build on every commit.  I need to exclude this projects from building in TeamCity.  Steps below…

read more

Leave a Comment

Filed under Comps

Moq – Mocking the Request context and verifying SQLException is raised.

Mocking the Request on an API Controller

Had an API controller under unit test which made use of the HttpMessageRequest which I needed to mock.How do I get a handle on this? read more

Leave a Comment

Filed under Comps