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