<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>UnderSourceCode</author_name>
  <author_url>https://blog.hatena.ne.jp/UnderSourceCode/</author_url>
  <blog_title>ソースコードから理解する技術－ＵｎｄｅｒＳｏｕｒｃｅＣｏｄｅ</blog_title>
  <blog_url>https://undersourcecode.hatenablog.com/</blog_url>
  <categories>
    <anon>フレームワーク</anon>
  </categories>
  <description>ASP.NET MVC 3 になり、クライアントサイドでのバリデーションが デフォルトでサポートされるようになりました。いままではクライアント側(つまりViewの.aspx内で)で明示的に EnableClientValidation()ヘルパーメソッドを呼び出していたのですが MVC 3 ではその必要が無くなりました。実装方法については、プロジェクトを作ると自動生成されるテンプレートの [Log On]周りのソースを見るのが分かりやすいと思います。以下、テンプレートの[My MVC Application]のソースを抜粋したものです。1.AccountModels.cs public cla…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fundersourcecode.hatenablog.com%2Fentry%2F20110212%2F1297494255&quot; title=&quot;ASP.NET MVC 3 - Remote Validation(1) - ソースコードから理解する技術－ＵｎｄｅｒＳｏｕｒｃｅＣｏｄｅ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-12 16:04:15</published>
  <title>ASP.NET MVC 3 - Remote Validation(1)</title>
  <type>rich</type>
  <url>https://undersourcecode.hatenablog.com/entry/20110212/1297494255</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
