Book Image

C# 7 and .NET Core Solutions [Video]

By : Dirk Strauss
Book Image

C# 7 and .NET Core Solutions [Video]

By: Dirk Strauss

Overview of this book

C# has recently been open-sourced and brings a host of exciting new features that allows you to write better codes and resolve common programming challenges. This course will equip you with all the new features in a practical approach to solve everyday problems faced by developers. You will explore the new features of C# and .NET to get started with building the foundation of your application. In this course you will create regular expression, work with Files, Streams, and Serialization, and also handle task and exceptions. Then you work with MVC, enhance your coding performance and build a responsive and cross platform application from extracting data, search tool, notification panel and finally publish your application live. The code bundle for this video course is available at- https://github.com/PacktPublishing/C-Sharp-7-and-.NET-Core-Solutions
Table of Contents (10 chapters)
8
Composing Event-Based Programs Using Reactive Extensions
Chapter 7
High Performance Programming
Content Locked
Section 2
Increasing the Maximum Thread Pool Size
Popular thinking dictates that the thread pool should be used for brief jobs. This is because the thread pool is limited in size. There are many other processes in the system that will use the thread pool. You, therefore, do not want your application to hog all the threads in the thread pool. - Read the number of processors on the current computer - Get the Minimum and maximum allowable thread pool size - Generate a random number between the minimum and maximum thread pool size