Skip to content

A PoC of Windows Containers deploying a Core Api application with *Core SDK*, *Web Deploy* and *IIS*

Notifications You must be signed in to change notification settings

aminueza/Casino-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Casino-API

Introduction

This is a Docker windows setup to run a simple api with ASP NET Core, Web Deploy and IIS.

Technologies

  • Amazon Web Service, for hosting, scaling, and managing deployments of containerized application.
  • Cloud Formation, for managing Infrastucture As a Code of AWS resources.
  • Docker, for building a production-ready environment of windows machines.
  • NGINX, for assemblying a NGINX configuration file (nginx.conf).

How to run

1 - Build Casino Api Dockerfile

$ ./build.ps1

2 - Run Casino Web Api

$ ./run.ps1

3 - Build NGINX Dockerfile

$ cd nginx
$ ./build-nginx.ps1

4 - Run NGINX container

$ ./run-nginx.ps1

5 - Open a browser

http://localhost:8080/api/players
$ http://localhost:8080/api/games

Tests

  • This structure was tested on a windows server 2019 machine.
  • CloudFormation is optional, but testable running create.sh <configuration.yaml> <parameter.json>

About

A PoC of Windows Containers deploying a Core Api application with *Core SDK*, *Web Deploy* and *IIS*

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published