Book Image

C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals - Eighth Edition

By : Mark J. Price
4.7 (15)
Book Image

C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals - Eighth Edition

4.7 (15)
By: Mark J. Price

Overview of this book

This latest edition of the bestselling Packt series will give you a solid foundation to start building projects using modern C# and .NET with confidence. You'll learn about object-oriented programming; writing, testing, and debugging functions; and implementing interfaces. You'll take on .NET APIs for managing and querying data, working with the fi lesystem, and serialization. As you progress, you'll explore examples of cross-platform projects you can build and deploy, such as websites and services using ASP.NET Core. This latest edition integrates .NET 8 enhancements into its examples: type aliasing and primary constructors for concise and expressive code. You'll handle errors robustly through the new built-in guard clauses and explore a simplified implementation of caching in ASP.NET Core 8. If that's not enough, you'll also see how native ahead-of-time (AOT) compiler publish lets web services reduce memory use and run faster. You'll work with the seamless new HTTP editor in Visual Studio 2022 to enhance the testing and debugging process. You'll even get introduced to Blazor Full Stack with its new unified hosting model for unparalleled web development flexibility.
Table of Contents (18 chapters)
17
Index

Index

A

abstract class 348

abstraction 232

abstract streams 475

access modifier 236

Active Server Pages (ASP) 628

ADO.NET database provider

using 522

ADO.NET for SQLite library

reference link 522

ADO.NET for SQL Server library

reference link 523

aggregation 232

AI Assistant 48

reference link 48

aliases 72

Android 8

Angular 652

anonymous inline delegate

implementing, as middleware 691-693

anonymous types 606

any type

converting, to string 152, 153

AOT warnings

reference link 392

app trimming

used, for reducing size of apps 389, 390

Arabic programming language

reference link 65

argument 176-178

arrays

inline arrays 145

jagged arrays 141, 142

multi-dimensional arrays 139-141

multiple values, storing in 138

single-dimensional arrays 138, 139

summarizing 145, 146

used, for list pattern matching 143-145

artificial intelligence (AI) tools...