Answered by:
WCF

Question
-
User1801805778 posted
Hi Professionals,
Let me know how to insert and retrieve a table from database using WCF ......
Wednesday, April 3, 2013 11:40 PM
Answers
-
User220959680 posted
insert and retrieve a table from database using WCFWCF can be utilised to implement SOAP based or RESTFul web services. RESTFul services are widely used due to its HTTP verb support and data interaction is implemented as resources.
In order to implement Insert (Http Post) and retrieve (Http Get) it is required to implement two methods in WCF RESTFul service. Below referenced article walks through complete solution.
http://www.codeproject.com/Articles/254714/Implement-CRUD-operations-using-RESTful-WCF-Servic
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 7:43 AM -
User-1662538993 posted
For normal wcf service you can check this link -
http://www.codeproject.com/Tips/468354/WCF-example-for-inserting-and-displaying-data-from
For REST check the link provided by sukumarraju
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 8:56 AM -
User-1025342357 posted
This thread may help
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/adbb25b6-28c0-4877-ac9b-cea21eb20312
Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, April 6, 2013 11:27 PM
All replies
-
User1082734430 posted
Provide a connecting string of your Database in the service config.
Wednesday, April 3, 2013 11:57 PM -
User220959680 posted
insert and retrieve a table from database using WCFWCF can be utilised to implement SOAP based or RESTFul web services. RESTFul services are widely used due to its HTTP verb support and data interaction is implemented as resources.
In order to implement Insert (Http Post) and retrieve (Http Get) it is required to implement two methods in WCF RESTFul service. Below referenced article walks through complete solution.
http://www.codeproject.com/Articles/254714/Implement-CRUD-operations-using-RESTful-WCF-Servic
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 7:43 AM -
User-1662538993 posted
For normal wcf service you can check this link -
http://www.codeproject.com/Tips/468354/WCF-example-for-inserting-and-displaying-data-from
For REST check the link provided by sukumarraju
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 8:56 AM -
User-1025342357 posted
This thread may help
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/adbb25b6-28c0-4877-ac9b-cea21eb20312
Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, April 6, 2013 11:27 PM