/cs11dotnet7

Repository for the Packt Publishing book titled "C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals" by Mark J. Price

Primary LanguageC#

Improvements & Errata - list of corrections

C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals, Seventh Edition

.NET 7 reached its end-of-life on Tuesday, May 14, 2024. I recommend upgrading to .NET 8 as soon as possible.

With every Packt book you get a DRM-free PDF version of that book at no cost. Submit your proof of purchase at the following link: https://packt.link/free-ebook/9781803237800

You can read reviews for this book on Amazon UK and Amazon US.

Available on Amazon in Paperback or Kindle editions from November 8, 2022: https://packt.link/0ypql

My author page on Amazon: https://www.amazon.com/Mark-J-Price/e/B071DW3QGN/

Available on Packt's website in eBook or Print + eBook editions, or included with a Packt Subscription, from November 8, 2022: https://packt.link/p2uyD

All of my books on Packt's website: https://subscription.packtpub.com/search?query=mark+j.+price

Code solutions for Visual Studio 2022 and Visual Studio Code

If you have Visual Studio 2022 for Windows and Visual Studio Code and its C# extension installed on the same computer, the build process can sometimes conflict. This is because Visual Studio has its own non-standard build server that is different from the standard build server used by .NET SDK. Visual Studio 2022 and Visual Studio Code also use different file types to group projects. So I have duplicated and separated solution code for each product:

  • /vs4win: Visual Studio 2022 for Windows solution files and projects for each chapter
  • /vscode: Visual Studio Code workspace files and projects for each chapter

Command-Lines

To make it easier to enter commands at the prompt, the Command-Lines page lists all commands as a single line that can be copied and pasted.

Sibling books

Sibling books

GitHub repository for Apps and Services with .NET 7

Chapters

  • Chapter 1 Hello C#, Welcome .NET!
  • Chapter 2 Speaking C#
  • Chapter 3 Controlling Flow, Converting Types, and Handling Exceptions
  • Chapter 4 Writing, Debugging, and Testing Functions
  • Chapter 5 Building Your Own Types with Object-Oriented Programming
  • Chapter 6 Implementing Interfaces and Inheriting Classes
  • Chapter 7 Packaging and Distributing .NET Types
  • Chapter 8 Working with Common .NET Types
  • Chapter 9 Working with Files, Streams, and Serialization
  • Chapter 10 Working with Data Using Entity Framework Core
  • Chapter 11 Querying and Manipulating Data Using LINQ
  • Chapter 12 Introducing Web Development Using ASP.NET Core
  • Chapter 13 Building Websites Using ASP.NET Core Razor Pages
  • Chapter 14 Building Websites Using the Model-View-Controller Pattern
  • Chapter 15 Building and Consuming Web Services
  • Chapter 16 Building User Interface Components Using Blazor

Bonus content

Chapters 7 and 12, and the appendix and color figures are available to download as PDFs:

Important

Corrections for typos and other mistakes and improvements like refactoring code. Useful links to other related material.

Microsoft Certifications

Announcing the New Foundational C# Certification with freeCodeCamp: https://devblogs.microsoft.com/dotnet/announcing-foundational-csharp-certification/

Microsoft used to have professional exams and certifications for developers that covered skills like C# and ASP.NET. Sadly, they have retired them all. These days, the only developer-adjacent exams and certifications are for Azure or Power Platform, as you can see from the certification poster: https://aka.ms/traincertposter

Microsoft .NET community support

Interviews with me

Podcast interviews with me:

Written interviews with me: