How to interact with Google Contacts using XML and HTTP?

I am trying to understand this document.

But I am not getting how to implement it in my previous code which I did according to this link .

Can anyone provide me sample code to proceed with.

I am not getting how to use these XML entries.

Answers


The C# library you're using in your 'previous code' is a wrapper around the Google Contacts API protocol, which is the document you're trying to understand. To be more precise, it's a wrapper around the Google Data API which Google Contacts provides.

The protocol are actually REST calls which return you ATOM and/or JSON feeds. You could implement this in C# using WebRequest and WebResponse and parse the result with something like XMLReader, but why would you do that if there's already a library which does that for you?


Need Your Help

How to convert milliseconds into human readable form?

date time string-formatting datetime-format

I need to convert an arbitrary amount of milliseconds into Days, Hours, Minutes Second.

Ninject Configuration to work Unit of Work configuration for Windows Service

c# asp.net-mvc windows-services ninject unit-of-work

I am using unit of work design pattern to interact with the DB context in ASP.NET MVC application. I want to use UoW in order to use transactions for a Windows Service. What Ninject configuration s...