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

ASP.NET Core 2 – High Performance Web Applications

ASP.NET Core 2 – High Performance Web Applications

ASP.NET Core 2.0 is Microsoft's latest cross-platform and open-source web app framework. It supports an MVC pattern, web APIs, standalone web pages and Single Page Applications (React/Redux, Angular and Vue.js). You can write your server-side code in C#, F# or even Visual Basic then run it on Windows, Mac, Linux and in Docker containers. Performance has been a big focus of ASP.NET Core and version 2.0 increases its speed even more. It scores very highly in benchmarks and much of the optimisation work has come from the community.

Naming is hard and there was some confusion around the launch of .NET Core, particularly with the late changes that were made. This talk will help clarify the current situation, now that the dust has settled. Version 2.0 is what version 1.0 should have been, with increased stability and greater package support. It's also backed by a new wider version of the API interface standard, which simplifies porting libraries so that there are more packages available to use on all platforms.

James Singleton

October 03, 2017

More Decks by James Singleton

Other Decks in Technology


  1. ASP.NET Core 2
    High Performance Web Applications
    James Singleton
    Disclaimer: views, errors and sarcasm are my own and not those of my clients / publisher / previous employers / Microsoft etc.

    View Slide

  2. What is ASP.NET Core?

    View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. Naming is Hard
    “There are only two hard things in Computer Science: cache invalidation,
    naming things, and off-by-one errors.”
    Phil Karlton, and others

    View Slide

  9. View Slide

  10. View Slide

  11. View Slide

  12. Versioning is Hard

    View Slide

  13. View Slide

  14. View Slide

  15. Features
    • Cross-platform
    • Windows
    • Mac
    • Linux
    • Command line friendly
    • Your choice of editor / IDE
    • Visual Studio
    • VS Mac
    • VS Code
    • Rider
    • Open source
    • Community contributions
    • Performance
    • Benchmarks
    • Compiled yet portable
    • Easy package and publish
    • Containers
    • Self-contained
    • Native compilation
    • IL merge / single binary

    View Slide

  16. Demo

    View Slide

  17. ASP.NET Core Library and Framework Support
    • ANCLAFS.com (GitHub repo)
    • Experimenting
    • Feature Switching
    • Profiling
    • O/RMs / DBs
    • Background Tasks
    • Image Manipulation
    • Message Queuing
    • Windows Services
    • Web
    • DI / IoC Containers
    • Logging
    • Serialization
    • Testing

    View Slide

  18. Book • ASP.NET Core 2 High Performance
    • What’s new in .NET Core 2 and C#
    • Getting started (all the platforms)
    • Ways to make your apps fast
    • Data structures
    • Parallelisation
    • Image Formats
    • Compression
    • Architecture
    • Networking
    • Cloud Hosting
    • unop.uk/book

    View Slide

  19. Thanks
    James Singleton
    Disclaimer: views, errors and sarcasm are my own and not those of my clients / publisher / previous employers / Microsoft etc.

    View Slide