{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/423","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/423/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/423/events","html_url":"https://github.com/aspnet/Razor/issues/423","id":87324851,"number":423,"title":"Building Razor views in release mode should minify HTML","user":{"login":"RehanSaeed","id":2270364,"avatar_url":"https://avatars.githubusercontent.com/u/2270364?v=3","gravatar_id":"","url":"https://api.github.com/users/RehanSaeed","html_url":"https://github.com/RehanSaeed","followers_url":"https://api.github.com/users/RehanSaeed/followers","following_url":"https://api.github.com/users/RehanSaeed/following{/other_user}","gists_url":"https://api.github.com/users/RehanSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/RehanSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RehanSaeed/subscriptions","organizations_url":"https://api.github.com/users/RehanSaeed/orgs","repos_url":"https://api.github.com/users/RehanSaeed/repos","events_url":"https://api.github.com/users/RehanSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/RehanSaeed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T12:12:04Z","updated_at":"2015-06-11T17:36:53Z","closed_at":null,"body":"Minifying HTML is difficult in ASP.NET MVC. Comments and white space in .cshtml files could be removed when building in release mode.\r\n\r\n<a href=\"http://www.deanhume.com/Home/BlogPost/a-simple-html-minifier-for-asp-net/2097\">This</a> project allows the minification of your .cshtml files using a post build event. This should be built into the tooling and not a separate product."},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/111217587","html_url":"https://github.com/aspnet/Razor/issues/423#issuecomment-111217587","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/423","id":111217587,"user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T17:36:53Z","updated_at":"2015-06-11T17:36:53Z","body":"Typically all minification occurs (in asp.net 5) via third party components that are configured to run post-build/restore etc. In my mind a .cshtml minifier would fall under the same bubble. With that mindset, if we were to add default .cshtml minification it would exist at the project template level. "}}