This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker images microsoft/* | |
| REPOSITORY TAG IMAGE ID CREATED SIZE | |
| microsoft/dotnet-nightly 2.1.5-aspnetcore-runtime-stretch-slim 37b2d5c419fc 3 days ago 255MB | |
| microsoft/dotnet-nightly 2.1.5-aspnetcore-runtime-alpine3.7 5cec6334cae6 3 days ago 162MB | |
| microsoft/dotnet-nightly 2.1-runtime-alpine 663c2e4be967 3 days ago 88MB | |
| microsoft/dotnet aspnetcore-runtime 2967770cac05 8 days ago 255MB | |
| microsoft/dotnet 2.1-runtime-deps-alpine3.7 5ad3594253c3 8 days ago 13.3MB | |
| microsoft/dotnet sdk d14ca4022ef8 8 days ago 1.73GB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker images microsoft/* | |
| REPOSITORY TAG IMAGE ID CREATED SIZE | |
| microsoft/dotnet-nightly 2.1.5-aspnetcore-runtime-stretch-slim 37b2d5c419fc 3 days ago 255MB | |
| microsoft/dotnet-nightly 2.1.5-aspnetcore-runtime-alpine3.7 5cec6334cae6 3 days ago 162MB | |
| microsoft/dotnet-nightly 2.1-runtime-alpine 663c2e4be967 3 days ago 88MB | |
| microsoft/dotnet aspnetcore-runtime 2967770cac05 8 days ago 255MB | |
| microsoft/dotnet 2.1-runtime-deps-alpine3.7 5ad3594253c3 8 days ago 13.3MB | |
| microsoft/dotnet sdk d14ca4022ef8 8 days ago 1.73GB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker rmi demo/authentication-api | |
| docker rmi demo/catalog-api | |
| docker rmi demo/ledger-api | |
| docker rmi demo/gateway-api | |
| docker image prune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker rm demo-auth-api -f | |
| docker rm demo-catalog-api -f | |
| docker rm demo-ledger-api -f | |
| docker rm demo-api-gateway -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "GlobalConfiguration": { | |
| "BaseUrl": "http://demo.api.gateway:52793", | |
| "RateLimitOptions": { | |
| "DisableRateLimitHeaders": false, | |
| "QuotaExceededMessage": "Customized Gateway Rate Limiting Issue!", | |
| "HttpStatusCode": 999, | |
| "ClientIdHeader": "Test" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| netsh advfirewall firewall add rule name="Http Port 52790" dir=in action=allow protocol=TCP localport=52790 | |
| netsh advfirewall firewall add rule name="Http Port 52791" dir=in action=allow protocol=TCP localport=52791 | |
| netsh advfirewall firewall add rule name="Http Port 52792" dir=in action=allow protocol=TCP localport=52792 | |
| netsh advfirewall firewall add rule name="Http Port 52793" dir=in action=allow protocol=TCP localport=52793 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static IWebHost BuildWebHost(string[] args) => | |
| WebHost.CreateDefaultBuilder(args) | |
| .UseKestrel(options => | |
| { | |
| // Set properties and call methods on options | |
| }) | |
| .UseUrls("http://0.0.0.0:80") | |
| .UseStartup<Startup>() | |
| .Build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Replace with your computer's local IP Address | |
| 192.168.1.116 demo.api.gateway |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -d -p 52792:80 --name demo-auth-api demo/authentication-api | |
| docker run -d -p 52791:80 --name demo-catalog-api demo/catalog-api | |
| docker run -d -p 52790:80 --name demo-ledger-api demo/ledger-api | |
| docker run -d -p 52793:80 --name demo-api-gateway demo/gateway-api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "DownstreamPathTemplate": "/api/user/", | |
| "DownstreamScheme": "http", | |
| "DownstreamHostAndPorts": [ | |
| { | |
| "Host": "demo.api.gateway", | |
| "Port": 52792 | |
| } | |
| ], | |
| "UpstreamPathTemplate": "/api/user/", |