Click here to Skip to main content
15,885,874 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear Techies
I am new to WPF , Asp.net Web API , REST and OData.

I need to work in a project where WPF is the client (MVVM) that utilizes RESTful services hosted on a Web server (Using Asp.net Web API) communicating using OData. Would any one be kind enough to provide me a very small sample (Just one or two database fields and services to select/add/update/delete and a consumer wpf mvvm UI). Or point me to a resource on the web. I have been searching but getting confused due to information abundance.

Appreciate your help.

Regards
Jay
Posted

1 solution

Hi,

You need to create web API and host it locally or IIS.

The using the HTTP client pass the parameter in JSON form to the service.
See the below link.

https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh781239.aspx[^]
 
Share this answer
 

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