O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Deploying web apis on core clr to docker

Covers deploying APIs built with .NET Core and ASP.NET 5 to Docker

  • Entre para ver os comentários

Deploying web apis on core clr to docker

  1. 1. Deploying On To Glenn Block Splunk
  2. 2. https://github.com/glennblock https://twitter.com/gblock Who am I “I should be tweeting"
  3. 3. I actually know CSharp! 3 Clint Sharp
  4. 4. What is Splunk? Any Machine Data HA Indexes and Storage Search and Investigation Proactive Monitoring Operational Visibility Real-time Business Insights Commodity Servers Online Services Web Services Servers Security GPS Location Storage Desktops Networks Packaged Applications Custom ApplicationsMessaging Telecoms Online Shopping Cart Web Clickstreams Databases Energy Meters Call Detail Records Smartphones and Devices RFID
  5. 5. THE SPLUNK DEVELOPER PLATFORM 5 REST API Build Splunk Apps Extend and Integrate Splunk Simple XML HTML5 JavaScript Web Framework Java JavaScript Python Ruby C# PHP Data Models Search Extensibility Modular Inputs SDKs
  6. 6. Things have surely changed in .NET! 6
  7. 7. We have a new, lighter, cross platform .NET 7
  8. 8. With new tools 8
  9. 9. .NET Core CLI tools dnvm – install and manage .NET versions dnu – restore packages and build dnx – execute code, work with EF dotnet – build a console based app. 9
  10. 10. ASP.NET 5 New light-weight and modular HTTP request pipeline Ability to host on IIS or self-host in your own process Built on .NET Core, which supports true side-by-side app versioning Ships entirely as NuGet packages Integrated support for creating and using NuGet packages 10
  11. 11. ASP.NET 5 Single aligned web stack for Web UI and Web APIs Cloud-ready environment-based configuration Built-in support for dependency injection 11
  12. 12. ASP.NET 5 New tooling that simplifies modern web development Cross-platform, supports Windows, Mac and Linux! Open source and community focused 12
  13. 13. 13
  14. 14. What is Docker? 14 Docker allows you to package an application with all of its dependencies into a standardized unit for software development. https://flic.kr/p/3JFA3
  15. 15. How do containers differ from VMs 15
  16. 16. Core concepts Docker Engine – Docker software which hosts containers Container – A lightweight and isolated environment where applications run. Image – A package of software which is loaded into a container. Hub – A place where images are hosted. 16
  17. 17. More Information https://dotnet.github.io/getting-started/ https://get.asp.net/ https://www.docker.com https://blogs.msdn.microsoft.com/webdev/2015/01/14/running-asp-net-5- applications-in-linux-containers-with-docker/ http://docs.asp.net/en/latest/conceptual-overview/aspnet.html 17
  18. 18. Contact manager API https://github.com/glennblock/contacts-api-coreclr Hypermedia-based contacts API Uses ASP.NET 5 Web API, CoreCLR, EF 7 and sqlite Docker-ready 18
  19. 19. 19