<?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 Core</anon>
    <anon>Azure</anon>
    <anon>Azure Functions</anon>
  </categories>
  <description>.NET Core / ASP.NET Core で追加された Dependency Injection は Task ベースの Factory は用意されておらず、ドキュメントではサービスの解決は同期的に行うよう推奨されています。とはいえ、Task ベースでの初期化が必要な場面がちょいちょいあるので、何とかする必要があります。 async/await and Task based service resolution is not supported. C# does not support asynchronous constructors; therefore, the recommen…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayan.jp%2Fentry%2F2019%2F08%2F26%2F002651&quot; title=&quot;Task ベースの初期化が必要なクラスを .NET Core の DI で利用する - しばやん雑記&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://cdn.user.blog.st-hatena.com/default_entry_og_image/443186/1782493405712371</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-26 00:26:51</published>
  <title>Task ベースの初期化が必要なクラスを .NET Core の DI で利用する</title>
  <type>rich</type>
  <url>https://blog.shibayan.jp/entry/2019/08/26/002651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
