/apps-services-net8

Repository for the Packt Publishing book titled "Apps and Services with .NET 8" by Mark J. Price

Primary LanguageC#

IMPORTANT! Common Mistakes, Improvements, and Errata aka list of corrections

Apps and Services with .NET 8, Second Edition

Repository for the Packt Publishing book titled "Apps and Services with .NET 8" by Mark J. Price. This book was published on December 12, 2023.

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/free-ebook.

Join the Packt community on Discord: https://packt.link/apps_and_services_dotnet8. After accepting the Discord invite, find the channel for this book named apps_and_services_2e: https://discord.com/channels/963343534323269662/1166070194398048286.

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 my publisher 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

Milan Jovanović's review: https://www.linkedin.com/feed/update/urn:li:activity:7155831658212986881/

Code solutions for Visual Studio 2022 and Visual Studio Code

Visual Studio Code now has an extension named C# Dev Kit that includes a solution explorer so it can better work with Visual Studio 2022 solution files. Visual Studio 2022, Visual Studio Code + C# Dev Kit, and JetBrains Rider 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 a ChapterNN.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 multiple code editors to open these solutions, then be aware that the build process can conflict. This is because Visual Studio 2022 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 closing and opening in different code editors. For example, after closing the solution in one code editor, I delete the bin and obj folders before then opening in a different code editor.

Chapters and code solutions

Introduction

Data

  • Chapter 2 Managing Relational Data Using SQL Server: code/Chapter02
  • Chapter 3 Building Entity Models for SQL Server Using EF Core: code/Chapter03
  • Chapter 4 Managing NoSQL Data Using Azure Cosmos DB: code/Chapter04

Specialized Libraries

Services

  • Chapter 8 Building and Securing Web Services Using Minimal APIs: code/Chapter08
  • Chapter 9 Caching, Queuing, and Resilient Background Services: code/Chapter09
  • Chapter 10 Building Serverless Nanoservices Using Azure Functions: code/Chapter10
  • Chapter 11 Broadcasting Real-Time Communication Using SignalR: code/Chapter11
  • Chapter 12 Combining Data Sources Using GraphQL: code/Chapter12
  • Chapter 13 Building Efficient Microservices Using gRPC: code/Chapter13

Apps

  • Chapter 14 Building Web User Interfaces Using ASP.NET Core: code/Chapter14
  • Chapter 15 Building Web Components Using Blazor: code/Chapter15
  • Chapter 16 Building Mobile and Desktop Apps Using .NET MAUI: code/Chapter16

Extra content to download

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: