
C# 9 and .NET 5 - Modern Cross-Platform Development
Build intelligent apps, websites, and services with Blazor, ASP.NET Core, and Entity Framework Core using Visual Studio Code
Mark J. Price(Author)
Packt Publishing
5th Edition
Published on 10. November 2020
Book
Paperback/Softback
822 pages
978-1-80056-810-5 (ISBN)
Description
Publisher's Note: Microsoft stopped supporting .NET 5 in May 2022. The newer 8th edition of the book is available that covers .NET 8 (end-of-life November 2026) with C# 12 and EF Core 8.
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
Explore the newest additions to C# 9, the .NET 5 class library, Entity Framework Core and Blazor
Strengthen your command of ASP.NET Core 5.0 and create professional websites and services
Build cross-platform apps for Windows, macOS, Linux, iOS, and Android
Book DescriptionIn C# 9 and .NET 5 - Modern Cross-Platform Development, Fifth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.
This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with a new chapter on the Microsoft Blazor framework.
The book's first part teaches the fundamentals of C#, including object-oriented programming and new C# 9 features such as top-level programs, target-typed new object instantiation, and immutable types using the record keyword. Part 2 covers the .NET APIs, for performing tasks like managing and querying data, monitoring and improving performance, and working with the file system, async streams, serialization, and encryption. Part 3 provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core or mobile apps using Xamarin.Forms. The best type of application for learning the C# language constructs and many of the .NET libraries is one that does not distract with unnecessary application code. For that reason, the C# and .NET topics covered in Chapters 1 to 13 feature console applications. In Chapters 14 to 20, having mastered the basics of the language and libraries, you will build practical applications using ASP.NET Core, Model-View-Controller (MVC), and Blazor.
By the end of the book, you will have acquired the understanding and skills you need to use C# 9 and .NET 5 to create websites, services, and mobile apps.What you will learn
Build your own types with object-oriented programming
Query and manipulate data using LINQ
Build websites and services using ASP.NET Core 5
Create intelligent apps using machine learning
Use Entity Framework Core and work with relational databases
Discover Windows app development using the Universal Windows Platform and XAML
Build rich web experiences using the Blazor framework
Build mobile applications for iOS and Android using Xamarin.Forms
Who this book is forThis book is best for C# and .NET beginners, or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or .NET experience; however, you should have a general understanding of programming.
Students and professionals with a science, technology, engineering, or mathematics (STEM) background can certainly benefit from this book.
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
Explore the newest additions to C# 9, the .NET 5 class library, Entity Framework Core and Blazor
Strengthen your command of ASP.NET Core 5.0 and create professional websites and services
Build cross-platform apps for Windows, macOS, Linux, iOS, and Android
Book DescriptionIn C# 9 and .NET 5 - Modern Cross-Platform Development, Fifth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.
This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with a new chapter on the Microsoft Blazor framework.
The book's first part teaches the fundamentals of C#, including object-oriented programming and new C# 9 features such as top-level programs, target-typed new object instantiation, and immutable types using the record keyword. Part 2 covers the .NET APIs, for performing tasks like managing and querying data, monitoring and improving performance, and working with the file system, async streams, serialization, and encryption. Part 3 provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core or mobile apps using Xamarin.Forms. The best type of application for learning the C# language constructs and many of the .NET libraries is one that does not distract with unnecessary application code. For that reason, the C# and .NET topics covered in Chapters 1 to 13 feature console applications. In Chapters 14 to 20, having mastered the basics of the language and libraries, you will build practical applications using ASP.NET Core, Model-View-Controller (MVC), and Blazor.
By the end of the book, you will have acquired the understanding and skills you need to use C# 9 and .NET 5 to create websites, services, and mobile apps.What you will learn
Build your own types with object-oriented programming
Query and manipulate data using LINQ
Build websites and services using ASP.NET Core 5
Create intelligent apps using machine learning
Use Entity Framework Core and work with relational databases
Discover Windows app development using the Universal Windows Platform and XAML
Build rich web experiences using the Blazor framework
Build mobile applications for iOS and Android using Xamarin.Forms
Who this book is forThis book is best for C# and .NET beginners, or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or .NET experience; however, you should have a general understanding of programming.
Students and professionals with a science, technology, engineering, or mathematics (STEM) background can certainly benefit from this book.
More details
Edition
5th Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
College/higher education
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 44 mm
Weight
1503 gr
ISBN-13
978-1-80056-810-5 (9781800568105)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Mark J. Price
C# 9 and .NET 5 - Modern Cross-Platform Development
Build intelligent apps, websites, and services with Blazor, ASP.NET Core, and Entity Framework Core using Visual Studio Code
E-Book
09/2024
5th Edition
Packt Publishing
€29.49
Available for download
Person
Mark J. Price is a Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with over 20 years' experience. Since 1993, he has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them. Between 2001 and 2003, Mark was employed to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft, he taught "train-the-trainer" classes to get other MCTs up-to-speed on C# and .NET. Mark holds a Computer Science BSc. Hons. Degree.
Content
Table of Contents
Hello, C#! Welcome, .NET Core!
Speaking C#
Controlling Flow and Converting Types
Writing, Debugging, and Testing Functions
Building Your Own Types with Object-Oriented Programming
Implementing Interfaces and Inheriting Classes
Understanding and Packaging .NET Types
Working with Common .NET Types
Working with Files, Streams, and Serialization
Protecting Your Data and Applications
Working with Databases Using Entity Framework Core
Querying and Manipulating Data with LINQ
Improving Performance and Scalability with Multitasking
Introducing Practical Applications of C# and .NET
Building Websites Using ASP.NET Core Razor Pages
Building Websites Using the Model-View-Controller Pattern
Building Websites Using a Content Management System
Building and Consuming Web Services
Building Intelligent Apps Using Machine Learning
Building Web User Interfaces Using Blazor
Building Cross-Platform Mobile Apps Using Xamarin.Forms
Appendix A (Bonus Chapter)
Appendix B (Bonus Chapter)
Hello, C#! Welcome, .NET Core!
Speaking C#
Controlling Flow and Converting Types
Writing, Debugging, and Testing Functions
Building Your Own Types with Object-Oriented Programming
Implementing Interfaces and Inheriting Classes
Understanding and Packaging .NET Types
Working with Common .NET Types
Working with Files, Streams, and Serialization
Protecting Your Data and Applications
Working with Databases Using Entity Framework Core
Querying and Manipulating Data with LINQ
Improving Performance and Scalability with Multitasking
Introducing Practical Applications of C# and .NET
Building Websites Using ASP.NET Core Razor Pages
Building Websites Using the Model-View-Controller Pattern
Building Websites Using a Content Management System
Building and Consuming Web Services
Building Intelligent Apps Using Machine Learning
Building Web User Interfaces Using Blazor
Building Cross-Platform Mobile Apps Using Xamarin.Forms
Appendix A (Bonus Chapter)
Appendix B (Bonus Chapter)