{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/1558","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/1558/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/1558/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/1558/events","html_url":"https://github.com/dotnet/coreclr/issues/1558","id":106658990,"number":1558,"title":"GetManifestResourceStream return junkie code when using coreclr beta7","user":{"login":"zhangxin511","id":3719246,"avatar_url":"https://avatars.githubusercontent.com/u/3719246?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangxin511","html_url":"https://github.com/zhangxin511","followers_url":"https://api.github.com/users/zhangxin511/followers","following_url":"https://api.github.com/users/zhangxin511/following{/other_user}","gists_url":"https://api.github.com/users/zhangxin511/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangxin511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangxin511/subscriptions","organizations_url":"https://api.github.com/users/zhangxin511/orgs","repos_url":"https://api.github.com/users/zhangxin511/repos","events_url":"https://api.github.com/users/zhangxin511/events{/privacy}","received_events_url":"https://api.github.com/users/zhangxin511/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/coreclr/labels/mscorlib","name":"mscorlib","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"ramarag","id":10203266,"avatar_url":"https://avatars.githubusercontent.com/u/10203266?v=3","gravatar_id":"","url":"https://api.github.com/users/ramarag","html_url":"https://github.com/ramarag","followers_url":"https://api.github.com/users/ramarag/followers","following_url":"https://api.github.com/users/ramarag/following{/other_user}","gists_url":"https://api.github.com/users/ramarag/gists{/gist_id}","starred_url":"https://api.github.com/users/ramarag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramarag/subscriptions","organizations_url":"https://api.github.com/users/ramarag/orgs","repos_url":"https://api.github.com/users/ramarag/repos","events_url":"https://api.github.com/users/ramarag/events{/privacy}","received_events_url":"https://api.github.com/users/ramarag/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/4","html_url":"https://github.com/dotnet/coreclr/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/4/labels","id":1321405,"number":4,"title":"1.0.0-rtm","description":"Q1 2016 (https://github.com/dotnet/corefx/milestones)","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":9,"state":"open","created_at":"2015-09-24T02:23:52Z","updated_at":"2015-12-03T18:56:28Z","due_on":"2016-03-31T07:00:00Z","closed_at":null},"comments":3,"created_at":"2015-09-15T22:17:53Z","updated_at":"2015-12-03T18:56:29Z","closed_at":"2015-12-03T18:56:28Z","body":"I am running 1.0.0-beta7 coreclr to run web application using command \"dnx kestrel\". I found the GetManifestResourceStream return junkie chars:\r\n\r\nvar template = _resourceAssembly.GetManifestResourceStream(\"Swashbuckle.SwaggerUi.index.html\");\r\nvar templateText = new StreamReader(template).ReadToEnd();\r\n\r\nThe templateText will have funny chars after certain length."}}