About This Book

Packt C Plus 10 and Net 6 - 250223.jpg

 

 

What you will learn

Extensively revised to accommodate all the latest features that come with C# 10 and .NET 6, this latest edition of our comprehensive guide will get you coding in C# with confidence.

You'll learn object-oriented programming, writing, testing, and debugging functions, implementing interfaces, and inheriting classes. The book covers the .NET APIs for performing tasks like managing and querying data, monitoring and improving performance, and working with the filesystem, async streams, and serialization. You'll build and deploy cross-platform apps, such as websites and services using ASP.NET Core.

Instead of distracting you with unnecessary application code, the first twelve chapters will teach you about C# language constructs and many of the .NET libraries through simple console applications. In later chapters, having mastered the basics, you'll then build practical applications and services using ASP.NET Core, the Model-View-Controller (MVC) pattern, and Blazor.

What you will learn

  • Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core
  • Build your own types with object-oriented programming
  • Write, test, and debug functions
  • Query and manipulate data using LINQ
  • Integrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLite
  • Build and consume powerful services using the latest technologies, including gRPC and GraphQL
  • Build cross-platform apps using XAML

 

Publisher's Note: The newer 7th edition of this book covers C# 11 and EF Core 7 that can both be used with either .NET 7 or .NET 6. The 7th edition also has errata fixes and improvements suggested by readers of the 6th edition.

Who is this book for?

 

Designed for both beginners and C# and .NET programmers who have worked with C# in the past and want to catch up with the changes made in the past few years, this book doesn't need you to have any C# or .NET experience. However, you should have a general understanding of programming before you jump in.

 

  • Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core
  • Build your own types with object-oriented programming
  • Write, test, and debug functions
  • Query and manipulate data using LINQ
  • Integrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLite
  • Build and consume powerful services using the latest technologies, including gRPC and GraphQL
  • Build cross-platform apps using XAML

 

 

Table of Content

 

  1. Hello C#, Welcome .NET!
  2. Speaking C#
  3. Controlling Flow, Converting Types, and Handling Exceptions
  4. Writing, Debugging, and Testing Functions
  5. Building Your Own Types with Object-Oriented Programming
  6. Implementing Interfaces and Inheriting Classes
  7. Packaging and Distributing .NET Types
  8. Working with Common .NET Types
  9. Working with Files, Streams, and Serialization
  10. Working with Data Using Entity Framework Core
  11. Querying and Manipulating Data Using LINQ
  12. Improving Performance and Scalability Using Multitasking
  13. Introducing Practical Applications of C# and .NET
  14. Building Websites Using ASP.NET Core Razor Pages
  15. Building Websites Using the Model-View-Controller Pattern
  16. Building and Consuming Web Services
  17. Building User Interfaces Using Blazor
  18. Bonus Content: Building and Consuming Specialized Services
  19. Bonus Content: Building Mobile and Desktop Apps Using .NET MAUI
  20. Bonus Content: Protecting Your Data and Applications
  21. Bonus Content: Appendix – Answers to the Test Your Knowledge Questions

Publisher's Details

 

  • Publisher ‏ : ‎ Packt Publishing; 6th edition (9 Nov. 2021)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎826 pages
  • ISBN-10 ‏ : ‎ 1801077363
  • ISBN-13 ‏ : ‎ 978-1801077361

Key Features

 

  • Explore the newest additions to C# 10, the .NET 6 class library, and Entity Framework Core 6
  • Create professional websites and services with ASP.NET Core 6 and Blazor
  • Build cross-platform apps for Windows, macOS, Linux, iOS, and Android

  buy-button-id="buy_btn_1MsbNoJvJxalVNa85qD2IsBb"
  publishable-key="pk_test_51MsStYJvJxalVNa8fB12ougGacY2EPyvo2uqLEyJ1bACxPqT6RD7ZFe08WWHEcUwCMpN1tZ3k5nSpRyRI1bhl7zg00PZpKXikQ"
>