Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Hands-On Visual Studio 2022

You're reading from   Hands-On Visual Studio 2022 A developer's guide to exploring new features and best practices in VS2022 for maximum productivity

Arrow left icon
Product type Paperback
Published in Jun 2022
Publisher Packt
ISBN-13 9781801810548
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Miguel Angel Teheran Garcia Miguel Angel Teheran Garcia
Author Profile Icon Miguel Angel Teheran Garcia
Miguel Angel Teheran Garcia
Hector Uriel Perez Rojas Hector Uriel Perez Rojas
Author Profile Icon Hector Uriel Perez Rojas
Hector Uriel Perez Rojas
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Visual Studio Overview
2. Chapter 1: Getting Started with Visual Studio 2022 FREE CHAPTER 3. Chapter 2: Configuring the IDE 4. Chapter 3: Improvements in Visual Studio 2022 5. Chapter 4: Creating Projects and Templates 6. Chapter 5: Debugging and Compiling Your Projects 7. Part 2: Tools and Productivity
8. Chapter 6: Adding Code Snippets 9. Chapter 7: Coding Efficiently with AI and Code Views 10. Chapter 8: Web Tools and Hot Reload 11. Chapter 9: Styling and Cleanup Tools 12. Chapter 10: Publishing Projects 13. Part 3: GitHub Integration and Extensions
14. Chapter 11: Implementing Git Integration 15. Chapter 12: Sharing Code with Live Share 16. Chapter 13: Working with Extensions in Visual Studio 17. Chapter 14: Using Popular Extensions 18. Chapter 15: Learning Keyboard Shortcuts 19. Other Books You May Enjoy

Templates for APIs

Today, it is almost a rule that applications use API-based endpoints. This is because they provide a high level of security and interoperability by not depending on a particular technology or operating system, and they can be scaled according to the existing demand. Also, we can implement advanced architecture, such as microservices using APIs, where all our business logic is distributed in small isolated and standalone services.

Due to the great importance of being able to develop solutions based on APIs, Visual Studio 2022 incorporates a special template so that we can create APIs based on .NET 6, which we can search by filtering the api term, as can be seen in Figure 4.12:

Figure 4.12 – Filtering by API and selecting the ASP.NET Core Web API

Once we have selected the template, we will have to fill in the complementary information, according to our needs, as seen in Figure 4.13:

Figure 4.13 – Configuring...

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
Banner background image