<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suusanex</author_name>
  <author_url>https://blog.hatena.ne.jp/suusanex/</author_url>
  <blog_title>新しもの好きプログラマの耳より情報ブログ</blog_title>
  <blog_url>https://suusanex.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>概要 .NETの最近の新機能を入れようとすると、サンプルで当たり前のようにDI(Dependency Injection)やGenericHost用のExtensionsが出てきます。しかしWPFのテンプレートは真っ白で、そんな物は影も形もありません。 GenericHostを組み込んでしまえばそうした問題はまとめて解決出来て、DIもできますしLoggerなども使えるようになって便利になります。あれこれの機能の紹介は別の記事に譲るとして、まずはWPFへの最小限の組み込み方法を紹介します。 最初に結論まとめ Template Studio for WPFを使うか、次のGitリポジトリのWpfAp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuusanex.hatenablog.jp%2Fentry%2F2025%2F01%2F30%2F173151&quot; title=&quot;WPFにGenericHostを入れて便利に最新機能を使うための、最小限の組み込み方法 - 新しもの好きプログラマの耳より情報ブログ&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>2025-01-30 17:31:51</published>
  <title>WPFにGenericHostを入れて便利に最新機能を使うための、最小限の組み込み方法</title>
  <type>rich</type>
  <url>https://suusanex.hatenablog.jp/entry/2025/01/30/173151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
