Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello

I'm building an application that need to get data from my web server (running windows server)
what is the best and fastest way that provides strong security to get the data from the server
I'm so confused between connecting directly to mssql server or building a web service or learning (wcf or web api) and use it for this approach.

any advice will be appreciated .

What I have tried:

I tried direct connection to mssql server but it's not that fast and obviously not that secure
also web service isn't secure.
i don't know how to build (wcf or web api) as i mentioned in my question.
Posted
Updated 27-Apr-16 1:58am

1 solution

If security is a concern then WCF will be your best bet.
 
Share this answer
 
Comments
M. Rawan 27-Apr-16 8:17am    
Speed is my primary concern then security comes, I'm trying to reach the data from mobile application with a very low speed bandwidth
F-ES Sitecore 27-Apr-16 10:17am    
WCF does perform better than webservices, it's still probably the best solution for you.

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