<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gkuga</author_name>
  <author_url>https://blog.hatena.ne.jp/gkuga/</author_url>
  <blog_title>射撃しつつ前進</blog_title>
  <blog_url>https://gkuga.hatenablog.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>はじめに Inversion of ControlコンテナのAutofacを試したのでそのメモを書く。 DI（Dependency injection, 依存性注入）という言葉を知っている人がAutofacはこう使うんだなと雰囲気を知れるくらいを目指す。DI自体やサービスロケータなどについては触れないが次回に書こうと思う。現在はIoCよりDIの方が広く広まっている言葉だと思うが、そのことについてもちらっと触れる。 Autofac Autofacは.NET向けIoCコンテナであり、クラス間の依存関係を管理するライブラリである。それによってアプリケーションの規模や複雑さが大きくなっても、変更が容易…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgkuga.hatenablog.com%2Fentry%2F2022%2F04%2F18%2F070000&quot; title=&quot;IoCコンテナ(DIコンテナ)のAutofacでHello World!をする (C#) - 射撃しつつ前進&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-ak.f.st-hatena.com/images/fotolife/g/gkuga/20220412/20220412022140.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-18 07:00:00</published>
  <title>IoCコンテナ(DIコンテナ)のAutofacでHello World!をする (C#)</title>
  <type>rich</type>
  <url>https://gkuga.hatenablog.com/entry/2022/04/18/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
