
C# 14 and .NET 10 – Modern Cross-Platform Development Fundamentals: Build modern websites and services with ASP.NET Core, Blazor, and EF Core using Visual Studio 2026
Author(s): Mark J. Price (Author)
- Publisher finelybook 出版社: Packt Publishing
- Publication Date 出版日期: November 11, 2025
- Edition 版本: 10th ed.
- Language 语言: English
- Print length 页数: 828 pages
- ISBN-10: 1836206631
- ISBN-13: 9781836206637
Book Description
An easy-to-follow guide for beginners and intermediate programmers to master the concepts, real-world applications, and latest features of C# 14 and .NET 10 through hands-on exercises using Visual Studio 2026 and VS Code
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader
Key Features
- Explore the newest additions to the C# language, the .NET class libraries, and data modeling with Entity Framework Core
- Build professional modern websites and services with ASP.NET Core, Blazor, and Minimal API services
- Enhance your skills with step-by-step code examples and good practice tips
Book Description
C# and .NET remain the backbone of modern enterprise and cross-platform development. Whether you're building high-performance websites and services on Windows or Linux or desktop apps that run on Windows and macOS, the .NET ecosystem provides a mature yet constantly evolving foundation for software development. With the release of C# 14 and .NET 10, developers now have access to a more powerful toolset.
This tenth edition has been thoroughly updated to reflect the latest features. It begins with a deep grounding in object-oriented programming and then walks you through building, testing, and debugging functions, as well as managing resources with .NET libraries. You'll work with data using LINQ and serialization, handle filesystem operations, and integrate new features like numerical string comparisons and OrderedDictionary improvements. This book explains C# 14 updates, such as field modifiers, partial events, and instance constructors, in a real-world context. It also guides you in building practical projects with ASP.NET Core 10, exploring Blazor and Minimal API web services that support AOT compilation—ideal for microservices and containers.
By the end of the book, you’ll be ready to ship professional websites, services, and tools across platforms, confident in your ability to build software that's maintainable, efficient, and aligned with modern .NET development.
What you will learn
- Discover the new features in .NET 10, including the NumericOrdering option and OrderedDictionary enhancements
- Leverage the latest ASP.NET Core 10 features, such as OpenAPI 3.1 document generation, YAML format support, and populating XML doc comments
- Use native AOT publishing for faster startup and reduced memory footprint
- Build rich web user interface experiences with Blazor
- Integrate databases into your applications using EF Core 10 entity models
- Query and manipulate data using LINQ
- Develop powerful web services with Minimal APIs
Who this book is for
This book is for beginner-to-intermediate level C# and .NET developers. While prior experience with C# or .NET is not a prerequisite, a general understanding of programming concepts will be helpful.
To learn about technologies for building modern .NET projects such as gRPC, SignalR, and GraphQL for services, or Avalonia, Blazor, and .NET MAUI for apps, read Mark's Apps and Services with .NET 10.
For more mature web development technologies like ASP.NET Core MVC, controller-based Web API services, OData services, and Umbraco CMS, check out Mark's Real-World Web Development with .NET 10.
Table of Contents
- Hello, C#! Welcome, .NET!
- Speaking C#
- Controlling Flow, Converting Types, and Handling Exceptions
- Writing, Debugging, and Testing Functions
- Building Your Own Types with Object-Oriented Programming
- Implementing Interfaces and Inheriting Classes
- Packaging and Distributing .NET Types
- Working with Common .NET Types
(N.B. Please use the Read Sample option to see further chapters)
Editorial Reviews
Review
“A go-to resource for mastering new language features through real-world examples and unlocking the full potential of technologies like keyed services, collection expressions, frozen collections, and primary constructors.”
Pavle Davitkovic, Software Developer at Ingsoftware
“If you're a new .NET developer or looking for a refresher, I can’t recommend this book enough.”
Milan Jovanovic, Microsoft MVP
“Whether you're just starting out or looking to level up your skills, this is your essential guide to mastering the latest advancements in C# and .NET — a must-read for beginners and experienced developers alike.”
Stefan Dokic, Microsoft MVP
“An absolute wealth of reference examples for developers. Highly recommend it for your bookshelf if you're a dotnet dev!”
Nick Cosentino, Principal Software Engineering Manager at Microsoft
“Whether you're looking to learn C# or start writing real-world applications in the world of .NET, this book is for you.”
Anton Martyniuk, Microsoft MVP in Developer Technologies
About the Author
Mark J. Price is a Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with over 20 years of 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 Microsoft Certified Trainers up-to-speed on C# and .NET. Mark has spent most of his career training a wide variety of students, from 16-year-old apprentices to 70-year-old retirees, with the majority being professional developers. Mark holds a BSc in Computer Science.
finelybook
