Improving your C# Skills: Solve modern challenges with functional programming and test-driven techniques of C#
Authors: Ovais Mehboob Ahmed Khan – John Callaway – Clayton Hunt – Rod Stephens
ISBN-10: 1838558381
ISBN-13: 9781838558383
Publication Date 出版日期: 2019-02-26
Print Length 页数: 606 pages
Book Description
By finelybook
Conquer complex and interesting programming challenges by building robust and concurrent applications with caches,cryptography,and parallel programming.
This Learning Path shows you how to create high performing applications and solve programming challenges using a wide range of C# features. You’ll begin by learning how to identify the bottlenecks in writing programs,highlight common performance pitfalls,and apply strategies to detect and resolve these issues early. You’ll also study the importance of micro-services architecture for building fast applications and implementing resiliency and security in .NET Core. Then,you’ll study the importance of defining and testing boundaries,abstracting away third-party code,and working with different types of test double,such as spies,mocks,and fakes. In addition to describing programming trade-offs,this Learning Path will also help you build a useful toolkit of techniques,including value caching,statistical analysis,and geometric algorithms. This Learning Path includes content from the following products:
C# 7 and .NET Core 2.0 High Performance by Ovais Mehboob Ahmed Khan
Practical Test-Driven Development using C# 7 by John Callaway,Clayton Hunt
The Modern C# Challenge by Rod Stephens
What you will learn
Measure application performance using BenchmarkDotNet
Leverage the Task Parallel Library (TPL) and Parallel Language Integrated Query (PLINQ)library to perform asynchronous operations
Modify a legacy application to make it testable
Use LINQ and PLINQ to search directories for files matching patterns
Find areas of polygons using geometric operations
Randomize arrays and lists with extension methods
Use cryptographic techniques to encrypt and decrypt strings and files
contents
1 What’s New in .NET Core 2 and C# 7?
2 Understanding .NET Core Internals and Measuring Performance
3 Multithreading and Asynchronous Programming in .NET Core
4 Securing and Implementing Resilience in .NET Core Applications
5 Why TDD is Important
6 Setting Up the .NET Test Environment
7 Setting Up a JavaScript Environment
8 What to Know Before Getting Started
9 Tabula Rasa – Approaching an Application with TDD in Mind
10 Testing JavaScript Applications
11 Exploring Integrations
12 Changes in Requirements
13 The Legacy Problem
14 Unraveling a Mess
15 Geometry
16 Randomization
17 Files and Directories
18 Advanced C# and .NET Features
19 Cryptography