<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba-yan</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba-yan/</author_url>
  <blog_title>しばやん雑記</blog_title>
  <blog_url>https://blog.shibayan.jp/</blog_url>
  <categories>
    <anon>ASP.NET</anon>
  </categories>
  <description>あまり使ってる人を見ない Razor の新機能であるセクションなんですが、最近の Web サービスのようにサイドバーに情報を表示したりする場合に非常に有用です。今回はこのブログのサイドバーのようなデザインを ASP.NET MVC 3 で作ってみたいと思います。とりあえず _Layout.cshtml にセクションを表示するためのコードを追加します。 @* SideBar という名前のセクションが定義されている場合は出力 *@ @RenderSection(&quot;SideBar&quot;, false) RenderSection メソッドを使うことで指定した名前のセクションを任意の場所に出力できます。2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayan.jp%2Fentry%2F20110731%2F1312107909&quot; title=&quot;セクションと子アクションを使って高度なレイアウトを実現する - しばやん雑記&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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/shiba-yan/20110731/20110731173251.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-31 19:25:09</published>
  <title>セクションと子アクションを使って高度なレイアウトを実現する</title>
  <type>rich</type>
  <url>https://blog.shibayan.jp/entry/20110731/1312107909</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
