Book Image

Developing Multi-Platform Apps with Visual Studio Code

By : Ovais Mehboob Ahmed Khan, Khusro Habib
Book Image

Developing Multi-Platform Apps with Visual Studio Code

By: Ovais Mehboob Ahmed Khan, Khusro Habib

Overview of this book

Microsoft Visual Studio Code is a powerful, lightweight code editor for modern web and cloud development. It is a source code editor that can be used with a variety of programming languages, which works on multiple platforms such as Linux, Windows, and macOS. This book provides extensive coverage of the tools, functionalities, and extensions available within the VS Code environment that will help you build multi-platform apps with ease. You’ll start with the installation of VS Code and learn about various tools and features that are essential for development. Progressing through the chapters, you'll explore the user interface while understanding tips and tricks for increasing productivity. Next, you’ll delve into VS Code extensions and discover how they can make life easier for developers. Later, the book shows you how to develop a sample application with different programming languages, tools, and runtimes to display how VS code can be used effectively for development, before helping you get to grips with source code version management and deployment on Azure with VS Code. Finally, you’ll build on your skills by focusing on remote development with VS Code. By the end of this book, you’ll have the knowledge you need to use Visual Studio Code as your primary tool for software development.
Table of Contents (15 chapters)
1
Section 1: Introduction to Visual Studio Code
4
Section 2: Developing Microservices-Based Applications in Visual Studio Code
11
Section 3: Advanced Topics on Visual Studio Code

What this book covers

Chapter 1, Getting Started with Visual Studio Code, explains the key features of VS Code as an editor and how it differs from IDEs. The chapter covers VS Code in terms of the overall layout, command line options, multi-cursor editing, code refactoring, code navigation and user snippets among others.

Chapter 2, Extensions in Visual Studio Code. A key feature that makes Visual Studio Code more than just an editor is its extensibility framework. This allows the developer to add extensions relevant to their needs. This chapter will explain the extensibility framework, look at some important extensions, and explore how to add, delete, and configure extensions.

Chapter 3, Building a Multi-Platform Backend Using Visual Studio Code, starts off discussing the architecture and then building microservices on different platforms for the Job Ordering System we will develop in this part of the book. This will help you understand how the Visual Studio Code editor can be used in real-life scenarios.

Chapter 4, Building a Service in .NET Core and Exploring Dapr, develops a .NET Core hosted service to provide integration between different services. Communication is established between these services using a message broker system.

Chapter 5, Building a Web-Based Frontend Application with Angular, uses Visual Studio Code to develop a client-side web application and consumes the backend services developed in the previous chapters. The chapter will focus on how Visual Studio Code can be the editor of choice for frontend development.

Chapter 6, Debugging Techniques, focuses on exploring various debugging features of VS Code by setting up the environment for different technologies. The chapter also discusses different ways of launching the VS Code debugger.

Chapter 7, Deploying Applications on Azure, focuses on containerizing applications using Docker as the container technology and deploying to Azure Kubernetes Services for container orchestration scenarios.

Chapter 8, Git and Azure DevOps, focuses on the use of Git, understanding Git model and different strategies for source code version management. It also explores Azure DevOps for enabling CI/CD for automated build and deployment scenarios

Chapter 9, Creating Custom Extensions in Visual Studio Code, is about exploring the extension framework for extending VS Code functionality by developing custom extensions. The chapter takes you through the steps for building various types of extension such as using TypeScript, Code snippet and theme extension.

Chapter 10, Remote Development in Visual Studio Code, focuses on exploring the remote development feature of VS Code by developing applications on remote machines, containers and on cloud using GitHub Codespaces.