C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals

Extensively revised to accommodate the latest features that come with C# 11 and .NET 7, this latest edition of our 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. Next, you’ll take on .NET APIs for performing tasks like managing and querying data, working with the filesystem, and serialization. As you progress, you’ll also explore examples of cross-platform projects you can build and deploy, such as websites and services using ASP.NET Core.

Instead of distracting you with unnecessary graphical user interface code, the first eleven chapters will teach you about C# language constructs and many of the .NET libraries through simple console applications. Having mastered the basics, you’ll then start building websites, web services, and browser apps.

By the end of this book, you’ll be able to create rich web experiences and have a solid grasp of object-oriented programming that you can build upon.

Type
ebook
Category
publication date
2022-11-08
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
Write, test, and debug functions
Query and manipulate data using LINQ
Integrate and update databases in your apps using Entity Framework Core models
Build and consume powerful services using the latest technologies, including Web API and Minimal API

For .NET 6 developers:
C# 11 can be used with .NET 6, including features like raw string literals
EF Core 7 targets .NET 6, so you can benefit from its new features like ExecuteUpdate and ExecuteDelete for more efficient data modifications

no of pages
818
duration
1636
key features
Explore the newest additions to C# 11, the .NET 7 class libraries, and Entity Framework Core 7 * Create professional websites and services with ASP.NET Core 7 and Blazor * Build your confidence with step-by-step code examples and tips for best practices
approach
This book is a beginner-friendly overview of the technological landscape of C# 11 and .NET 7. As you progress through the chapters, you’ll get an all-round experience, from uncovering the power of this platform to learning how to apply the concepts to create real-world products.
audience
This book is primarily for beginners, but intermediate-level 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 will also find plenty of useful information in it. Prior exposure to C# or .NET is not a prerequisite, but you should have a general understanding of programming before you jump in.

If you already have some C# and .NET skills and want to focus on developing apps, we recommend that you pick up Mark’s other .NET book, Apps and Services with .NET 7, instead.
meta description
Publisher's Note: Microsoft will stop supporting .NET 7 from May 2024. The newer 8th edition of the book is available that covers .NET 8 (end-of-life November 2026) with C# 12 and EF Core.

Purchase of the print or Kindle book includes a free PDF eBook
short description
Whether you’re diving back into C# or starting out, this new edition of our bestselling guide will teach you the fundamentals of object-oriented programming and working with databases. You’ll also learn about website development using ASP.NET Core Razor Pages, the Model-View-Controller pattern, and Blazor for web component user interfaces. This new edition is updated to feature the latest developments and technologies.
subtitle
Start building websites and services with ASP.NET Core 7, Blazor, and EF Core 7
keywords
web development; OOP; Dotnet; Dotnet 7; Object oriented programming; Dotnet core; Dotnet books
Product ISBN
9781803237800