Task Programming in C# and .NET: Modern Day Foundation for Asynchronous Programming

Автор: literator от Сегодня, 03:34, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Task Programming in C# and .NET: Modern Day Foundation for Asynchronous Programming
Автор: Vaskaran Sarcar
Издательство: Apress
Год: 2025
Страниц: 183
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB

At a high level, to understand asynchronous programming, you need to be familiar with task programming, efficient use of the async and await keywords, and a few more important topics. However, task programming is the first major step towards modern-day asynchronous programming. This book tries to simplify the topic with simple examples, Q&A sessions, and exercises.

The book starts with an introduction to asynchronous programming and covers task creation and execution. Next, you will learn how to work with continuing and nested tasks. Next, it demonstrates exception handling with different scenarios. Towards the end, you will understand how to manage task cancellations through examples and case studies. After reading this book, you can write efficient codes for multithreaded, asynchronous, and parallel development in C#.

With the availability of multicore computers, asynchronous programming and parallel programming are becoming increasingly important. Why not? It is essential for building highly responsive software. This is why playing with threads in a multithreaded environment is inevitable. Undoubtedly, it is hard, but in earlier days, it was harder. To simplify the overall coding experience, starting from the .NET Framework 4.0, Microsoft introduced Task Parallel Library (TPL) which was based on the concept of tasks. Later, in C#5, we saw the revolutionary introduction of the async and await keywords. Using them, we started passing the heavy work(s) to the compiler. However, you need to remember that a typical async method normally returns a task (in programming terms, a Task or a Task TResult). So, there is no wonder that task programming became the modern-day foundation for asynchronous programming.

Prerequisite Knowledge:
I expect you to be very much familiar with C#. In fact, knowing about some of the advanced concepts like delegates and lambda expressions can accelerate your learning. I assume that you know how to compile or run a C# application in Visual Studio. This book does not invest time in easily available topics, such as how to install Visual Studio on your system or how to write a “Hello World” program in C#. In short, the target readers of this book are those who want to make the most out of C# by harnessing the power of both object-oriented programming (OOP) and functional programming (FP).

What You Will Learn:
Dig deep into task programming which is an essential part of the concurrent and multithreaded developments.
Learn modern-day C# features that are foundations of asynchronous programming
How the advanced features in C# such as delegates, lambdas, generics, etc. can be used in concurrency

Who This Book is For:
C# and .NET developers.

Скачать Task Programming in C# and .NET: Modern Day Foundation for Asynchronous Programming




ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.