{"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2015%2F09%2F14%2F174429\" title=\"ViewBag vs ViewModel - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-09-14 17:44:29","blog_url":"https://tnakamura.hatenablog.com/","blog_title":"present","provider_name":"Hatena Blog","categories":["C#"],"url":"https://tnakamura.hatenablog.com/entry/2015/09/14/174429","height":"190","title":"ViewBag vs ViewModel","width":"100%","type":"rich","image_url":null,"author_name":"griefworker","version":"1.0","author_url":"https://blog.hatena.ne.jp/griefworker/","description":"ASP.NET MVC 5 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u3089\u3001HomeController \u304c ViewBag \u3092\u4f7f\u3063\u3066\u30d3\u30e5\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u6e21\u3057\u3066\u3044\u308b\u3002 \u4e00\u65b9\u3001\u300eEntity Framework \u3092\u4f7f\u7528\u3057\u305f\u3001\u30d3\u30e5\u30fc\u304c\u3042\u308b MVC5 \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u300f\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001 Entity Framework \u3092\u4f7f\u3063\u3066\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092 View \u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u3068\u3057\u3066\u30d3\u30e5\u30fc\u306b\u6e21\u3057\u3066\u3044\u308b\u3002 Rails \u304b\u3089 ASP.NET MVC \u306b\u79fb\u3063\u305f\u5f53\u521d\u306f\u3001ViewBag \u3068 View \u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u30e2\u30c7\u30eb\u306e\u4f7f\u3044\u5206\u3051\u306b\u60a9\u3093\u3060\u3002 \u3068\u308a\u3042\u3048\u305a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u306f View \u30e1\u30bd\u30c3\u30c9\u306b\u305d\u306e\u307e\u307e\u6e21\u3059 \u30d3\u30e5\u30fc\u3067\u4ed6\u306b\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u2026"}