IMPORTANT! Common Mistakes, Improvements, and Errata aka list of corrections
Repository for the Packt Publishing book titled "C# 13 and .NET 9 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
What's new in this edition? You can read a detailed list of changes between the 8th and 9th editions.
If you have purchased the paperback or Kindle edition, then you can request a free PDF copy at the following link: https://www.packtpub.com/page/companion-ebook.
For questions about book pricing, distribution, and so on, please contact the publisher Packt at the following email address: customercare@packt.com
My author page on Amazon: https://www.amazon.com/Mark-J-Price/e/B071DW3QGN/
All of my books on Packt's website: https://subscription.packtpub.com/search?query=mark+j.+price
My author page on Goodreads: https://www.goodreads.com/author/show/14224500.Mark_J_Price
Introduction
- Chapter 1 Hello C#, Welcome .NET! code/Chapter01
Language
- Chapter 2 Speaking C#: code/Chapter02
- Chapter 3 Controlling Flow, Converting Types, and Handling Exceptions: code/Chapter03
- Chapter 4 Writing, Debugging, and Testing Functions: code/Chapter04
- Chapter 5 Building Your Own Types with Object-Oriented Programming: code/Chapter05
- Chapter 6 Implementing Interfaces and Inheriting Classes: code/Chapter06
Libraries
- Chapter 7 Packaging and Distributing .NET Types: code/Chapter07
- Chapter 8 Working with Common .NET Types: code/Chapter08
- Chapter 9 Working with Files, Streams, and Serialization: code/Chapter09
- Chapter 10 Working with Data Using Entity Framework Core: code/Chapter10
- Chapter 11 Querying and Manipulating Data Using LINQ: code/Chapter11
Modern Web Development
- Chapter 12 Introducing Modern Web Development Using .NET: code/ModernWeb
- Chapter 13 Building Websites Using ASP.NET Core: code/ModernWeb/Northwind.Web
- Chapter 14 Building Interactive Web Components Using Blazor: code/ModernWeb/Northwind.Blazor
- Chapter 15 Building and Consuming Web Services: code/ModernWeb/Northwind.MinimalApi
Appendix and online chapter
Figures for all of the code solution folders.
Visual Studio Code now has an extension named C# Dev Kit that includes a solution explorer so it can better work with Visual Studio solution files. Visual Studio for Windows, Visual Studio for Mac, and Visual Studio Code + C# Dev Kit can now use the same code solution files and projects for each chapter, found here: /code.
For Visual Studio Code: To use the chapter solution files with Visual Studio Code, install the C# Dev Kit extension. Then in Visual Studio Code, open the
ChapterNN
folder that contains aChapterNN.sln
solution file and wait for the SOLUTION EXPLORER pane to appear at the bottom of the EXPLORER. You can drag and drop to reorder the panes to put SOLUTION EXPLORER at the top. Learn more about C# Dev Kit at the following link: https://devblogs.microsoft.com/visualstudio/announcing-csharp-dev-kit-for-visual-studio-code/
Warning! If you use both Visual Studio and Visual Studio Code to open these solutions, be aware that the build process can 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 CLI. My recommendation is to only have a solution open in one code editor at any time. You should also clean the solutions between opening in different code editors. For example, after closing the solution in one code editor, I delete the
bin
andobj
folders before then opening in a different code editor.
The appendix and color figures are available to download as PDFs:
- Appendix, Answers to the Test Your Knowledge Questions.
- Color images of the screenshots/diagrams used in this book.
Corrections for typos and other mistakes and improvements like refactoring code. Useful links to other related material.
- Command-Lines page lists all commands as a single line that can be copied and pasted to make it easier to enter commands at the prompt.
- Book Links
- Common Mistakes, Improvements, and Errata aka list of corrections
- Ninth edition's support for .NET 10
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
- .NET Developer Community
- .NET Tech Community Forums for topic discussions
- Q&A for .NET to get your questions answered
- Technical questions about the C# programming language
- If you'd like to apply to be a reviewer
Podcast interviews with me:
- The Modern .NET Show Podcast - January 26, 2024
- The .NET Core Podcast - March 3, 2023
- Yet Another Podcast with Jesse Liberty - December 2022
- The .NET Core Podcast - February 4, 2022
- Yet Another Podcast with Jesse Liberty - May 2021
- The .NET Core Podcast - February 7, 2020
- Yet Another Podcast with Jesse Liberty - February 2020
- Packt Podcasts
Written interviews with me: