Cargando…

Improving Your C# Skills : Solve Modern Challenges with Functional Programming and Test-Driven Techniques of C#.

With this Learning Path, you will be able to easily solve complex programming challenges using advanced features of C#. You'll structure and build scalable, optimized, and robust applications in C#7 and .NET, and with the newly-acquired TDD skills, you'll be ready to enter the market not o...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Mehboob Ahmed Khan, Ovais
Otros Autores: Callaway, John, Hunt, Clayton, Stephens, Rod
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2019.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: What's New in .NET Core 2 and C# 7?; Evolution of .NET; New improvements in .NET Core 2.0; Performance improvements; RyuJIT compiler in .NET Core; Profile guided optimization; Simplified packaging; Upgrading path from .NET Core 1.x to 2.0; 1. Install .NET Core 2.0; 2. Upgrade TargetFramework; 3. Update .NET Core SDK version; 4. Update .NET Core CLI; Changes in ASP.NET Core Identity; Exploring .NET Core CLI and New Project Templates; Understanding .NET Standard
  • Versioning of .NET StandardNew improvements in .NET Standard 2.0; More APIs in .NET Standard 2.0; Compatibility mode; Creating a .NET Standard library; What comes with ASP.NET Core 2.0; ASP.NET Core Razor Pages; Automatic Page and View compilation on publishing; Razor support for C# 7.1; Simplified configuration for Application Insights; Pooling connections in Entity Framework Core 2.0; New features in C# 7.0; Tuples; Patterns; Constant pattern; Type pattern; Var pattern; Reference returns; Expression bodied member extended; Creating Local Functions; Out variables; Async Main
  • Writing quality codeSummary; Chapter 2: Understanding .NET Core Internals and Measuring Performance; .NET Core internals; CoreFX; CoreCLR; Understanding MSIL, CLI, CTS, and CLS; How the CLR works; From compilation to execution
  • Under the hood; Garbage collection; Generations in GC; .NET Native and JIT compilation; Utilizing multiple cores of the CPU for high performance; How releasing builds increases performance; Benchmarking .NET Core 2.0 applications; Exploring BenchmarkDotNet; How it works; Setting parameters; Memory diagnostics using BenchmarkDotnet; Adding configurations; Summary
  • Chapter 3: Multithreading and Asynchronous Programming in .NET CoreMultithreading versus asynchronous programming; Multithreading in .NET Core; Multithreading caveats; Threads in .NET Core; Creating threads in .NET Core; Thread lifetime; The thread pool in .NET; Thread synchronization; Monitors; Task parallel library (TPL); Creating a task using TPL; Task-based asynchronous pattern (TAP); Naming convention; Return type; Parameters; Exceptions; Task status; Task cancellation; Task progress reporting; Implementing TAP using compilers; Implementing TAP with greater control over Task
  • Design patterns for parallel programmingPipeline pattern; Dataflow pattern; Producer/consumer pattern; Parallel. ForEach; Parallel LINQ (PLINQ); Summary; Chapter 4: Securing and Implementing Resilience in .NET Core Applications; Introduction to resilient applications; Resilient policies; Reactive policies; Implementing the retry pattern; Implementing circuit breaker; Wrapping the circuit breaker with retry; Fallback policy with circuit breaker and retry; Proactive policies; Implementing timeout; Implementing caching; Implementing health checks