Jump to ratings and reviews
Rate this book

C# 10 and .NET 6 – Modern Cross-Platform Development: Build Apps, Websites, and Services with ASP.NET Core 6, Blazor, and EF Core 6 Using Visual Studio 2022 and Visual Studio Code

Rate this book
Publisher’s Microsoft will stop supporting .NET 6 from November 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 8.

Purchase of the print or Kindle book includes a free PDF eBook

Key FeaturesExplore the newest additions to C# 10, the .NET 6 class library, and Entity Framework Core 6Create professional websites and services with ASP.NET Core 6 and BlazorBuild cross-platform apps for Windows, macOS, Linux, iOS, and AndroidBook DescriptionExtensively 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 learnBuild rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET CoreBuild your own types with object-oriented programmingWrite, test, and debug functionsQuery and manipulate data using LINQIntegrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLiteBuild and consume powerful services using the latest technologies, including gRPC and GraphQLBuild cross-platform apps using XAMLWho this book is 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.



Table of ContentsHello C#, Welcome .NET!Speaking C#Controlling Flow, Converting Types, and Handling ExceptionsWriting, Debugging, and Testing FunctionsBuilding Your Own Types with Object-Oriented ProgrammingImplementing Interfaces and Inheriting ClassesPackaging and Distributing .NET TypesWorking with Common .NET TypesWorking with Files, Streams, and SerializationWorking with Data Using Entity Framework CoreQuerying and Manipulating Data Using LINQImproving Performance and Scalability Using MultitaskingIntroducing Practical Applications of C# and .NETBuilding Websites Using ASP.NET Core Razor PagesBuilding Websites Using the Model-View-Controller PatternBuilding and Consuming Web ServicesBuilding User Interfaces Using BlazorBonus B

824 pages, Kindle Edition

Published November 9, 2021

74 people are currently reading
88 people want to read

About the author

Mark J. Price

27 books19 followers
Mark J Price is a former Microsoft Certified Trainer (MCT) and current Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with more than 20 years' of educational and programming experience.

Since 1993 Mark has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them too. His students range from professionals with decades of experience to 16-year-old apprentices with none. Mark successfully guides all of them by combining educational skills with real-world experience consulting and developing systems for enterprises worldwide.

Between 2001 and 2003 Mark was employed full-time to write official courseware for Microsoft in Redmond, USA. Mark's 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 other MCTs up-to-speed on C# and .NET.

Currently, Mark creates and delivers training courses for Episerver's Digital Experience Platform, the best .NET CMS for Digital Marketing and E-commerce.

In 2010 Mark studied for a Post-Graduate Certificate in Education (PGCE). He taught GCSE and A-Level mathematics in two London secondary schools. Mark holds a Computer Science BSc. Hons. Degree from the University of Bristol, UK.

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
15 (33%)
4 stars
16 (35%)
3 stars
13 (28%)
2 stars
1 (2%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Matthew Horvat.
124 reviews3 followers
April 3, 2022
This book does a great job introducing the reader to .NET 6 and C#10. I wished it had been twice as long as it's 800 some odd pages. Seems like there were chapter that were just, here's a giant topic we're cramming into one chapter to say we covered it.

That all said, the part on C#10 itself were very well done. Even though I've been using C#10 since 1.0 and 2 days, I still learned somethings, and felt the author explained the new features well enough for me to start digging deeper.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.