Odd behavior

11 views
Skip to first unread message

Tim Schmidt

unread,
Dec 30, 2014, 4:01:01 PM12/30/14
to nuget-e...@googlegroups.com
This is probably a silly question since I just started diving into NuGet (from a programmatic standpoint) like a half hour ago.  I'm trying to page through all the NuGet packages in the order they were published.  I have the following code:

            var packages = nuget.GetPackages()
               
.OrderByDescending(x => x.Published)
               
.Skip(PageSize)
               
.Take(PageSize)
               
.ToList();



But even though I'm trying to only take PageSize (const set to 50), it seems to fire off a bunch of queries in succession like it's pulling all of the packages at once?  Why is it doing that when I only want the first x?

Thanks,
tim

Reply all
Reply to author
Forward
0 new messages