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.

WCF Microservices in containers

262 views

Published on

Slides used in build recap event at bdotnet & xhackers. Basics about Windows Containers, Microservices and running wcf services in containers

Published in: Software
  • Be the first to comment

  • Be the first to like this

WCF Microservices in containers

  1. 1. WCF Microservices in Containers //build recap 2017 - bdotnet & xhackers @svswaminathan
  2. 2. Swaminathan Vetri Senior Engineer @ Target Microsoft MVP - Visual Studio & Development technologies Windows/Web/Cross platform mobile developer Blogger, Speaker, Amateur photographer, Gadget freak @svswaminathan Wannabeegeek.com
  3. 3. Agenda • Intro to Windows Containers • Intro to Microservices • Running WCF Services in windows containers • Demos
  4. 4. Containers vs VM
  5. 5. Containers vs VM
  6. 6. Container fundamentals
  7. 7. Windows containers • What are Containers ? • Windows Server Containers • Provides isolation through process & namespace technology • Hyper-V Containers • Provides isolation by running each container in highly optimized VM • When to use what ?
  8. 8. Microservices • Microservices is an approach to application development where every part of the application is deployed as a fully self-contained component, called a microservice that can be individually scaled and updated. • Agility - can scale out dynamically depending on usage, with resource isolation every service is restrained from accessing other service’s resources • Solves Management, Deployment, Orchestration and patching needs without affecting High availability
  9. 9. WCF services in containers ? • Windows containers are now available to use • Service endpoints are easy to configure • Reduce or eliminate maintenance of Virtual machines • Better support for service oriented architecture
  10. 10. What is supported for WCF ? • Http /Https endpoints • IIS Hosting • Self Hosting • Anonymous access endpoints
  11. 11. WCF Image Dockerfile FROM microsoft/iis SHELL [“powershell”, “-command”, “$ErrorActionPreference = ‘Stop’; $ProgressPreference=‘SilentlyContinue’;”] RUN Add-WindowsFeature NET-WCF-HTTP-Activation45; Add-WindowsFeature NET-WCF-TCP-Activation45; Add-WindowsFeature Web-WebSockets
  12. 12. References • https://azure.microsoft.com/en-us/blog/containers-docker-windows- and-trends/ • https://docs.microsoft.com/en- us/virtualization/windowscontainers/index • https://github.com/Microsoft/wcf-docker-samples
  13. 13. Thank you. Swaminathan Vetri Microsoft MVP swami@wannabeegeek.com @svswaminathan Questions?

×