-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Real-World Web Development with .NET 10 - Second Edition
By :
Git is a commonly used source code management system. GitHub is a company, website, and desktop application that makes it easier to manage Git. Microsoft purchased GitHub in 2018, so it will continue to get closer integration with Microsoft tools.
I created a GitHub repository for this book, and I use it for the following:
Good practice: I strongly recommend that all readers review the errata, improvements, post-publication changes, and common errors pages before attempting any coding task in this book. You can find them at the following link: https://github.com/markjprice/web-dev-net10/blob/main/docs/errata/README.md.
You can complete all the coding tasks just from reading this book because all the code is shown in the pages. You do not need to download or clone the solution code to complete this book. The solution code is provided in the GitHub repository only so that you can view it if you get stuck working from the book, and to save you time from entering long files yourself. It is also more reliable to copy from an actual code file than from a PDF or other e-book format.
This book uses the new .slnx format solution files. You can learn about them at the following link: https://github.com/markjprice/cs14net10/blob/main/docs/ch01-solution-evolution.md.
The solution code in the GitHub repository for this book can be opened with any of the following code editors:
MatureWeb.slnx solution file.MatureWeb folder.All the chapters in this book share a single solution file named MatureWeb.slnx.
All the code solutions can be found at the following link:
https://github.com/markjprice/web-dev-net10/tree/main/code.
If you are new to .NET development, then the GitHub repository has step-by-step instructions for three code editors (Visual Studio, VS Code, and Rider), along with additional screenshots: https://github.com/markjprice/web-dev-net10/tree/main/docs/code-editors/.
If you just want to download all the solution files without using Git, click the green Code button and then select Download ZIP, as shown in Figure 1.6:

Figure 1.6: Downloading the repository as a ZIP file
Good practice: It is best to clone or download the code solutions to a short folder path, like C:\web-dev-net10\ or C:\book\, to avoid build-generated files exceeding the maximum path length. You should also avoid special characters like #. For example, do not use a folder name like C:\C# projects\. That folder name might work for a simple console app project, but once you start adding features that automatically generate code, you are likely to have strange issues. Keep your folder names short and simple.
You do not need to clone the book solution code repository because all the code you need is in the book, and you can enter it all yourself, which is the best way to learn. But I also recommend cloning the solution so that you can refer to it while you create your own projects as you follow the instructions in this book.
If you want to clone the book solution code repository, then you can create an empty folder and in that folder, enter the appropriate Git command at any command prompt or terminal window:
git clone https://github.com/markjprice/web-dev-net10.git
Note that cloning all the solutions for all the chapters will take a minute or so, so please be patient.
Now that you have downloaded or cloned the code solutions for all the tasks in this book, let’s review how to structure the projects that you create yourself and how to manage the packages that add common functionality to your projects.