Using Mobilefirst database for jsonstore sync - database

We are developing an Hybrid application using IBM MobileFirst Platform Foundation 6.3.
We don't know if we can use the database that we installed during the MobileFirst installation.
It's a bad practice to use this database as a backend for our apps?
Will this generate a overhead?

The MobileFirst Server that is installed in the Development environment (the Eclipse plug-in) uses a filesystem-based database (HSQL) by default.
The MobileFirst Server that is installed in a QA/Production environment supports a database from these vendors: MySQL, Oracle, DB2.
In both cases the the database that is created for the use of the MobileFirst Server should be used solely by MobileFirst Server. It should not function as a backend to store other information in it for use by the applications, that are served by the MobileFirst Server.
It should be separately hosted databases - it can be on the same machine if it is able and has enough resources, but it should be different databases.

Related

how to connect local SQL database from UWP application that can run in Raspberry PI3 device?

I developed UWP application and deployed this application in one of my IOT device. But I want to connect to local SQL database from UWP application that can run in the IOT device.
For that I created WCF web service project to connect to local database. But my application run In IoT device and database available in my local machine.
Can you please tell me how to connect local SQL database from UWP application that can run in Raspberry PI3 device.
With the Windows 10 Fall Creators Update we have added support for .NET Standard 2.0 to UWP. With this you can now use SqlClient APIs to enable this scenario.
For this scenario to work, you need the following configuration: - Visual Studio 2017 Update 4 (or later) - Min version in your UWP project 16299 (=Fall Creators Update) - NETCore version 6.0.1 (or later)
Here is a sample app: https://github.com/StefanWickDev/IgniteDemos/tree/master/NorthwindDemo
Here is the session at Microsoft Ignite 2017 where we demo'ed it: https://myignite.microsoft.com/videos/53541
The is no way to connect to a sql server database directly from a UWP app. You need to create a web service to connect to the sql server and pass the info to the UWP app. You can use databases like SQLite with a uwp app. To use the sqlite database with a uwp app you can use the entity framework core or sqlite-net to get data to and from it

Azure mobile service databases

I am planning to use azure mobile services for one of our products. I was confused about how can I use any of my existing databases (like MySQL, PostgreSQL, or Oracle instead of SQL database offered by Azure) which is available via TCP?
Kindly confirm.
Are you using the JavaScript/Node backend or the .NET backend?
If you're using JS, you'll need to create API scripts and import the Node module for your database. You can't use the default data scripts since they are only hooked to SQL Azure.
If you're using a .NET backend, there's no restriction whatsoever. You can use any database available on Azure or install your own in a VM.

How do I access SQL Server from Windows 8 apps?

I realize that a local SQL Server instance is not accessible to my Windows 8 app. Instead, I have a SQL Server in Azure. In SQL Server Management Studio, I just change the querystring and interact with the Azure database like any other. How can I reference that database in my Windows 8 app?
This is what the Azure Mobile Services SDK is for. Scott Guthrie did a writeup on it a while back.
Undoubtedly you're aware that both ado.net and Entity Framework are missing from WinRT... Notice the glaring absence of support for System.Data.
You can't access directly on sql databases.. Because Windows 8 Apps different from windows forms.
But you can be used web services or azure, amazon services, storage files etc.
sounds like you want to develop a web service talking to your database, deploy it to IIS on your Azure instance and then consume it from your Windows 8 application (by adding a web reference to your web service in Visual Studio).
You can also place an OData head on the database, then use various OData client-side libraries to talk to it via REST. See http://www.odata.org/libraries for both client and server libraries. SQL Server on Azure is definitely supported, as is .NET, JavaScript, and other platforms on the client side.

SQL Server install with Silverlight 4.0 OOB

I have a Silverlight app which needs to talk to a local SQL database, we plan on deploying this Silverlight app to Azure. Users will navigate to the app and install the app using the Out-of browser feature.
How should we plan on installing the SQL database on the local user’s machine in such cases? This app runs in offline mode for the most part except when synchronizing with the remote server, so a local SQL database is required.
You won't be able to use anything like SQL Express or similar on the machine from an OOB application (unless you are running elevated) as you will still be constrained by the sandbox and the libraries available to you in Silverlight are limited.
Instead consider using a compact database that can be stored in Isolated Storage, something like Siaqodb, vistadb, or silverdb.
One other thing to look at is the forthcoming Sync framework for Silverlight, which is designed to offer offline support for data from SQL or SQL Azure. See this webcast: Building Offline Web Apps using Microsoft Sync Framework.
If you are running elevated, then you can use COM to interact with the local system, so you would be able to access a full-fledged database that way. However, making sure the prerequisites were in place and dealing with managing the database would be a lot of work. I wouldn't recommend it for your scenario.

Web interface for Firebird database

I currently have a Firebird server on Windows and Windows desktop client applications for Firebird databases. I want to make a web interface for the existing databases (using Apache on Windows). What free instrumentation (server languages, libraries) is currently available for the purpose?
Check this for complete but most welknown are :
php
Python
Its not web based, but it is quite useful. I use SquirelSQL

Resources