Jump to ratings and reviews
Rate this book

C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals: Start building websites and services with ASP.NET Core 7, Blazor, and EF Core 7

Rate this book
Publisher’s 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

Key FeaturesExplore the newest additions to C# 11, the .NET 7 class libraries, and Entity Framework Core 7Create professional websites and services with ASP.NET Core 7 and BlazorBuild your confidence with step-by-step code examples and tips for best practicesBook DescriptionExtensively 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.

What you will learnBuild rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET CoreWrite, test, and debug functionsQuery and manipulate data using LINQIntegrate and update databases in your apps using Entity Framework Core modelsBuild and consume powerful services using the latest technologies, including Web API and Minimal APIFor .NET 6 11 can be used with .NET 6, including features like raw string literalsEF Core 7 targets .NET 6, so you can benefit from its new features like ExecuteUpdate and ExecuteDelete for more efficient data modificationsWho this book is for

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.



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 .

818 pages, Kindle Edition

Published November 8, 2022

74 people are currently reading
48 people want to read

About the author

Mark J. Price

31 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
14 (45%)
4 stars
13 (41%)
3 stars
4 (12%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
Profile Image for Ali Koleiny Zadeh.
1 review
July 6, 2023
one of the best book for start and learning fundamental of modern .net
Only some inconsistencies in database-related chapters But it doesn't matter.
It's highly recommended.
i get my job with this book🙏
10 reviews
August 18, 2023
Quite comprehensive and detailed, I love the step-by-step projects implementation in the last few chapters on ASP.NET. It not only tells how to write codes, but also how to configure develop environment for Visual Studio and Visual Studio Code.
7 reviews
March 22, 2023
Great book for intermediate C# programmers. Book I have been looking for with solid code examples to learn from. Only what you need and great reference.
Profile Image for Charlie Lee.
303 reviews11 followers
August 15, 2024
If you have already read an introductory book and had a play with C# and decided you wanted to read an in-depth catalogue of its features, rather than moving onto some beginner projects, this might be a good choice for you. Sort of the P.E.P. guidelines of C#. The author has good technical knowledge and one of the best explanations of the processes behind floating point imprecision I have come across to date. He also has extensive knowledge about previous versions of C# and dotnet, what has been added, removed, lacks backwards compatibility, etc.

However, I suspect many users will feel short sold that this is not a crash course in the language before moving onto the website projects, etc. For me, this could have been 200 pages shorter, less broad in scope and still had time for a more focused look at some of the key aspects, specifically: collection data structures (gets about half a page each), reading/writing to files, string manipulation (this part was actually covered nicely—after nearly 400 pages), etc. The part on types was okay and generally the book would be reasonable as reference material, but to read left to right is certainly not an experience I would repeat.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.