Querying Azure Table Storage from Xamarin for iOS - ios

I'm creating an iOS app using Xamarin Studios for iOS. I can query data from my Azure Table Storage acct fine from a .NET Web application, but I can't find a good example of how to do the same from Xamarin for iOS. I do not want to use AZURE SQL DB. All the examples online are using Mobiles Services and writing to Azure SQL I only want to query a few values from Azure Table Storage. Is there any code samples of how to Read/Write to this?

How about this sample from the head of AzureCAT? http://code.msdn.microsoft.com/wpapps/Use-Table-Storage-in-0b6bcbc7

Related

Querying device's telemetry/status/event from Azure IoT Central

I've created an Azure IoT Central solution, where I successfully registered an IoT device. I'm able to save telemetry/status/event data for the device, however I could not find an option to query the existing data using .NET code. For example I would like to query the telemetry data for the last month using C#.
Is it not supported by the SDK?
In order to query the telemetry data for the last month you will need to export that to a Blob Storage or routing it to another DB (like Cosmos DB). The supported way to export your data in Azure IoT Central is described here.
You can then leverage REST API on your c# code to extract the data from your devices.
Read Avro files by using C#
Azure Storage samples using .NET
Azure Cosmos DB: .NET examples for the SQL API

Using Azure Table Storage (NoSQL) in ios app swift

Can anyone help me with how can I use Azure table storage which is a NoSQL storage, I am aware of how to use blobs but I am unable to find any way to use tables?
There isn't a native Azure iOS SDK that supports Azure Table Storage. Your best bet is to use the REST API.

Web Service connect IOS to oracle Swift

I am working on an IOS application that uses oracle database. I have already done most of the work in swift. The only thing remaining is the login function and the data that needs to be stored in database. Database is already built, I just have to develop the web service for this. I don't know where to start and what is the best way to develop the web service?

iOS (Swift) project needs to read an Azure SQL database

I am creating an iOS project that needs to read a SQL database in Azure. I have the database Server location, port, username, and password. I don't need to write to the database, just read it. I am more familiar with Firebase or Parse and have never used Azure. How do I even go about starting this? I tried the sample project that Azure makes for you but I don't have any tables? Do I need this? Any help would be welcome.
Azure Mobile App Service can connect with your existing SQL database
this thread explains the process where you use the existing SQL database. With this option Azure manages most of the inner workings for you.
If you want to build the Rest API from "scratch" using your existing SQL database You have some more options:
Azure API Management allows you to publish API's securely and at scale, A server less Azure Function like the example in this article Rest API with Azure Functions and Azure SQL Database or build a rest API using an Azure Logic App which doesn't require you to write code. You could also use Nodejs or many other tools you just need to evaluate what would work best for your use case.

Can I use Sql Server Database from iOS?

There are a lot of ways to have a database on server ( I can use my own server or I can use MS Azure (for Azure I found REST API Description https://msdn.microsoft.com/en-us/library/azure/gg715283.aspx , but I didn't find a way to add some rows to a table or to get information from the table)), but I want to edit the database and get proper rows from the server database from iOS code without having server API. There are a lot of ready solutions such as Backendless.com , but they are not stable.
So is there any way to connect to the remote SQL server database on the remove server or to MS Azure database and to edit rows and fetch data?
May there are some framework for iOS to do than? (for example in .Net there are Linq framework and Entity Framework).
In your question, you linked to a management API for SQL Database service - this has nothing to do with data manipulation; it's strictly a management API for dealing with servers and databases.
If you want to direct-connect from an IOS app to SQL Database Service (or SQL Server in a VM), you'd need to find a client library for IOS (and recommendations of such a library are not in scope for StackOverflow). There is no native SQL Server client library specifically provided through the Azure SDKs / APIs.
Outside of a native client library, there is Azure Mobile Services, which provides an API stack specifically designed around use by mobile apps (whether IOS, Android, Windows Phone, or even JavaScript). The API stack provided here, by default, gives CRUD operations for SQL Database tables. Additionally, it supports adding custom API calls, where you have complete control of your API calls.
Any other API stack would require you to choose the stack and run it yourself (whether in a Linux or Windows VM, Cloud Service, or Web App - there's no single right way to do this).
Documentation for Azure Mobile Apps (and related API feature, such as monitoring) is here.
Since you are developing in Azure consider automatic REST API from SlashDB, which is available from their Marketplace.
https://azure.microsoft.com/en-us/marketplace/partners/vte/slashdb-slashdb-azure/
SlashDB reflects the entire database as URL-linked structure so a lot of queries need not even be written. It supports SELECT, INSERT and UPDATE. In addition to that it allows for defining an API end-point to call a stored procedure or return results of a SQL query.
Disclosure: I am the founder and CEO of the company behind SlashDB, but you don't have to take my word it - just try it.

Resources