Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The Velvet Revolution: Modernizing Traditional ASP.NET Apps with Docker

846 views

Published on

Using Docker with Windows Server 2016 to modernize ASP.NET applications - a feature-driven approach. Starting with an ASP.NET WebForms apps, how to run the app in Docker and then modernize it using the Docker platform. From NDC London 2017.

Published in: Software
  • Be the first to comment

The Velvet Revolution: Modernizing Traditional ASP.NET Apps with Docker

  1. 1. The Velvet Revolution Dockerizing Traditional .NET Apps Elton Stoneman | Developer Advocate @EltonStoneman | elton@docker.com
  2. 2. Today • The Docker platform • ASP.NET apps in Docker • Modernizing apps with Docker
  3. 3. Not Today • Microservices • DevOps • Cloud • .NET Core • Nano Server • Linux
  4. 4. GET v1
  5. 5. GET v2
  6. 6. GET v3
  7. 7. GET v4
  8. 8. GET v5
  9. 9. Docker is a Platform
  10. 10. .NET Fx ASP.NET Web App Server Core IIS > docker build
  11. 11. # escape=` FROM microsoft/windowsservercore SHELL ["powershell", "-Command"] RUN Add-WindowsFeature Web-server, ` NET-Framework-45-ASPNET, Web-Asp-Net45; ` Remove-Website -Name 'Default Web Site' COPY ProductLaunchWeb /product-launch-web RUN New-Website -Name 'product-launch' ` -PhysicalPath 'C:product-launch-web' -Port 80 EXPOSE 80 COPY bootstrap.ps1 / ENTRYPOINT ./bootstrap.ps1
  12. 12. > docker push hub.docker.com
  13. 13. > docker run
  14. 14. Dockerizing ASP.NET
  15. 15. GET • Consistency – Build & store – Run & manage • Foundation – Fast, safe deployment – Break up monoliths v2
  16. 16. Modernizing Apps with Docker
  17. 17. Performance Heavy usage crashes app Data Insight Support ticket for queries UX Full release for UI change
  18. 18. Performance Heavy usage crashes app Data Insight Support ticket for queries UX Full release for UI change
  19. 19. Performance Feature Demo
  20. 20. GET v3
  21. 21. GET v3
  22. 22. Performance Heavy usage crashes app Data Insight Support ticket for queries
  23. 23. Data Insight Feature Demo
  24. 24. GET v4
  25. 25. GET v4
  26. 26. Performance Heavy usage crashes app Data Insight Support ticket for queries UX Full release for UI change
  27. 27. UX Feature Demo
  28. 28. GET v5
  29. 29. GET v5
  30. 30. Performance Heavy usage crashes app Data Insight Support ticket for queries UX Full release for UI change
  31. 31. From • ASP.NET WebForms app • SQL Server database
  32. 32. To • Event-driven architecture • Self-service analytics • Self-service content
  33. 33. Takeaways • Docker is a mature platform • Moving apps into Docker is easy • Dockerizing enables modernizing
  34. 34. • Docker Labs • Docker Captains • DockerCon • @EltonStoneman What Next?
  35. 35. THANK YOU

×