<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omdwn</author_name>
  <author_url>https://blog.hatena.ne.jp/omdwn/</author_url>
  <blog_title>インドカレーファンクラブ</blog_title>
  <blog_url>https://omdwn.hatenablog.com/</blog_url>
  <categories>
    <anon>ASP.NET</anon>
    <anon>Rails</anon>
    <anon>C#</anon>
    <anon>Razor</anon>
  </categories>
  <description>便宜上、ここではLayoutを利用するページを元のページと呼ぶことにする (適切な呼び方がわからない) かきかた ASP.NET RazorではViews/_ViewStart.cshtmlファイルの中で全てのViewに共通するレイアウトを指定する @{ Layout = &quot;~/Views/Shared/_Layout.cshtml&quot;; } これによって各Viewの中で指定通りView/Shared/_Layout.cshtmlがデフォルトのレイアウトファイルとして読み込まれる 他のレイアウトを利用したい場合、Layoutを無効化したい場合は各Viewの側で以下のように指定する @{ Layo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomdwn.hatenablog.com%2Fentry%2F2020%2F05%2F12%2F215344&quot; title=&quot;【ASP.NET】【Rails】ASP.NETとRailsでViewのLayout - インドカレーファンクラブ&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>2020-05-12 21:53:44</published>
  <title>【ASP.NET】【Rails】ASP.NETとRailsでViewのLayout</title>
  <type>rich</type>
  <url>https://omdwn.hatenablog.com/entry/2020/05/12/215344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
