Stuart Lawrence
Stuart Lawrence

Reputation: 19

How do you install Sql Server on Windows IoT?

I need to install a DB to be able to use Nlogger to record code events. I would normally use Sql Server. Is SQL supported on IoT in-any-case, if so in what flavour?

Upvotes: 1

Views: 11462

Answers (3)

Barry Snow
Barry Snow

Reputation: 31

Have you thought about using Azure or AWS (Amazon Web Services)?

Just a thought, I don't even know if you have an internet connection in your application.

You could write your REST endpoints and you would be in business.

Upvotes: 0

bricelam
bricelam

Reputation: 30345

You may be able to connect to a remote SQL server using System.Data.SqlClient. If you need a .NET Core ADO.NET-compatible provider for a database on the local device, you may want to look at Microsoft.Data.Sqlite.

Upvotes: 0

Shiv Kumar
Shiv Kumar

Reputation: 9799

Stuart, Windows IoT is really Windows IoT Core. That is it is not the Windows you get on the Desktop or server but rather more like WinRT (on phone and ARM tablets).

If you really need a database, I'd look at using SQLLite. It is the database recommended for WinRT applications. One can use it on Win IoT Core as well since it can be used with UWP Applications as described here.

Using SQLite on the Universal Windows Platform

Upvotes: 3

Related Questions