Jump to ratings and reviews
Rate this book

Pro C# 10 with .NET 6: Foundational Principles and Practices in Programming

Rate this book
Welcome to the most comprehensive foundational guide available on the topic of C# coding and .NET. This book goes beyond “do this, to achieve this” to drill down into the core stuff that makes a good developer, great. This expanded 11th edition delivers loads of new content on Entity Framework, Razor Pages, Web APIs and more. You will find the latest C# 10 and .NET 6 features served up with plenty of “behind the curtain” discussion designed to expand developers’ critical thinking skills when it comes to their craft. Coverage of ASP.NET Core, Entity Framework Core, and more sits alongside the latest updates to the new unified .NET platform, from performance improvements to Windows Desktop apps on .NET 6, updates in XAML tooling, and expanded coverage of data files and data handling. Going beyond the latest features in C# 10, all code samples are rewritten for this latest release.



Dive in and discover why this essential classic is a favorite of C# developers worldwide. Gain a solid foundation in object-oriented development techniques, attributes and reflection, generics and collections, and numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies). Pro C# 10 with .NET 6 will build your coding confidence putting C# into practice, and exploring the .NET universe and its vast potential on your own terms.

What You Will Learn





Explore C# 10 features and updates in records and record structs, global and implicit using directives, file level namespaces, extended property patterns, and moreDevelop applications with C# and modern frameworks for services, web, and smart client applicationsHit the ground running with ASP.NET Core web applications using MVC and Razor Pages, including view components, custom tag helpers, custom validation, GDPR support, and areasBuild ASP.NET RESTful services complete with versioning, enhanced swagger, and basic authenticationEmbrace Entity Framework Core for building real-world, data-centric applications, with deeply expanded coverage new to this edition including SQL Server temporal table supportDive into Windows Desktop Apps on .NET 6 using Windows Presentation FoundationUnderstand the philosophy behind .NETDiscover the new features in .NET 6, including single file applications, smaller container images, and more

















Who This Book Is For

Developers of any level who want to either learn C# and .NET or want to take their skills to the next level.




“Amazing! Provides easy-to-follow explanations and examples. I remember reading the first version of this book; this is a ‘must-have’ for your collection if you are learning .NET!”

– Rick McGuire, Senior Application Development Manager, Microsoft

“Phil is a journeyman programmer who brings years of experience and a passion for teaching to make this fully revised and modernized ‘classic’ a ‘must-have’. Any developer who wants full-spectrum, up-to-date coverage of both the C# language and how to use it with .NET and ASP.NET Core should get this book.”

– Brian A. Randell, Partner, MCW Technologies and Microsoft MVP

3053 pages, Kindle Edition

Published July 30, 2022

60 people are currently reading
71 people want to read

About the author

Andrew Troelsen

41 books13 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
7 (38%)
4 stars
9 (50%)
3 stars
2 (11%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
Profile Image for Matthew Horvat.
124 reviews3 followers
August 18, 2022
Your typical computer programming book. Did a great job for the first 2/3 of the book breaking down C# and .NET 6 there were even some great sections where they'd cover a topic and go into detail about how it changed over several versions.

The part that bothered me and this is nit picking was the last 3rd when you get EF, ASP.NET and WPF all shoved in several chapters. Those topics should all be books on their own.
Profile Image for James Henry.
6 reviews
May 17, 2023
Basically the C# Bible at this point. It's insane how much great info is within these pages.
Don't try to read it cover to cover. You will lose.
1 review
December 13, 2024
The ASP.NET Core projects felt over-engineered, but I understand this was intentional for learning purposes, which made them a bit challenging to follow when introduced simultaneously. Additionally, the complete absence of diagrams or illustrations throughout the book made it harder to visualize some concepts and track which project references which project. That said, as another reviewer mentioned, this is an excellent resource for learning C# fundamentals and becoming familiar and productive with various .NET technologies, many of which already have dedicated books for deeper exploration.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.