Improving your C# Skills Front Cover

Improving your C# Skills

  • Length: 606 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2019-02-26
  • ISBN-10: 1838558381
  • ISBN-13: 9781838558383
  • Sales Rank: #3350338 (See Top 100 Books)
Description

Conquer complex and interesting programming challenges by building robust and concurrent applications with caches, cryptography, and parallel programming.

Key Features

  • Understand how to use .NET frameworks like the Task Parallel Library (TPL)and CryptoAPI
  • Develop a containerized application based on microservices architecture
  • Gain insights into memory management techniques in .NET Core

Book Description

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 Packt 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

Who this book is for

If you want to improve the speed of your code and optimize the performance of your applications, or are simply looking for a practical resource on test driven development, this is the ideal Learning Path for you. Some familiarity with C# and .NET will be beneficial.

Table of 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
  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
To access the link, solve the captcha.