Solved

iOS App - Database connection

Posted on 2014-02-11
1
469 Views
Last Modified: 2014-02-11
I have a hosted database server, and a ASP.net app that connects to it.

How do I connect to the same DB using an IOS app? I need to obtain login credentials and perform a few inserts and updates on a few tables.
0
Comment
Question by:proginc
1 Comment
 
LVL 16

Accepted Solution

by:
Surendra Nath earned 500 total points
ID: 39851541
in the iOS end, I suggest you to create a web-api from asp.net and expose it to the iOS, instead of the mobile user trying to connect to SQL directly.

from iOS pass on the credentials to the web-api, and in the web-api (in your server), connect to SQL using the SQL Authenticaiton instead of the windows authentication, once you validated that the user using your api is a valid user.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question