{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1631","repository_url":"https://api.github.com/repos/aspnet/Home","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1631/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1631/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1631/events","html_url":"https://github.com/aspnet/Home/issues/1631","id":163615856,"number":1631,"title":"File input no longer posting","user":{"login":"MihaiBratulescu","id":17163890,"avatar_url":"https://avatars.githubusercontent.com/u/17163890?v=3","gravatar_id":"","url":"https://api.github.com/users/MihaiBratulescu","html_url":"https://github.com/MihaiBratulescu","followers_url":"https://api.github.com/users/MihaiBratulescu/followers","following_url":"https://api.github.com/users/MihaiBratulescu/following{/other_user}","gists_url":"https://api.github.com/users/MihaiBratulescu/gists{/gist_id}","starred_url":"https://api.github.com/users/MihaiBratulescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihaiBratulescu/subscriptions","organizations_url":"https://api.github.com/users/MihaiBratulescu/orgs","repos_url":"https://api.github.com/users/MihaiBratulescu/repos","events_url":"https://api.github.com/users/MihaiBratulescu/events{/privacy}","received_events_url":"https://api.github.com/users/MihaiBratulescu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kichalla","id":6559784,"avatar_url":"https://avatars.githubusercontent.com/u/6559784?v=3","gravatar_id":"","url":"https://api.github.com/users/kichalla","html_url":"https://github.com/kichalla","followers_url":"https://api.github.com/users/kichalla/followers","following_url":"https://api.github.com/users/kichalla/following{/other_user}","gists_url":"https://api.github.com/users/kichalla/gists{/gist_id}","starred_url":"https://api.github.com/users/kichalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichalla/subscriptions","organizations_url":"https://api.github.com/users/kichalla/orgs","repos_url":"https://api.github.com/users/kichalla/repos","events_url":"https://api.github.com/users/kichalla/events{/privacy}","received_events_url":"https://api.github.com/users/kichalla/received_events","type":"User","site_admin":false},"assignees":[{"login":"kichalla","id":6559784,"avatar_url":"https://avatars.githubusercontent.com/u/6559784?v=3","gravatar_id":"","url":"https://api.github.com/users/kichalla","html_url":"https://github.com/kichalla","followers_url":"https://api.github.com/users/kichalla/followers","following_url":"https://api.github.com/users/kichalla/following{/other_user}","gists_url":"https://api.github.com/users/kichalla/gists{/gist_id}","starred_url":"https://api.github.com/users/kichalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichalla/subscriptions","organizations_url":"https://api.github.com/users/kichalla/orgs","repos_url":"https://api.github.com/users/kichalla/repos","events_url":"https://api.github.com/users/kichalla/events{/privacy}","received_events_url":"https://api.github.com/users/kichalla/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-07-04T07:10:42Z","updated_at":"2016-07-06T18:04:04Z","closed_at":null,"body":"I have a few of these file inputs: \r\n\r\n    <input id=\"ZoneOfAnalysisFiles[@Model.Key].Key\" name=\"ZoneOfAnalysisFiles[@Model.Key].Key\" value=\"@Model.Value.Identification\" hidden />\r\n    \r\n    <input id=\"ZoneOfAnalysisFiles[@Model.Key].Value\" name=\"ZoneOfAnalysisFiles[@Model.Key].Value\" \r\n                                       type=\"file\" multiple style=\"display:inline-block\">\r\n\r\nThe keys get posted but not the files. In `Request.Form.Keys` the `Value` keys are missing for the file inputs but if I change to text it's working all the sudden. \r\n\r\nThis has been happening since I upgraded to RTM and worked fine in RC2.\r\n\r\nMy `project.json` :\r\n\r\n    {\r\n      \"userSecretsId\": \"aspnet-WNCT.Web-f9ad84ae-9b95-4000-ab80-3ecdf4814421\",\r\n    \r\n      \"dependencies\": {\r\n        \"Microsoft.AspNetCore.Session\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Hosting\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Identity.EntityFrameworkCore\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Mvc\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Razor.Tools\": \"1.0.0-preview2-final\",\r\n        \"Microsoft.AspNetCore.Server.IISIntegration\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Server.Kestrel\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.StaticFiles\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Diagnostics\": \"1.0.0\",\r\n        \"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore\": \"1.0.0\",\r\n        \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Configuration.EnvironmentVariables\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Configuration.Json\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Configuration.UserSecrets\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Logging\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Logging.Console\": \"1.0.0\",\r\n        \"Microsoft.Extensions.Logging.Debug\": \"1.0.0\",\r\n        \"Serilog\": \"2.0.0-rc-602\",\r\n        \"Serilog.Sinks.RollingFile\": \"2.0.0-rc-703\",\r\n        \"Serilog.Extensions.Logging\": \"1.0.0-rc2-10110\",\r\n        \"HtmlAgilityPack\": \"1.4.9\",\r\n        \"LDAP\": \"1.0.0\",\r\n        \"WNCT.BL\": \"1.0.0-*\",\r\n        \"WNCT.Domain\": \"1.0.0-*\",\r\n        \"WNCT.EF\": \"1.0.0-*\"\r\n      },\r\n    \r\n      \"tools\": {\r\n        \"Microsoft.AspNetCore.Razor.Tools\": \"1.0.0-preview2-final\",\r\n        \"Microsoft.AspNetCore.Server.IISIntegration.Tools\": \"1.0.0-preview2-final\"\r\n      },\r\n    \r\n      \"frameworks\": {\r\n        \"net451\": {}\r\n      },\r\n    \r\n      \"buildOptions\": {\r\n        \"platform\": \"x86\",\r\n        \"emitEntryPoint\": true,\r\n        \"preserveCompilationContext\": true\r\n      },\r\n    \r\n      //\"runtimes\": { \"win\": [ \"win7-x86\" ] },\r\n    \r\n      \"publishOptions\": {\r\n        \"include\": [\r\n          \"wwwroot\",\r\n          \"Views\",\r\n          \"appsettings.json\",\r\n          \"web.config\"\r\n        ]\r\n      },\r\n    \r\n      \"scripts\": {\r\n        \"prepublish\": [ \"npm install\", \"gulp clean\", \"gulp min\" ],\r\n        \"postpublish\": [ \"dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%\" ]\r\n      }\r\n    }\r\n\r\nIs there a solution out there?"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/230855377","html_url":"https://github.com/aspnet/Home/issues/1631#issuecomment-230855377","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1631","id":230855377,"user":{"login":"kichalla","id":6559784,"avatar_url":"https://avatars.githubusercontent.com/u/6559784?v=3","gravatar_id":"","url":"https://api.github.com/users/kichalla","html_url":"https://github.com/kichalla","followers_url":"https://api.github.com/users/kichalla/followers","following_url":"https://api.github.com/users/kichalla/following{/other_user}","gists_url":"https://api.github.com/users/kichalla/gists{/gist_id}","starred_url":"https://api.github.com/users/kichalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichalla/subscriptions","organizations_url":"https://api.github.com/users/kichalla/orgs","repos_url":"https://api.github.com/users/kichalla/repos","events_url":"https://api.github.com/users/kichalla/events{/privacy}","received_events_url":"https://api.github.com/users/kichalla/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T18:04:04Z","updated_at":"2016-07-06T18:04:04Z","body":"Could you share how your raw request looks like?(ex: browser developer tools) I am *not* interested in the files being uploaded but the individual parts' headers(because for model binding purpose how the key names are important). So following is the model you are binding to?\r\n\r\n```c#\r\npublic class ScopeModel\r\n{\r\npublic IDictionary<string, IEnumerable<IFormFile>> ZoneOfAnalysisFiles {get;set;}\r\n....\r\n}\r\n```"}}
{"actor":{"display_login":"kichalla"}}