Modernizing .NET Apps

21
Modernizing .NET Apps @IrisClasson Konstrukt @EltonStoneman Docker, Inc.

Transcript of Modernizing .NET Apps

Page 1: Modernizing .NET Apps

Modernizing .NET Apps

@IrisClassonKonstrukt

@EltonStonemanDocker, Inc.

Page 2: Modernizing .NET Apps

AgendaDocker on Windows

Chat! – the Demo App

- Moving to Docker

- Running in the Cloud

- Running in Production

Modernizing .NET Apps

- The Spectrum

- Next Steps

Page 3: Modernizing .NET Apps

Docker on Windows

Page 4: Modernizing .NET Apps

sqlservr.exe

dotnet.exe

w3wp.exe

Page 5: Modernizing .NET Apps

But Why?●Consistency

●Portability

●Isolation

●Size

●Startup-time

●Rollback

●ROI

●Tooling & YOU

Page 6: Modernizing .NET Apps

6

Page 7: Modernizing .NET Apps

7

Page 8: Modernizing .NET Apps
Page 9: Modernizing .NET Apps
Page 10: Modernizing .NET Apps

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

Page 11: Modernizing .NET Apps

# 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

Page 12: Modernizing .NET Apps
Page 13: Modernizing .NET Apps

Chat!The Demo App

Page 14: Modernizing .NET Apps

“hi!”

AuditDB

Page 15: Modernizing .NET Apps

“hi!”

AuditDB

BackplaneDB

Page 16: Modernizing .NET Apps

“hi!”

AuditDB

BackplaneDB

Page 17: Modernizing .NET Apps

> demo

Page 18: Modernizing .NET Apps

“hi!”

BackplaneDB

AuditDB

WAF

Page 19: Modernizing .NET Apps

Next Steps

Page 20: Modernizing .NET Apps

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

Page 21: Modernizing .NET Apps

@EltonStoneman

Thank you!

@ IrisClasson