{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4280","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4280/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4280/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4280/events","html_url":"https://github.com/aspnet/Mvc/issues/4280","id":140611712,"number":4280,"title":"How can i add \"WebApiCore\" dependencies ?","user":{"login":"endink","id":240164,"avatar_url":"https://avatars.githubusercontent.com/u/240164?v=3","gravatar_id":"","url":"https://api.github.com/users/endink","html_url":"https://github.com/endink","followers_url":"https://api.github.com/users/endink/followers","following_url":"https://api.github.com/users/endink/following{/other_user}","gists_url":"https://api.github.com/users/endink/gists{/gist_id}","starred_url":"https://api.github.com/users/endink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endink/subscriptions","organizations_url":"https://api.github.com/users/endink/orgs","repos_url":"https://api.github.com/users/endink/repos","events_url":"https://api.github.com/users/endink/events{/privacy}","received_events_url":"https://api.github.com/users/endink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-14T08:48:43Z","updated_at":"2016-04-14T10:20:40Z","closed_at":null,"body":"I'd like a more lightweight WebAPI program without razor views, taghelper etc, but if i use \"AddMvcCore\" method i cant use POCO object (like  IEnumerable<String>) as my action result.\r\n\r\nI tried the following methods , but it doesn't work:\r\n``` javascript\r\nvar mb = services.AddMvcCore()\r\n                    .AddApiExplorer()\r\n                    .AddAuthorization()\r\n                    .AddJsonFormatters()\r\n                    .AddFormatterMappings()\r\n                    .AddDataAnnotations()\r\n                    .AddJsonHelper()\r\n                    .AddCors();\r\n\r\n```\r\n\r\nPlease tell me for using POCO action result witch feature i need to add if i use AddMvcCore? thanks! "},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/209866995","html_url":"https://github.com/aspnet/Mvc/issues/4280#issuecomment-209866995","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/4280","id":209866995,"user":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T10:20:40Z","updated_at":"2016-04-14T10:20:40Z","body":"@endink it might also help if you show what your controller looks like. There might be some other error somewhere."}}