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.
Ovais Mehboob Ahmed Khan is a seasoned programmer and solution architect with nearly 20 years of experience in software development, consultancy, and solution architecture. He has worked with various clients across the world and is currently working as a senior customer engineer at Microsoft. He specializes mainly in application development using .NET and OSS technologies, Microsoft Azure, and DevOps. He is a prolific writer who has written several books and articles on various technologies. He really enjoys talking about technology and has given a number of technical sessions around the world.
John Callaway, a Microsoft MVP, has been a professional developer since 1999. He has focused primarily on web technologies and has experience with everything from PHP to C# to ReactJS to SignalR. Clean code and professionalism are particularly important to him, along with mentoring and teaching others what he has learned along the way.
Clayton Hunt has been programming professionally since 2005, doing mostly web development with an emphasis on JavaScript and C#. He focuses on Software Craftsmanship and is a signatory of both the Agile Manifesto and the Software Craftsmanship manifesto. He believes that through short iterations and the careful gathering of requirements, we can deliver the highest quality and most value in the shortest time. He enjoys learning and encouraging others to continuously improve themselves.