Reputation: 862
I have created an ASP.NET MVC website and my database is in localdb. Now I want to create a windows 8.1 mobile app that connects to the same database and to do this I need Azure Mobile Service. So how should I approach this problem?
Upvotes: 0
Views: 61
Reputation: 4815
if you want to use azure mobile services with an existing client you might want to take a look at this article: https://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-use-existing-sql-database/#exploring-the-existing-database-model
it shows you how to create your own azure mobile service that can connect to an existing database to be consumed by the azure mobile services client. essentially you'll be making your own separate Mobile Service website that runs along side your existing MVC site that your mobile clients can consume.
Not sure if this is exactly what you're looking for, but it took me a while to find this article myself, so I hope this is helpful!
Upvotes: 0
Reputation:
One solution would be to use Web API in your Web app to create a RESTful service that you'll query with your mobile app. No need to use Mobile Services.
Upvotes: 1