<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>WaterFalls</author_name>
  <author_url>https://blog.hatena.ne.jp/WaterFalls/</author_url>
  <blog_title>１分技術ブログ</blog_title>
  <blog_url>https://waterfalls.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>以下のサイトを読んだので備忘録として aspnetmonsters.com つまりは using(var httpClient = new HttpClient()) { // ここにコード } とすると、usingブロックを抜けてもソケットが即座にクローズされないだけでなく、毎回新しいソケットをオープンしてしまうらしい。 詳しくは上記のサイトを見てもらうとして、備忘録として具体的な回避方法は以下の通り。 using System; using System.Net.Http; using System.Threading.Tasks; namespace myApp { class Prog…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwaterfalls.hatenablog.com%2Fentry%2F2018%2F11%2F28%2F171508&quot; title=&quot; [C#] [備忘録] HttpClientではusingを使ってはだめだよ - １分技術ブログ&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>https://images-fe.ssl-images-amazon.com/images/I/51Q1LFkj2qL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-28 17:15:08</published>
  <title> [C#] [備忘録] HttpClientではusingを使ってはだめだよ</title>
  <type>rich</type>
  <url>https://waterfalls.hatenablog.com/entry/2018/11/28/171508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
