
- 300 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
C# 7 and .NET Core 2.0 High Performance
About this book
Improve the speed of your code and optimize the performance of your apps
Key Features
- Understand the common performance pitfalls and improve your application's performance
- Get to grips with multi-threaded and asynchronous programming in C#
- Develop highly performant applications on.NET Core using microservice architecture
Book Description
While writing an application, performance is paramount. Performance tuning for realworld applications often involves activities geared toward fnding bottlenecks; however, this cannot solve the dreaded problem of slower code. If you want to improve the speed of your code and optimize an application's performance, then this book is for you. C# 7 and.NET Core 2.0 High Performance begins with an introduction to the new features of what?explaining how they help in improving an application's performance. Learn to identify the bottlenecks in writing programs and highlight common performance pitfalls, and learn strategies to detect and resolve these issues early. You will explore multithreading and asynchronous programming with.NET Core and learn the importance and effcient use of data structures. This is followed with memory management techniques and design guidelines to increase an application's performance. Gradually, the book will show you the importance of microservices architecture for building highly performant applications and implementing resiliency and security in.NET Core. After reading this book, you will learn how to structure and build scalable, optimized, and robust applications in C#7 and.NET.
What you will learn
- Measure application performance using BenchmarkDotNet
- Explore the techniques to write multithreaded applications
- Leverage TPL and PLinq libraries to perform asynchronous operations
- Get familiar with data structures to write optimized code
- Understand design techniques to increase your application's performance
- Learn about memory management techniques in.NET Core
- Develop a containerized application based on microservices architecture
- Learn tools and techniques to monitor application performance
Who this book is for
This book is for.NET developers looking at improving the speed of their code or simply wanting to take their skills to the next level. Basic C# knowledge is assumed.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
What's New in .NET Core 2 and C# 7?
- Performance improvements in .NET Core 2.0
- Upgrading the path from .NET Core 1.x to 2.0
- .NET Standard 2.0
- What comes with ASP.NET Core 2.0
- New features in C# 7.0
Evolution of .NET
| Benefit | Description |
| Cross Platform | .NET Core can run on Windows, Linux, and macOS |
| Host Agnostic | .NET Core on the server side is not dependent on IIS and, with two lightweight servers, Kestrel and WebListener, it can be self-hosted as a Console application and can be also gelled with mature servers such as IIS, Apache, and others through a reverse proxy option |
| Modular | Ships as NuGet packages |
| Open Source | The entire source code is released as open source via the .NET Foundation |
| CLI tooling | Command line tools to create, build, and run projects from the command line |

- Framework-Dependent Deployment (FDD): needs .NET Core SDK to be installed on the machine
- Self-Contained Deployment (SCD): No machine-wide installation of .NET Core SDK is needed on the machine and .NET Core CLR and framework class libraries are part of the application package
New improvements in .NET Core 2.0
Performance improvements
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- What's New in .NET Core 2 and C# 7?
- Understanding .NET Core Internals and Measuring Performance
- Multithreading and Asynchronous Programming in .NET Core
- Data Structures and Writing Optimized Code in C#
- Designing Guidelines for .NET Core Application Performance
- Memory Management Techniques in .NET Core
- Securing and Implementing Resilience in .NET Core Applications
- Microservices Architecture
- Monitoring Application Performance Using Tools
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app