Slide 1

Slide 1 text

ASP.NET CORE 2.0 ASP.NET CORE 2.0 CI/CD WITH GITHUB, TRAVIS CI, & AZURE WEB APPS CI/CD WITH GITHUB, TRAVIS CI, & AZURE WEB APPS JOSH MICHIELSEN - DEVOPS ENGINEER @ BANKWEST JOSH MICHIELSEN - DEVOPS ENGINEER @ BANKWEST | | | | TWITTER.COM/JMICKEY_ TWITTER.COM/JMICKEY_ LINKEDIN.COM/IN/JMICHIELSEN LINKEDIN.COM/IN/JMICHIELSEN GITHUB.COM/JAYMICKEY GITHUB.COM/JAYMICKEY

Slide 2

Slide 2 text

.NET CORE 2.0 .NET CORE 2.0 Released Aug 15th 2017 Implements .NET Standard 2.0 Open Source: Multi-platform https://github.com/dotnet/core

Slide 3

Slide 3 text

ASP.NET CORE 2.0 ASP.NET CORE 2.0 Released Aug 15th 2017 Implements .NET Standard 2.0 Open Source: Can target .NET Core 2 or .NET Framework 4.6.1+ https://github.com/aspnet/home

Slide 4

Slide 4 text

CONTINUOUS INTEGRATION (CI) CONTINUOUS INTEGRATION (CI)

Slide 5

Slide 5 text

- via ThoughtWorks: Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early. By integrating regularly, you can detect errors quickly, and locate them more easily. https://www.thoughtworks.com/continuous-integration

Slide 6

Slide 6 text

GitHub specific CI service Free for public repos ( ) Paid for private repos ( ) Configuration-as-Code: .travis.yml file https://travis-ci.org https://travis-ci.com

Slide 7

Slide 7 text

.travis.yml file language: csharp solution: ./path/to/.sln mono: none dotnet: 2.0.0 dist: trusty script: - dotnet restore $TRAVIS_SOLUTION - dotnet build $TRAVIS_SOLUTION - dotnet test ./path/to/.sln branches: only: - master deploy: provider: azure_web_apps username: "$AZURE_WA_USERNAME" password: "$AZURE WA PASSWORD"

Slide 8

Slide 8 text

AZURE APP SERVICE AZURE APP SERVICE PaaS "Fully Managed Platform"

Slide 9

Slide 9 text

AZURE WEB APP AZURE WEB APP Cost of entry: free (F1) Cost increases as you scale SQLAAS SQLAAS Managed SQL Server and Database Easily scale - Database Transaction Units ("DTU") Cost of entry: free (5 DTU)

Slide 10

Slide 10 text

DEMO TIME DEMO TIME

Slide 11

Slide 11 text

CODE: CODE: https://github.com/jaymickey/dotnet-on-azure-talk

Slide 12

Slide 12 text

BANKWEST IS HIRING! BANKWEST IS HIRING! Looking for Software Engineers with experience in: SDLC CI/CD Cloud (AWS/Azure) API development Undergoing org-wide digital transformation Building a homogenous public & private cloud software delivery platform Speak to me afterwards, or contact me: | | twitter.com/jmickey_ linkedin.com/in/jmichielsen github.com/jaymickey

Slide 13

Slide 13 text

QUESTIONS? QUESTIONS?