$ docker-compose up ✔ 6490 13:46:10
Recreating namesweb_namesweb_1 ... done
Attaching to namesweb_namesweb_1
namesweb_1 | info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
namesweb_1 | User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
namesweb_1 | info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
namesweb_1 | Creating key {85e4bc76-7e37-4d9b-98d7-487f7a9cd12e} with creation date 2018-05-02 17:48:29Z, activation date 2018-05-02 17:48:29Z, and expiration date 2018-07-31 17:48:29Z.
namesweb_1 | warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
namesweb_1 | No XML encryptor configured. Key {85e4bc76-7e37-4d9b-98d7-487f7a9cd12e} may be persisted to storage in unencrypted form.
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
| // Directions | |
| // Step 1: Click Gist Raw, then Copy/Paste entire gist into Bookmarklets.org/maker/ | |
| // Step 2: Change the first 3 variables: alias, event, docs | |
| // Step 3: At the bottom of the Bookmarklets.org page, drag the Bookmarklet Hyperlink to your Browser ToolBar | |
| // Step 4: Enjoy | |
| javascript: | |
| ( | |
| function () { | |
| var alias = 'shboyer'; |
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
| apiVersion: v1 | |
| items: | |
| - apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| annotations: | |
| kompose.cmd: kompose convert -f docker-compose-simple.yml -o simple.yml | |
| kompose.version: 1.1.0 (36652f6) | |
| creationTimestamp: null | |
| labels: |
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
| # Git clone shortcut, assumes spboyer by default | |
| # usage: clone <user> <repo name> | |
| function clone { | |
| # customize username to your own | |
| local username="spboyer" | |
| local url=$1; | |
| local repo=$2; | |
| if [[ ${url:0:4} == 'http' || ${url:0:3} == 'git' ]] |
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
| shayne@Azure:~$ az container show -n magic8ball -g wincontainers | |
| { | |
| "containers": [ | |
| { | |
| "command": null, | |
| "environmentVariables": [], | |
| "image": "mvcrandomanswergeneratortest.azurecr.io/mvcrandomanswergenerator:20171012072842", | |
| "instanceView": { | |
| "currentState": { | |
| "detailStatus": "", |
Cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
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
| { | |
| "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "appName": { | |
| "type": "string" | |
| }, | |
| "location": { | |
| "type": "string", | |
| "allowedValues": [ |
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
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
| <DocumentationFile>bin\Debug\netcoreapp1.1\copydocfile-example.xml</DocumentationFile> | |
| <!-- creates the file in the root of the project --> | |
| <DocumentationFile>copydocfile-example.xml</DocumentationFile> | |
| <!-- Creates the file in a "docs" folder --> | |
| <DocumentationFile>docs\copydocfile-example.xml</DocumentationFile> | |
| </PropertyGroup> |
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
| <Target Name="PrepublishScript" BeforeTargets="PrepareForPublish"> | |
| <ItemGroup> | |
| <DocFile Include="bin\$(Configuration)\$(TargetFramework)\*.xml" /> | |
| </ItemGroup> | |
| <Copy SourceFiles="@(DocFile)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="false" /> | |
| </Target> | |
| <!-- Added by Visual Studio, Visual Studio for Mac, or hand code in other IDE --> | |
| <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
| <DocumentationFile>bin\Debug\netcoreapp1.1\copydocfile-example.xml</DocumentationFile> |
Intro - Finding APIs, no documentation, building APIs, test harnesesses etc Swagger - specification no referred or renamed to OpenAPI Spec. Restful interface to documetation of your APIs. Swashbuckle - OSS implementation for ASP.NET / Ahoy => ASP.NET Core on github
ASP.NET Docs page - https://docs.microsoft.com/en-us/aspnet/core/tutorials/web-api-help-pages-using-swagger
We are going to use VS for Mac! Wait what?? (can have some discussion here)
Let's do this..