{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/2274","repository_url":"https://api.github.com/repos/aspnet/Razor","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/2274/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/2274/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/2274/events","html_url":"https://github.com/aspnet/Razor/issues/2274","id":314122708,"number":2274,"title":"Rendering views into strings","user":{"login":"onionhammer","id":969938,"avatar_url":"https://avatars0.githubusercontent.com/u/969938?v=4","gravatar_id":"","url":"https://api.github.com/users/onionhammer","html_url":"https://github.com/onionhammer","followers_url":"https://api.github.com/users/onionhammer/followers","following_url":"https://api.github.com/users/onionhammer/following{/other_user}","gists_url":"https://api.github.com/users/onionhammer/gists{/gist_id}","starred_url":"https://api.github.com/users/onionhammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onionhammer/subscriptions","organizations_url":"https://api.github.com/users/onionhammer/orgs","repos_url":"https://api.github.com/users/onionhammer/repos","events_url":"https://api.github.com/users/onionhammer/events{/privacy}","received_events_url":"https://api.github.com/users/onionhammer/received_events","type":"User","site_admin":false},"labels":[{"id":74542522,"url":"https://api.github.com/repos/aspnet/Razor/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"ajaybhargavb","id":1579269,"avatar_url":"https://avatars0.githubusercontent.com/u/1579269?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaybhargavb","html_url":"https://github.com/ajaybhargavb","followers_url":"https://api.github.com/users/ajaybhargavb/followers","following_url":"https://api.github.com/users/ajaybhargavb/following{/other_user}","gists_url":"https://api.github.com/users/ajaybhargavb/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaybhargavb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaybhargavb/subscriptions","organizations_url":"https://api.github.com/users/ajaybhargavb/orgs","repos_url":"https://api.github.com/users/ajaybhargavb/repos","events_url":"https://api.github.com/users/ajaybhargavb/events{/privacy}","received_events_url":"https://api.github.com/users/ajaybhargavb/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajaybhargavb","id":1579269,"avatar_url":"https://avatars0.githubusercontent.com/u/1579269?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaybhargavb","html_url":"https://github.com/ajaybhargavb","followers_url":"https://api.github.com/users/ajaybhargavb/followers","following_url":"https://api.github.com/users/ajaybhargavb/following{/other_user}","gists_url":"https://api.github.com/users/ajaybhargavb/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaybhargavb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaybhargavb/subscriptions","organizations_url":"https://api.github.com/users/ajaybhargavb/orgs","repos_url":"https://api.github.com/users/ajaybhargavb/repos","events_url":"https://api.github.com/users/ajaybhargavb/events{/privacy}","received_events_url":"https://api.github.com/users/ajaybhargavb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-04-13T14:11:18Z","updated_at":"2018-04-23T20:28:04Z","closed_at":null,"author_association":"NONE","body":"There are lots of broken / half implemented libraries out there for rendering razor views to strings, it seems like this could be super simple if you guys wanted it to be. Why not include a simple / extensible helper class along with razor to render razor to a string / stream without the entire ASP.NET stack?\r\n\r\nSince razor pages are compiled, the output could even be included in the same dll for proper strong typing rather than looking up views by path.\r\n\r\nThis would be super useful for things like HTML email templates"},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/383711656","html_url":"https://github.com/aspnet/Razor/issues/2274#issuecomment-383711656","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/2274","id":383711656,"user":{"login":"onionhammer","id":969938,"avatar_url":"https://avatars0.githubusercontent.com/u/969938?v=4","gravatar_id":"","url":"https://api.github.com/users/onionhammer","html_url":"https://github.com/onionhammer","followers_url":"https://api.github.com/users/onionhammer/followers","following_url":"https://api.github.com/users/onionhammer/following{/other_user}","gists_url":"https://api.github.com/users/onionhammer/gists{/gist_id}","starred_url":"https://api.github.com/users/onionhammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onionhammer/subscriptions","organizations_url":"https://api.github.com/users/onionhammer/orgs","repos_url":"https://api.github.com/users/onionhammer/repos","events_url":"https://api.github.com/users/onionhammer/events{/privacy}","received_events_url":"https://api.github.com/users/onionhammer/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T20:28:04Z","updated_at":"2018-04-23T20:28:04Z","author_association":"NONE","body":"@pranavkm So you use this 'for internal purposes only' sample to generate a developer page?"}}
{"actor":{"display_login":"onionhammer"}}