diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Google APIs Client Library for .NET Beta Released

Google hit a major milestone by releasing the Beta version of the open source Google APIs Client Library for .NET. This includes service-specific libraries and samples for Google APIs, built on our new client library generation infrastructure, announced Scott Knaster in a Google code blog post today.

In the post Scott Knaster writes “We’re now comfortable enough with the stability and features of the library that we want you to start building real production applications. Currently we support Microsoft .NET 3.5 and 4.0 and Mono 2.6.7 (and higher). In the future we hope to also support Windows Phone 7 and Microsoft Silverlight.”

To demonstrate how easy to use the library can be, here is a snippet from the goo.gl sample to shorten a URL using the goo.gl service. To use this code, you only have to add references to the Google APIs Client Library for .NET, and the Google.Apis.Urlshortener.v1.dll.

// Create an instance of the UrlShortener-service.
var service = new UrlshortenerService();
// Make a "Shorten URL" request.
string urlToShorten = "http://maps.google.com/";
Url response =
    service.Url.Insert(new Url { LongUrl = urlToShorten }).Fetch();
// Print the shortened url.
string shortUrl = response.Id;
Console.WriteLine(urlToShorten + " -> " + shortUrl);

More Info: Google APIs Client Library for .NET

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!