Mehfuz's WebLog

Live crazy, think different!

Sponsors

News

Passionate about cutting edge technologies and facinated by the modern web and phone revolution.Currently working at Telerik Corporation, the leading .net component vendor.
Follow me


Articles


Projects

LINQ.Flickr 1.2

Last week, I have released LINQ.Flickr 1.2 , this new release comes with some bugs fixes requested by community.  The best of them was not to be able to search only by user and with specific photo size. The bug started after converting it to use LinqExtender instead of its own query logic. So, now here it is

A complex query for getting 12 most recent photos for a user "neetulee" (my wife's photo stream, need to track what latest she uploads :-))

var query = (from ph in context.Photos
             where ph.User == "neetulee" && ph.PhotoSize == PhotoSize.Square
             orderby PhotoOrder.Date_Posted descending
             select ph).Take(12).Skip(0);

Also, I got request to have different config section for Flickr settings, which looks like

<configSections>
    <section name="flickr"
 type="Linq.Flickr.Configuration.FlickrSettings, Linq.Flickr"/>
  </configSections>

  <flickr apiKey="##Your API Key##" secretKey="##Your Secret Key##"/>

Finally, I have added a NUnit project to test out the API, I will soon come up with a local solution that mocks flickr request, it is really slow and time consuming to test against remote source (esp , when you have to upload, get photos).

And, one thing that I sure forgot to mention the demo_app, that I have created on LINQ.Flickr , it is still work in progress and working on converting it to MVC with some more features that will give a good startup with LINQ.Flickr. I will keep posted when done :-)

image

Overall, thanks to the community for outstanding support, I hope to have it in coming days.

LINQ.Flickr project URL : www.codeplex.com/linqflickr/ 

Thanks

kick it on DotNetKicks.com
Posted: Feb 28 2008, 12:10 AM by mehfuzh | with 3 comment(s) |
Filed under: , , ,

Comments

Kazi Manzur Rashid said:

It seems a really kool mashup, How about hosting a live version?

# February 27, 2008 1:38 PM

mehfuzh said:

Thanks Kazi, will host it in live , after I finish it. :-)

# February 27, 2008 1:58 PM