Introduction

Before reading this article, please go through the article's link, mentioned below.

Quick Start On Apache Cordova Using Visual Studio 2015

Apache Cordova

Apache Cordova is an open-source project, which aims at allowing mobile developers to build applications for all major mobile platforms, using HTML, CSS, and JavaScript technologies.

What is the Ionic Framework?

Ionic is a powerful HTML5 SDK, which helps you to build native-feeling mobile apps, using Web technologies like HTML, CSS, and JavaScript.

Ionic is a popular front-end JavaScript framework to develop cross-platform mobile apps, using Apache Cordova. It’s an open-source framework, which is used to develop mobile applications. It provides tools and services to build mobile UI with a native look and feel.

Ionic framework needs a native wrapper to be able to run on mobile devices. You can use the Ionic Framework in Visual Studio 2015 to easily create and debug cross-platform Ionic apps.

Why use the Ionic Framework?

With Ionic, we wanted to build an HTML5 mobile development framework, which was focused on native or hybrid apps instead of mobile Websites.

Ionic is an open-source having a permissive open-source license that can be used in both commercial and open-source apps, but by cultivating a strong community around the project.

Ionic Icon

UWPCoginitiveEmotion

Ionic Framework Features

The important features of Ionic are listed below.

Ionic Framework Advantages

Ionic Framework Limitations

Building Hybrid apps with Ionic

Now, you must have an understanding of what Ionic is and why it exists. Now, you are ready to start building your first app with it. Let’s see how to install and start building with Ionic.

Prerequisites

Follow the steps, mentioned below to build an Ionic Blank App, using the Ionic Framework.

Step 1. Install the Ionic Framework

Prior to installing the Ionic Framework, we must Install the most recent version of Apache Cordova, which will take our app and bundle it into a native wrapper to turn it into a traditional native app.

In Visual Studio, click on the Tools menu, and choose the Extension and Updates option.

 Updates option

Step 2. Search for Install

Now, the Extension and Update Window will open. Go to the Search Bar and search the keyword Ionic. It will search the Ionic templates for Visual Studio, click on the Download button, and Install.

Search for Install

Now, it's downloading.

Downloading

Now, click on the install button.

 Install button

Step 3. Create an Ionic App

Let’s be ready to create a New Project. Open Visual Studio 2015 and click File -> New -> Project Option for New Apache Cordova App, using Ionic Framework.

 Ionic App

Step 4. Give the Project Name

New Project Window will open. Subsequently, you can select an Installed -> Template -> Java Script -> Apache Cordova Apps ->Ionic JavaScript Blank.

Type the Project name as ionic-App1 and click the OK button.

 Project Name

Step 5. Solution Bar

Afterward, we create a project. Our solution should resemble, as shown below.

 Solution Bar

This table gives the basic idea of how we might use each one.

File Why is it in your project?
bower.json This file manages the Bower package dependencies of our app.
build.json This file contains parameters that Visual Studio uses to build a signed Android package.
config.xml Contains the settings of our app.
taco.json Defines which version of the Cordova CLI Visual Studio is used to build the project.

Step 6. Run the Application

Now, we are ready to run our Project. Thus, click the Ripple – Nexus (Galaxy) to run the Application. (Apache Ripple is a free mobile simulator).

Run the Application

Output

Output

Conclusion

I hope you understood how to start the Ionic blank app, using Visual Studio 2015 and how to run it.