0

CA exposes Restful web services. My client wants to utilize C# to invoke these Restful web services. I have c# experience, but zero experience with web services with C#. Any pointers on where to start, and what good books (paper back or ebook) will be great.

Nasreddine
  • 36,610
  • 17
  • 75
  • 94
John Squarry
  • 81
  • 1
  • 9
  • 1
    This isn't quite the appropriate question for SO, however, http://www.newtonsoft.com/json is a good place to start. – Matt Aug 25 '15 at 22:31
  • Maybe [Web API](http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api) – lloyd Aug 25 '15 at 22:32
  • If c# is the client consuming the web service, look at System.Net.HttpClient. – Crowcoder Aug 25 '15 at 22:33
  • It may depend on what kind of C# project you are going to create. If it is a web-based project, referencing ASP.NET would help. If it is a Silverlight project, it may be done differently even thought it is still done with C#. I would propose figuring out what type of .NET project you are going to create first, then figure out how to consume the service. – AnotherDeveloper Aug 25 '15 at 23:16
  • The project type would be a Web Page. so essentially an ASP MVC application...but that is Phase 1. Phase 2 would be to have a Windows Phone application – John Squarry Aug 26 '15 at 16:43

1 Answers1

1

Even though your question is off-topic for SO format, I'm posting this answer because REST is becoming mainstream nowadays.

For consuming RESTful APIs you could use any http client you can get, as long as it allows you to properly customize the requests.

I recommend RestSharp for this purpose. I've used it before and it does it's job.

Mihai Caracostea
  • 8,336
  • 4
  • 27
  • 46