Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have web site in asp.net 4.5. and Sql server database. I use ordinary hosting(I mean not cloud). If I create mobile app in apache cordova, can i refer to that database directly without websocket? If yes How?
Posted
Updated 12-Dec-15 5:37am
v2
Comments
Suvendu Shekhar Giri 12-Dec-15 11:53am    
Mobile apps can't fetch data from DBMS like SQL Server directly. You need have something like webservice or WCF in between.
Yoqubjon Kholmatov 12-Dec-15 13:17pm    
Thanks for your answer. As far as I know webservice and WCF are seperately. They can be run in ordinary hosting(I mean in the cheapest one)?
Suvendu Shekhar Giri 12-Dec-15 23:42pm    
Generally, Yes. You cam host the service in the same server (hosting) you are using for hosting the ASP.Net application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900