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

C# 8 & NET 5: Primeros Pasos

C# 8 & NET 5: Primeros Pasos

Diapositivas de mi presentación sobre C# 8 y NET 5: Primeros pasos

Repositorio: https://github.com/stvansolano/csharp-sandbox
Blog: http://stvansolano.github.io/blog/
Twitter: @stvansolano

Esteban Solano Granados

April 11, 2020
Tweet

More Decks by Esteban Solano Granados

Other Decks in Technology

Transcript

  1. C# 8 y NET 5:
    Primeros pasos
    Esteban Solano G.
    @stvansolano
    Microsoft MVP

    View full-size slide

  2. Agenda
    1 – Novedades C# (7, 8, 9)
    2 – Dar el paso a NET 5
    3 – Demos (NET 5 + C#8)
    [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog
    [email protected] Twitter/GitHub: stvansolano
    Twitter: @stvansolano
    Agenda

    View full-size slide

  3. Sobre mí
    Esteban Solano Granados
    Senior Software Engineer
    http://stvansolano.github.io/blog
    [email protected]
     Remote contractor / Instructor
     .Net / Mobile / Xamarin / Web Dev
    Mobile CR Developers
    Twitter: @stvansolano
     Remote contractor / Instructor
     .Net / Mobile / Xamarin / Web Dev
     Mobile CR Developers
    Twitter: @stvansolano
    https://stvansolano.github.io/blog/
    Esteban Solano Granados
    Senior Software Engineer

    View full-size slide

  4. Links
    Esteban Solano Granados
    Senior Software Engineer
    http://stvansolano.github.io/blog
    [email protected]
     Remote contractor / Instructor
     .Net / Mobile / Xamarin / Web Dev
    Mobile CR Developers
    Twitter: @stvansolano
     https://github.com/stvansolano/
     /CSharp-sandbox
     /Xamarin-Explorer
     /AprendeXamarin
     Otros repos
    https://stvansolano.github.io/blog/
    https://meetup.com/Azure-Costa-Rica
    https://meetup.com/Costa-Rica-Mobile-Developers

    View full-size slide

  5.  Open Source
     Fácil de aprender
     Multi-plataforma: Linux, Windows, MacOS y web,
    entre otros
     Compiladores, VS Code y Visual Studio (Windows,
    Mac)
     https://try.dot.net/
    C# 8 (9 vNext)
    [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog

    View full-size slide

  6. C# 8 features - /1
    [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog
    1. “Using” declarations
    2. Default Interface Methods
    3. Switch Expressions
    4. Property Patterns
    5. Tuple Patterns

    View full-size slide

  7. 6. Positional Patterns
    7. Static Local Functions
    8. Async Streams
    9. Indexes & Ranges
    10. Null Coalescing Assignment

    C# 8 features - /2
    [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog

    View full-size slide

  8. Demo -
    Recursos para el
    equipo
    Preparando el equipo
     VS Code / Studio, .NET Core y Docker (opcional)
     No Docker? NET 5 SDK (VS 2019) – Instalación
    tradicional
     VSCode Extensions (OmniSharp, Remote
    Containers)
    [email protected] Twitter/GitHub: stvansolano

    View full-size slide

  9. ¿Preguntas?
    Escríbeme
    Twitter: @stvansolano
    [email protected]
    [email protected] Twitter/GitHub: stvansolano
    Twitter: @stvansolano

    View full-size slide

  10. [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog

    View full-size slide

  11. [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog

    View full-size slide

  12. [email protected]
    Twitter: @stvansolano http://stvansolano.github.io/blog
     Release official .NET 5 en Noviembre 2020
     Preview 2 (Abril 2020)
     Releases predecibles, menos versiones de ser necesario

    View full-size slide

  13. NET 5
     No más .NET Core, no más Framework
     .NET Core 3.X / .NET Framework 4.8.x => 5
     Versiones y repositorios consolidades
     Más soporte a la CLI (Xamarin) y otras tecnologías
     EF Core (5), WPF, Blazor, gRPC , WebAssembly
    [email protected] Twitter/GitHub: stvansolano
    Twitter: @stvansolano

    View full-size slide

  14. ¿Preguntas?
    Escríbeme
    Twitter: @stvansolano
    [email protected]
    [email protected] Twitter/GitHub: stvansolano
    Twitter: @stvansolano

    View full-size slide

  15. ¡Gracias!
    Escríbeme
    Twitter: @stvansolano
    [email protected]
    [email protected] Twitter/GitHub: stvansolano
    Twitter: @stvansolano

    View full-size slide