Hi,
I am trying to design RESTful WEB API that can access database (e.g. SQL server) so that I can get data from the database and do some calculations locally and then put the results back to the database.
I am working in C# VS 2013.
I found some examples of ASP.NET API at
http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
http://www.visualstudio.com/integrate/get-started/rest/basics
I need to access database (that is located in remote server) from ApiController.
But, in the exmaples, the database is built locally.
Also, I need to access the remote database server from a GUI.
The GUI users should not see any information about login to the database server, such as password and username.
They can only see the server name and database names.
Any help would be appreciated.