Upgrade to Pro — share decks privately, control downloads, hide ads and more …

.NET Core Overview

.NET Core Overview

Internal Lightning Talk @ Redgate, Cambridge, UK


Tugberk Ugurlu

July 26, 2016


  1. .NET Core Tugberk Ugurlu

  2. Disclaimer ¯\_(ツ)_/¯ “I am still all fuzzy about the concepts”

  3. So, it’s RTM now :tada: https://blogs.msdn.microsoft.com/dotnet/2016/06/27/announcing-net-core-1-0/

  4. Not entirely... :sadpanda:

  5. Hmm... • The CLR and Core Framework is RTM •

    The Tooling is still Preview • Compilation • Package Restore • Publish • Packaging • Running • etc.
  6. All Open Source • CoreCLR: https://github.com/dotnet/coreclr • Framework: https://github.com/dotnet/corefx •

    .NET Compiler Platform: https://github.com/dotnet/roslyn • .NET CLI tools: https://github.com/dotnet/cli
  7. Works Everywhere

  8. Good-old C# http://dot.net

  9. New CLI Tooling

  10. Hello World

  11. Hello World

  12. Hello World

  13. Anatomy of a Project

  14. Anatomy of a Project

  15. Anatomy of a Project

  16. New Concepts • Runtime Identifier (RID) • .NET Standard Library

    • Frameworks • Platform Metapackages • Portable Applications • Self-Contained Applications • .NET Core Command Line Interface
  17. .NET Standard Library • TODO: brain melt gif • TODO:

    add link to docs • TODO: add pic of the .net standard lib table https://docs.microsoft.com/en-us/dotnet/articles/standard/library#net-platforms-support
  18. Different Deployment Models: Portable https://docs.microsoft.com/en-us/dotnet/articles/core/deploying/index#portable-applications

  19. Different Deployment Models: Self-contained https://docs.microsoft.com/en-us/dotnet/articles/core/deploying/index#self-contained-applications

  20. Different Deployment Models: Self-contained https://docs.microsoft.com/en-us/dotnet/articles/core/deploying/index#self-contained-applications

  21. Linux All The Things

  22. Be Closer to Tools like NGINX, HAProxy http://www.tugberkugurlu.com/archive/nginx-reverse-proxy-and-load-balancing-for-asp-net-5-applications-with-docker-compose

  23. Proper Code Editor Experience

  24. IntelliSense

  25. Smart Thingies

  26. Debugging

  27. dotnet CLI Integration

  28. Docker! > docker run -it microsoft/dotnet:latest https://github.com/tugberkugurlu/AspNetCoreSamples/tree/master/haproxy-zero-downtime-sample

  29. ASP.NET Core • Completely new • Unified MVC/Web API Frameworks

    • New and Modern Data Protection Stack • Modern Configuration Model • New, Libuv based Web Server (Kestrel, > 1.15 Million RPS) • Nice docs: docs.asp.net • All Open Source under https://github.com/aspnet (including docs)
  30. Why would I move to .NET Core + CoreCLR? •

    Do you want your products to run on non-Windows platforms? • Do you want your products to run on Nano Server? • Do you want to be ready when PowerShell goes xPlat? • Do you want your hosted applications run on Linux and save money? • Do you want to run on Docker and be supported? • Do you want to adopt new, modern Web stack (ASP.NET Core)?
  31. Post 1.0.0/Preview2- Roadmap https://blogs.msdn.microsoft.com/dotnet/2016/07/15/net-core-roadmap/