Modernizing .NET Apps

Post on 21-Jan-2018

171 views 0 download

Transcript of Modernizing .NET Apps

Modernizing .NET Apps

@IrisClassonKonstrukt

@EltonStonemanDocker, Inc.

AgendaDocker on Windows

Chat! – the Demo App

- Moving to Docker

- Running in the Cloud

- Running in Production

Modernizing .NET Apps

- The Spectrum

- Next Steps

Docker on Windows

sqlservr.exe

dotnet.exe

w3wp.exe

But Why?●Consistency

●Portability

●Isolation

●Size

●Startup-time

●Rollback

●ROI

●Tooling & YOU

6

7

FROM microsoft/aspnet:windowsservercore

COPY UpgradeSample-1.0.0.0.msi /

RUN msiexec /i c:\UpgradeSample-1.0.0.0.msi RELEASENAME=2017.02 /qn

# escape=`FROM microsoft/windowsservercoreSHELL ["powershell", "-Command"]

RUN Add-WindowsFeature Web-server, `NET-Framework-45-ASPNET, Web-Asp-Net45; `

Remove-Website -Name 'Default Web Site'

COPY ProductLaunchWeb /product-launch-webRUN New-Website -Name 'product-launch' `

-PhysicalPath 'C:\product-launch-web' -Port 80

EXPOSE 80

COPY bootstrap.ps1 /ENTRYPOINT ./bootstrap.ps1

Chat!The Demo App

“hi!”

AuditDB

“hi!”

AuditDB

BackplaneDB

“hi!”

AuditDB

BackplaneDB

> demo

“hi!”

BackplaneDB

AuditDB

WAF

Next Steps

Migrateas-is

Adoptplatform idioms

Adaptto new runtime

Extractkey features

Rebuildand renew

• Configuration• Monitoring• Logging

• Fault-tolerance• Scaling• Statelessness

• Peformance• Functionality• Fast updates

• Architecture• Tech stack• Paradigms

• Binaries• Setup• Artifacts

@EltonStoneman

Thank you!

@ IrisClasson