Visual Studio 2015 for Mobile applications

Visual Studio is a great piece of software. It's higher end versions are quite expensive but Microsoft has a lower end free version, Microsoft Visual Studio 2015 Community which is free. It is well suited for mobile applications on tablets and smart phones.

Do not think for a moment this is just for Windows Phone, you can develop cross-platform apps with it. If you want a app with a database backend, you have two options, SQLite and Indexed DB, one in relational and the other is non-relational.

It is very easy to have SQLite on Visual Studio 2015 Community. SQLite is also free. In order to work with this post or other Visual Studio related posts you look no further than my blogs.

SQLite is a relational database well suited for mobile applications.

SQLite was described in a previous post here. As the Internet of Things is the trending area on the Internet, SQLite with its no administration feature is well suited. It is also the relational database for smart devices, cell phones, TVs, cameras etc. If you want fast and reliable data provider than SQLite is recommended. The other option which is gaining in importance and a HTML5 feature supported by many browsers is the IndexedDB. IndexedDB is not relational.


You can download SQLite from here:

There are many options depending on your operating system. These are the options for Windows alone.


Connecting/Accessing SQLite from Visual Studio 2015 Community (herein VS for short).

SQLite has no GUI for its management and VS is well suited.

Launch Visual Studio 2015 Community (Update 3 used here).

From Tools click on Extensions and Updates.

Well I seem to have installed the  SQL Server Compact/SQLite toolbox


Indeed, I can see the SQL Server Compact/SQLite Toolbox as shown. However I see only (SQL Server Compact 4.0) database.


Right click Data Connections to display the menu as shown.


Click Add SQLite Connection to open the detailed window for adding a SQLite Connection as shown.


I try to Browse for one and It is looking for the shown file types in the default location.


I try to create one assuming that this toolbox  interface allows me to create. I click the Create... button in the Add SQLite Connection window shown earlier.

It seems to create the file in this directory.


I choose a different directory (C:\Users\Jayaram\Documents\Blog2016\HodentekMSSS2016\SQLite) with a file name, Sept17-2016) as shown.


I try to test the connection and it looks like it succeeded. But I do not see all the information except for the few shown in the next image.


I click OK and close the window. The SQLite connection I created gets added to the Data Connections.


I expand the Sept17-2016.db file and I see the following default objects (all empty): Tables, Views and Triggers


Come back to this blog for more on SQLite.

Post a Comment

Popular posts from this blog

Develop a Side Menu App using Intel XDK - Part 1

UWP: XAML's ListView Control and its SelectionChanged event - Part 1

Setting up Kid's Corner on Windows 10 Phone