{"author_url":"https://blog.hatena.ne.jp/griefworker/","blog_url":"https://tnakamura.hatenablog.com/","type":"rich","title":"ASP.NET MVC 5 \u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u30a2\u30af\u30b7\u30e7\u30f3\u306e URL \u3092\u4f5c\u6210\u3059\u308b","description":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3082 UrlHelper \u3092\u4f7f\u3063\u3066\u30a2\u30af\u30b7\u30e7\u30f3\u306e URL \u3092\u4f5c\u6210\u3067\u304d\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002 var helper = new UrlHelper(ControllerContext.RequestContext); var indexPath = helper.Action(\"Index\", \"Home\"); // => / var indexUrl = helper.Action(\"Index\", \"Home\", null, Request.Url.Schema); // => http://localhost:1065/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2015%2F02%2F16%2Fcreating_a_url_in_the_controller_aspnet_mvc\" title=\"ASP.NET MVC 5 \u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u30a2\u30af\u30b7\u30e7\u30f3\u306e URL \u3092\u4f5c\u6210\u3059\u308b - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","categories":["C#"],"url":"https://tnakamura.hatenablog.com/entry/2015/02/16/creating_a_url_in_the_controller_aspnet_mvc","provider_name":"Hatena Blog","image_url":null,"published":"2015-02-17 07:30:00","blog_title":"present","author_name":"griefworker","width":"100%","version":"1.0"}