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

Debugging in Visual Studio

As we have seen with browser developer tools, the capabilities of Visual Studio for debugging cannot be covered in a single chapter. Our objective will be to highlight some of the features so you have a good understanding of the fundamentals.

Controlling the application launch and target

The first thing in Visual Studio we will look at is controlling how the application is launched. Below the menu, there is a toolbar that shows the launch settings. Figure 11.29 shows this menu bar expanded:

Figure 11.29 – Launch settings

This allows us to control how the application is launched, and in the preceding screenshot, we have two options: IIS Express and Chapter11. These values tie into the launch settings, and the file controlling these options is in the Properties folder as shown in Figure 11.30:

Figure 11.30 – Launch Settings JSON

In the launchSettings.json file, we can see two entries in...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime