C# 7 and .NET Core 2.0 High Performance
Ovais Mehboob Ahmed Khan
- 300 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
C# 7 and .NET Core 2.0 High Performance
Ovais Mehboob Ahmed Khan
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.
Frequently asked questions
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