<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TonyTonyKun</author_name>
  <author_url>https://blog.hatena.ne.jp/TonyTonyKun/</author_url>
  <blog_title>ROMANCE DAWN for the new world</blog_title>
  <blog_url>https://gooner.hateblo.jp/</blog_url>
  <categories>
    <anon>ASP.NET MVC</anon>
    <anon>ASP.NET</anon>
  </categories>
  <description>gooner.hateblo.jp 前回の記事では、Ajax 通信でページを部分更新する際の例外処理について記載しましたが、それに関連した内容です。 ASP.NET MVC 5 の Ajax 通信で PartialView を返す際に、JSON の一部として返したいケースがありました。例外処理と似たような感じで、Exception が発生した際にエラーページに遷移するのではなく、メッセージボックスで通知したいシナリオです。元ネタの実装とほとんど同じなのですが、自分なりに整理してみました。 ベースとなる抽象コントローラークラスを用意して、PartialView を含む JSON を返すヘルパーメ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgooner.hateblo.jp%2Fentry%2F2015%2F07%2F30%2Fjson-partialview%2F&quot; title=&quot;ASP.NET MVC で JSON の一部として PartialView を返す方法 - ROMANCE DAWN for the new world&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://gooner.azurewebsites.net/wp-content/uploads/2015/07/ajax03.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-07-30 06:26:44</published>
  <title>ASP.NET MVC で JSON の一部として PartialView を返す方法</title>
  <type>rich</type>
  <url>https://gooner.hateblo.jp/entry/2015/07/30/json-partialview/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
