<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>HttpClient &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:HttpClient</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Sun, 19 Apr 2026 11:26:23 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>HttpClient &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:HttpClient</link>
    </image>
    <item>
      <title>DevNotes - 003</title>
      <link>https://devblog.dinobansigan.com/devnotes-003?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Cache Implementations in C# .NET -- good blog post on implementing caching with .NET.&#xA;&#xA;---&#xA;&#xA;You&#39;re using HttpClient wrong and it is destabilizing your software -- great blog post that told me that we should avoid the use of the &#34;using statement&#34; when working with an HttpClient instance. And that&#39;s because disposing it after say a one time use, like doing one API call and then immediately disposing, will leave open/pending socket connections. Do this often enough and you&#39;ll accumulate a number of those open/pending socket connections and that will slow down your app. The better approach is to use a single static HttpClient instance in your app.&#xA;&#xA;---&#xA;&#xA;The always-recent guide to creating a development environment for Node and React (with Babel and Webpack) -- good guide to setting up a full-stack JavaScript development environment on your local, with an eye toward ReactJS.!--more--&#xA;&#xA;---&#xA;&#xA;Good blog posts on how to create Windows Services using .NET Core:&#xA;&#xA;Creating Windows Services In .NET Core – Part 1 – The “Microsoft” Way&#xA;Creating Windows Services In .NET Core – Part 2 – The “Topshelf” Way&#xA;&#xA;---&#xA;&#xA;Combining multiple changes into one commit is a bad idea, because then you cannot revert the single change that you want to revert, without reverting all the other changes that came along with it.&#xA;&#xA;---&#xA;&#xA;Inadvertently discovered a way to find out who is running a specific process on a server. This is useful if you cannot remote into the server, like say because the connections are full. Using Visual Studio, you can do &#34;Attach to Process&#34; on a server. Assuming that server is setup with remote debugging, doing so will get you a listing of the apps/processes running on that server, plus which user are running those apps/processes.&#xA;&#xA;And now you know where I got the name for this blog as well.&#xA;&#xA;---&#xA;&#xA;Tags: #DevNotes #Bookmarks #DotNet #Caching #HttpClient #ReactJS  #WindowsServices #SourceControlBestPractices #TroubleshootingWindowsProcesses&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/devnotes-003&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://michaelscodingspot.com/cache-implementations-in-csharp-net/">Cache Implementations in C# .NET</a> — good blog post on implementing caching with .NET.</p>

<hr/>

<p><a href="https://www.aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/">You&#39;re using HttpClient wrong and it is destabilizing your software</a> — great blog post that told me that we should avoid the use of the “using statement” when working with an <code>HttpClient</code> instance. And that&#39;s because disposing it after say a one time use, like doing one API call and then immediately disposing, will leave open/pending socket connections. Do this often enough and you&#39;ll accumulate a number of those open/pending socket connections and that will slow down your app. The better approach is to use a single static <code>HttpClient</code> instance in your app.</p>

<hr/>

<p><a href="https://jscomplete.com/learn/1rd-reactful">The always-recent guide to creating a development environment for Node and React (with Babel and Webpack)</a> — good guide to setting up a full-stack JavaScript development environment on your local, with an eye toward ReactJS.</p>

<hr/>

<p>Good blog posts on how to create Windows Services using .NET Core:</p>
<ul><li><a href="https://dotnetcoretutorials.com/2019/09/19/creating-windows-services-in-net-core-part-1-the-microsoft-way/">Creating Windows Services In .NET Core – Part 1 – The “Microsoft” Way</a></li>
<li><a href="https://dotnetcoretutorials.com/2019/09/27/creating-windows-services-in-net-core-part-2-the-topshelf-way/">Creating Windows Services In .NET Core – Part 2 – The “Topshelf” Way</a></li></ul>

<hr/>

<p>Combining multiple changes into one commit is a bad idea, because then you cannot revert the single change that you want to revert, without reverting all the other changes that came along with it.</p>

<hr/>

<p>Inadvertently discovered a way to find out who is running a specific process on a server. This is useful if you cannot remote into the server, like say because the connections are full. Using Visual Studio, you can do <strong>“Attach to Process”</strong> on a server. Assuming that server is setup with remote debugging, doing so will get you a listing of the apps/processes running on that server, plus which user are running those apps/processes.</p>

<p><em>And now you know where I got the name for this blog as well.</em></p>

<hr/>

<p><em>Tags: <a href="https://devblog.dinobansigan.com/tag:DevNotes" class="hashtag"><span>#</span><span class="p-category">DevNotes</span></a> <a href="https://devblog.dinobansigan.com/tag:Bookmarks" class="hashtag"><span>#</span><span class="p-category">Bookmarks</span></a> <a href="https://devblog.dinobansigan.com/tag:DotNet" class="hashtag"><span>#</span><span class="p-category">DotNet</span></a> <a href="https://devblog.dinobansigan.com/tag:Caching" class="hashtag"><span>#</span><span class="p-category">Caching</span></a> <a href="https://devblog.dinobansigan.com/tag:HttpClient" class="hashtag"><span>#</span><span class="p-category">HttpClient</span></a> <a href="https://devblog.dinobansigan.com/tag:ReactJS" class="hashtag"><span>#</span><span class="p-category">ReactJS</span></a>  <a href="https://devblog.dinobansigan.com/tag:WindowsServices" class="hashtag"><span>#</span><span class="p-category">WindowsServices</span></a> <a href="https://devblog.dinobansigan.com/tag:SourceControlBestPractices" class="hashtag"><span>#</span><span class="p-category">SourceControlBestPractices</span></a> <a href="https://devblog.dinobansigan.com/tag:TroubleshootingWindowsProcesses" class="hashtag"><span>#</span><span class="p-category">TroubleshootingWindowsProcesses</span></a></em></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/devnotes-003">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/devnotes-003</guid>
      <pubDate>Mon, 26 Sep 2022 02:41:14 +0000</pubDate>
    </item>
  </channel>
</rss>