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

Building a schedule API in Java using VS Code

Java is one of the pioneer programming languages that is based on Object-Oriented Programming (OOP) principles. With Java, you can develop enterprise-grade applications, and it provides various frameworks to build an application for your specific needs.

For RESTful APIs, there are a lot of frameworks available, as follows, in which Java Spring Boot is one of the most widely used frameworks:

  • Spring Boot
  • ACT framework
  • Spark
  • Dropwizard
  • Ninja
  • Snow
  • Light-rest-4j

In this section, we will build the schedule API in the Java Spring Boot framework with VS Code and show the steps needed to develop, build, and run the application in VS Code.

Creating a new Java Spring Boot API project in VS Code

VS Code offers a very lightweight development environment for developing a Java Spring Boot application. Java Spring Boot provides Maven and Gradle frameworks for developing RESTful applications. With this...