NuGet/NuGetGallery — Issue #137: HTTP 404 when running nuget.exe list -s http://myfeed/
Author: chappoo
Created: 2011-10-21 04:28:24+00:00
State: open

I get an HTTP 404 when running "nuget.exe list -s http://myfeed/"

"nuget.exe push" works fine.

Debugging in Fiddler2 yields the following url being requested: GET /Packages()?$orderby=Id&$skip=0&$top=90 HTTP/1.1.
I'm not sure how the routing works internally, but I can get it to work if I use a URL rewrite rule to map to /DataServices/V1Feeds.svc/Packages()?$orderby=Id&$skip=0&$top=90

FYI - separate issue, but /DataServices/V1Feeds.svc/ is also broken when browsing to it. Are we meant to browse to it or is there some routing magic that invokes the odata functionality from within? The broken code is in the svc markup; pointing to a namespace:

<%@ ServiceHost Language="C#" .......... Service="NuGetGallery.Feeds" %>

should be

<%@ ServiceHost Language="C#" .......... Service="NuGetGallery.V1Feed" %>

Reluctant to do issue a pull request in fear of this method being redundant.. can you please confirm correct usage?