Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ASP.NET Core 5 for Beginners

You're reading from   ASP.NET Core 5 for Beginners Kick-start your ASP.NET web development journey with the help of step-by-step tutorials and examples

Arrow left icon
Product type Paperback
Published in Dec 2020
Publisher Packt
ISBN-13 9781800567184
Length 602 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (5):
Arrow left icon
Jeffrey Chilberto Jeffrey Chilberto
Author Profile Icon Jeffrey Chilberto
Jeffrey Chilberto
Ed Price Ed Price
Author Profile Icon Ed Price
Ed Price
Andreas Helland Andreas Helland
Author Profile Icon Andreas Helland
Andreas Helland
Vincent Maverick Durano Vincent Maverick Durano
Author Profile Icon Vincent Maverick Durano
Vincent Maverick Durano
Ed Price Ed Price
Author Profile Icon Ed Price
Ed Price
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1 – Crawling
2. Chapter 1: Introduction to ASP.NET Core 5 FREE CHAPTER 3. Chapter 2: Cross-Platform Setup 4. Chapter 3: Dependency Injection 5. Chapter 4: Razor View Engine 6. Chapter 5: Getting Started with Blazor 7. Section 2 – Walking
8. Chapter 6: Exploring the Blazor Web Framework 9. Chapter 7: APIs and Data Access 10. Chapter 8: Working with Identity in ASP.NET 11. Chapter 9: Getting Started with Containers 12. Section 3 – Running
13. Chapter 10: Deploying to AWS and Azure 14. Chapter 11: Browser and Visual Studio Debugging 15. Chapter 12: Integrating with CI/CD 16. Chapter 13: Developing Cloud-Native Apps 17. Assessments 18. Other Books You May Enjoy

Leveraging Windows Terminal

In the MS-DOS days of computing, everything revolved around the command line, and to this day, most advanced users have to open up a cmd window every now and then. The problem is that it has not always been a great experience so far in Windows. During Build 2020, Microsoft released their 1.0 version of Windows Terminal. While you can do most of your programming entirely without this, we recommended that you install it, because there are many advantages that we'll show you later in this book.

Windows Terminal supports multiple tabs, and not only the "classic" cmd, but also PowerShell, Azure Cloud Shell, and Windows Subsystem for Linux (WSL):

Figure 1.17 – Windows Terminal

Figure 1.17 – Windows Terminal

Azure Cloud Shell delivers an instance of the command-line interface for Azure, the Azure CLI, hosted in Azure. This means that instead of installing the Azure CLI locally and keeping it up to date, you will always have the latest version ready to go. You need an Azure subscription for this to work, but it has no cost other than a few cents for the storage that acts as the local disk for the container containing the executables.

WSL will be covered in greater detail in the next chapter, but the short version of this is that it gives you Linux in Windows. This is the Linux Shell (not a graphical UI), so this also fits into the Windows Terminal experience.

Regardless of which of these types of Terminal you run, they have many options you can configure, which makes them extra helpful for programmers. You can choose fonts that are more suited for programming than Word documents. You can install so-called glyphs, and, for instance, display directly on the prompt information about which Git branch you are on. This book will not require you to be using Git as that is aimed at managing and keeping track of your code, but it is easy to get started with even without knowing the commands in detail, so it comes highly recommended to experiment with it. In most development environments these days, it is the de facto source code management technology. Microsoft provides support for Git both in Azure DevOps and GitHub, but there are other providers out there as well and it is not specific to Microsoft development or .NET.

The end result might look like the following:

Figure 1.18 – Windows Terminal with Git support enabled

Figure 1.18 – Windows Terminal with Git support enabled

It is downloadable from the Windows Store as well as directly from GitHub, but the Store is better if you want automatic updates.

The extended Git info requires a few extra steps, which you can find at https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup.

You have been reading a chapter from
ASP.NET Core 5 for Beginners
Published in: Dec 2020
Publisher: Packt
ISBN-13: 9781800567184
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime