{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/13","repository_url":"https://api.github.com/repos/NuGet/NuGet.Server","labels_url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/13/comments","events_url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/13/events","html_url":"https://github.com/NuGet/NuGet.Server/pull/13","id":163264304,"number":13,"title":"Switch from WCF OData to Web API OData","user":{"login":"andulv","id":5376458,"avatar_url":"https://avatars.githubusercontent.com/u/5376458?v=3","gravatar_id":"","url":"https://api.github.com/users/andulv","html_url":"https://github.com/andulv","followers_url":"https://api.github.com/users/andulv/followers","following_url":"https://api.github.com/users/andulv/following{/other_user}","gists_url":"https://api.github.com/users/andulv/gists{/gist_id}","starred_url":"https://api.github.com/users/andulv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andulv/subscriptions","organizations_url":"https://api.github.com/users/andulv/orgs","repos_url":"https://api.github.com/users/andulv/repos","events_url":"https://api.github.com/users/andulv/events{/privacy}","received_events_url":"https://api.github.com/users/andulv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/NuGet.Server/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-06-30T20:51:47Z","updated_at":"2016-07-12T18:38:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Server/pulls/13","html_url":"https://github.com/NuGet/NuGet.Server/pull/13","diff_url":"https://github.com/NuGet/NuGet.Server/pull/13.diff","patch_url":"https://github.com/NuGet/NuGet.Server/pull/13.patch"},"body":"Second part of NuGet/NuGetGallery#3061\r\n\r\nNuGet.Server has been rewritten to use Web Api OData controller instead of WCF Dataservice,\r\nNew projects added:\r\n- src\\NuGet.Server.V2. Class library for creating NuGet feed(s) as Web Api OData controllers. Mostly based on code from NuGetGallery and existing NuGet.Server.\r\n- samples\\NuGet.Server.V2.Samples.OwinHost. Console application that exposes controller from NuGet.Server.V2 as three NuGet feeds.\r\n- tests\\NuGet.Server.V2.Tests. Tests ported from NuGet gallery\r\n\r\nExisting projects (not modified in this PR):\r\n- NuGet.Server.Core - Class library used by NuGet.Server and NuGet.Server.V2.\r\n\r\nTodo:\r\n- [x] Add tests for ApiKeyPackageAuthenticationService.cs\r\n- [x] Create samples folder. Move and rename OwinSampleHost project.\r\n- [x] Update method signatures in NuGetODataController to match the ones in NuGetGalleryODataController / ODataV2FeedController (Return QueryResult<Package> as IHttpActionResult instead of IQueryable/Enablequery, etc.)\r\n- [x] Port relevant tests from NuGetGallery\r\n- [x] Update NuGet.Server (IIS project) to expose ODataController from NuGet.Server.V2 instead of WCF dataservice."},"comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/comments/232139346","html_url":"https://github.com/NuGet/NuGet.Server/pull/13#issuecomment-232139346","issue_url":"https://api.github.com/repos/NuGet/NuGet.Server/issues/13","id":232139346,"user":{"login":"andulv","id":5376458,"avatar_url":"https://avatars.githubusercontent.com/u/5376458?v=3","gravatar_id":"","url":"https://api.github.com/users/andulv","html_url":"https://github.com/andulv","followers_url":"https://api.github.com/users/andulv/followers","following_url":"https://api.github.com/users/andulv/following{/other_user}","gists_url":"https://api.github.com/users/andulv/gists{/gist_id}","starred_url":"https://api.github.com/users/andulv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andulv/subscriptions","organizations_url":"https://api.github.com/users/andulv/orgs","repos_url":"https://api.github.com/users/andulv/repos","events_url":"https://api.github.com/users/andulv/events{/privacy}","received_events_url":"https://api.github.com/users/andulv/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T18:38:04Z","updated_at":"2016-07-12T18:38:04Z","body":"I added code to reorder the mediaformatters collection so that json formatters comes after xml formatters. That seems to result in xml/atom being prioritised over json.\r\nThe solution feels a little bit hackish so feel free to modify (for example just remove json formatters)."}}
{"actor":{"display_login":"andulv"}}