{"id":268,"date":"2017-08-22T23:50:01","date_gmt":"2017-08-22T14:50:01","guid":{"rendered":"http:\/\/reasty.net\/?p=268"},"modified":"2017-08-22T23:50:01","modified_gmt":"2017-08-22T14:50:01","slug":"27%ec%9e%a5-%ed%97%ac%ed%8d%bc-%eb%a9%94%ec%84%9c%eb%93%9c","status":"publish","type":"post","link":"https:\/\/reasty.net\/?p=268","title":{"rendered":"27\uc7a5 \ud5ec\ud37c \uba54\uc11c\ub4dc"},"content":{"rendered":"<h1>27.1. \ud5ec\ud37c \uba54\uc11c\ub4dc<\/h1>\n<p>\ud5ec\ud37c \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\ub294 Html \uac1c\uccb4\ub294 \ud3fc, \ub9c1\ud06c, \uc785\ub825 \uc694\uc18c \ub4f1\uc744 \uc0dd\uc131\ud55c\ub2e4.<br \/>\n<span style=\"font-size: 12pt; text-decoration: underline;\">ASP.NET Core\uc5d0\uc11c\ub294 <strong>\ud0dc\uadf8 \ud5ec\ud37c<\/strong>\ub97c \uc8fc\ub825\uc73c\ub85c \uc0ac\uc6a9\ud55c\ub2e4.<\/span><\/p>\n<h1>27.2. \ud5ec\ud37c \uba54\uc11c\ub4dc\uc758 \uc885\ub958<\/h1>\n<p><em>Form, Input, Label, Link, Select, TextArea, Validation<\/em><\/p>\n<h2>27.2.1. @Html.ActionLink()<\/h2>\n<pre class=\"lang:xhtml decode:true\">@Html.ActionLink(\"Text\", \"ActionMethod\", [args]);<\/pre>\n<h2>27.2.2. @Html.BeginForm()<\/h2>\n<p>\ubcc0\uacbd\ub41c URL\uc5d0 \ub9de\uac8c \uc18d\uc131\uc774 \uc7ac\uc9c0\uc815\ub41c\ub2e4 (???)<\/p>\n<h2>27.2.3. @Url.Action() :<\/h2>\n<pre class=\"lang:xhtml decode:true\">@Url.Action(\"\ud648\", \"Index\", \"Home\"); &lt;!-- \uc5d1\uc158 \uba54\uc11c\ub4dc\uc758 \uacbd\ub85c\ub97c \ubc18\ud658\ud55c\ub2e4. --&gt;<\/pre>\n<h2>27.2.4. \uc785\ub825 \uc694\uc18c \uc0dd\uc131<\/h2>\n<p>Html.TextBox, Html.Password, Html.RadioButton, Html.CheckBox, Html.Hidden, Html.TextArea, Html.DropDownList, Html.ListBox<\/p>\n<h2>27.2.5. \ub370\uc774\ud130 \ud45c\uc2dc<\/h2>\n<ul>\n<li><em>DisplayNameFor()<\/em> : \ubaa8\ub378 \ud074\ub798\uc2a4\uc5d0 \uc9c0\uc815\ub41c DisplayNameAttribute\uc640 DisplayAttribute.Name \uc18d\uc131\uc758 \uc601\ud5a5\uc744 \ubc1b\ub294\ub2e4.<\/li>\n<li><em>Label(), LabelFor()<\/em> : <em>&lt;label \/&gt;<\/em>\uc744 \uc0dd\uc131\ud560 \ub54c \uc0ac\uc6a9\ud55c\ub2e4.<\/li>\n<\/ul>\n<h2>27.2.6. \uc720\ud6a8\uc131 \uac80\uc0ac(Validation)<\/h2>\n<ul>\n<li><em>ValidationMessageFor()<\/em> : \ud2b9\uc815 \ud14d\uc2a4\ud2b8\ubc15\uc2a4 \ub2e4\uc74c\uc5d0 \uc5d0\ub7ec \uba54\uc138\uc9c0 \ucd9c\ub825<\/li>\n<li><em>ValidationSummary()<\/em> : \ubaa8\ub4e0 \uc5d0\ub7ec \uba54\uc2dc\uc9c0\ub97c \ud55c\uacf3\uc5d0 \ubaa8\uc544\uc11c \ucd9c\ub825<\/li>\n<\/ul>\n<h2>27.2.7. HtmlRaw()<\/h2>\n<p>HTML \ucf54\ub4dc\ub97c \uc778\ucf54\ub529\ud558\uc9c0 \uc54a\uc740 \uc6d0\ubcf8 \uc0c1\ud0dc\ub85c \ucd9c\ub825. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub4dc\ub97c \ucd9c\ub825\ud560\ub54c \uc720\uc6a9<\/p>\n<h2>27.2.8. \uae30\ud0c0 \ud5ec\ud37c \uba54\uc11c\ub4dc<\/h2>\n<ul>\n<li><em>Html.Encode()<\/em> : \ubb38\uc790\uc5f4\uc744 \uc778\ucf54\ub529\ud574\uc0c8\uc11c \ucd9c\ub825.<\/li>\n<li><em>Html.Partial()<\/em> : \ud2b9\uc815 \ubd80\ubd84 \ud398\uc774\uc9c0\ub97c \ucd9c\ub825\ud55c\ub2e4.\n<pre class=\"lang:xhtml decode:true\">@Html.Partial(\"_Review\") &lt;!-- _Review.cshtml \ud398\uc774\uc9c0\ub97c \uc6f9\ud398\uc774\uc9c0\uc5d0 \ucd9c\ub825 --&gt;<\/pre>\n<p>&nbsp;<\/li>\n<\/ul>\n<h1>27.3. \ud5ec\ud37c \uba54\uc11c\ub4dc\ub85c CSS class\uc640 \uac19\uc740 \ud2b9\uc815 \uc18d\uc131 \ubd80\uc5ec\ud558\uae30<\/h1>\n<pre class=\"lang:xhtml decode:true\">@Html.TextBox(\"txtName\", \"\", new { @class = \"form-control\" });<\/pre>\n<h1>27.4. \uc2e4\uc2b5<\/h1>\n<blockquote><p><span style=\"font-size: 12pt;\"><strong>\ud5ec\ud37c\uba54\uc11c\ub4dc\ub97c \uc54c\uace0\ub9cc \uc788\uc5b4\ub77c, \uc774\ud6c4\ubd80\ud130\ub294 \ud0dc\uadf8 \ud5ec\ud37c\ub97c \uc0ac\uc6a9\ud560 \uac83\uc774\ub2e4.<\/strong><\/span><\/p><\/blockquote>\n<h1>&#8211; \ucc38\uace0\uc790\ub8cc<\/h1>\n<p>[embeddoc url=&#8221;http:\/\/192.168.10.240:8080\/wp-content\/uploads\/2017\/09\/27\uc7a5.ASP_.NET-Core-10.-\ud5ec\ud37c-\uba54\uc11c\ub4dc.pdf&#8221; download=&#8221;all&#8221;] \u2013\u00a0ASP.NET Korea Study Group, \uc548\uc9c0\uc624<\/p>\n","protected":false},"excerpt":{"rendered":"<p>27.1. \ud5ec\ud37c \uba54\uc11c\ub4dc \ud5ec\ud37c \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\ub294 Html \uac1c\uccb4\ub294 \ud3fc, \ub9c1\ud06c, \uc785\ub825 \uc694\uc18c \ub4f1\uc744 \uc0dd\uc131\ud55c\ub2e4. ASP.NET Core\uc5d0\uc11c\ub294 \ud0dc\uadf8 \ud5ec\ud37c\ub97c \uc8fc\ub825\uc73c\ub85c \uc0ac\uc6a9\ud55c\ub2e4. 27.2. \ud5ec\ud37c \uba54\uc11c\ub4dc\uc758 \uc885\ub958 Form, Input, Label, Link, Select, TextArea, Validation 27.2.1. @Html.ActionLink() @Html.ActionLink(&#8220;Text&#8221;, &#8220;ActionMethod&#8221;, [args]); 27.2.2. @Html.BeginForm() \ubcc0\uacbd\ub41c URL\uc5d0 \ub9de\uac8c \uc18d\uc131\uc774 \uc7ac\uc9c0\uc815\ub41c\ub2e4 (???) 27.2.3. @Url.Action() : @Url.Action(&#8220;\ud648&#8221;, &#8220;Index&#8221;, &#8220;Home&#8221;); &lt;!&#8211; \uc5d1\uc158 \uba54\uc11c\ub4dc\uc758 \uacbd\ub85c\ub97c \ubc18\ud658\ud55c\ub2e4. &#8211;&gt; 27.2.4. \uc785\ub825 \uc694\uc18c \uc0dd\uc131&#8230; <a href=\"https:\/\/reasty.net\/?p=268\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13,14],"tags":[18,19,21],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-asp-net-core","category-asp-net-core-net","tag-asp-net-core","tag-asp-net-korea-study-group","tag-c"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/reasty.net\/index.php?rest_route=\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reasty.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reasty.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reasty.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reasty.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=268"}],"version-history":[{"count":0,"href":"https:\/\/reasty.net\/index.php?rest_route=\/wp\/v2\/posts\/268\/revisions"}],"wp:attachment":[{"href":"https:\/\/reasty.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reasty.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reasty.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}