An easy-to-follow guide for beginners and intermediate programmers to master modern C# and .NET development through hands-on examples 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 continue to power modern cross-platform and enterprise development. With the release of C# 14 and .NET 10, developers gain access to a more capable, efficient, and future-ready platform for building websites, services, and applications across Windows, Linux, and macOS.
This fully updated tenth edition takes a practical, hands-on approach. You’ll start with core C# and object-oriented programming concepts, then progress through building, testing, and debugging applications while working with .NET libraries, filesystems, serialization, and LINQ. The book covers key C# 14 enhancements—such as field modifiers, partial events, and instance constructors, explained through real-world examples.
You’ll also build modern web solutions using ASP.NET Core 10, Blazor, and Minimal APIs, including support for native AOT compilation, making this book well suited for cloud-native, microservice, and container-based development.
By the end of the book, you’ll be confident in building maintainable, high-performance websites and services aligned with modern .NET development practices.
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 C# and .NET developers who want to build modern, cross-platform websites and services. Prior experience with C# or .NET is helpful but not required; a basic understanding of programming concepts is sufficient.