<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Azure &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:Azure</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Mon, 27 Apr 2026 16:22:14 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>Azure &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:Azure</link>
    </image>
    <item>
      <title>DevNotes - 005</title>
      <link>https://devblog.dinobansigan.com/devnotes-005?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Fire and forget template for C#/.NET to run something that you don&#39;t need to wait on and don&#39;t care about the results.&#xA;Task.Run(() =  {&#xA;&#x9;//code goes here&#xA;});&#xA;---&#xA;&#xA;In ReactJS, if ESLint says you cannot use inline arrow functions to pass in props in JSX, a solution is to wrap them with the useCallback hook.&#xA;&#xA;Reference: https://stackoverflow.com/a/36677798/5041911&#xA;&#xA;---&#xA;&#xA;Modals -- can be used to add dialog or popup info boxes on your ReactJS app.&#xA;&#xA;---&#xA;&#xA;So using this library actually helped me solve my Azure Application Insights logging issue. The issue being, since I had a dateOfBirth object in my formData object, app insights would save it as an object, as opposed to something like dateOfBirth: 2024-04-16. The solution was to flatten the formData object so it will get logged properly in Azure App Insights.&#xA;&#xA;---&#xA;&#xA;Rendering the HTML string in React -- short tutorial on how to render an HTML string in ReactJS/Gatsby.&#xA;&#xA;---&#xA;&#xA;Series: #DevNotes&#xA;Tags: #CSharp #DotNet #Template #ReactJS #Azure #ApplicationInsights #Gatsby&#xA;&#xA;!--emailsub--&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/devnotes-005&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>Fire and forget template for C#/.NET to run something that you don&#39;t need to wait on and don&#39;t care about the results.</p>

<pre><code class="language-csharp">Task.Run(() =&gt;
{
	//code goes here
});
</code></pre>

<hr/>

<p>In ReactJS, if ESLint says you cannot use inline arrow functions to pass in props in JSX, a solution is to wrap them with the <code>useCallback</code> hook.</p>

<p>Reference: <a href="https://stackoverflow.com/a/36677798/5041911">https://stackoverflow.com/a/36677798/5041911</a></p>

<hr/>

<p><a href="https://react-bootstrap.netlify.app/docs/components/modal/">Modals</a> — can be used to add dialog or popup info boxes on your ReactJS app.</p>

<hr/>

<p>So using <a href="https://www.npmjs.com/package/flat">this library</a> actually helped me solve my Azure Application Insights logging issue. The issue being, since I had a <code>dateOfBirth</code> object in my <code>formData</code> object, app insights would save it as an object, as opposed to something like <code>dateOfBirth: 2024-04-16</code>. The solution was to flatten the <code>formData</code> object so it will get logged properly in Azure App Insights.</p>

<hr/>

<p><a href="https://reactgo.com/react-render-html/">Rendering the HTML string in React</a> — short tutorial on how to render an HTML string in ReactJS/Gatsby.</p>

<hr/>

<p><strong>Series:</strong> <a href="https://devblog.dinobansigan.com/tag:DevNotes" class="hashtag"><span>#</span><span class="p-category">DevNotes</span></a>
<strong>Tags:</strong> <a href="https://devblog.dinobansigan.com/tag:CSharp" class="hashtag"><span>#</span><span class="p-category">CSharp</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:Template" class="hashtag"><span>#</span><span class="p-category">Template</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:Azure" class="hashtag"><span>#</span><span class="p-category">Azure</span></a> <a href="https://devblog.dinobansigan.com/tag:ApplicationInsights" class="hashtag"><span>#</span><span class="p-category">ApplicationInsights</span></a> <a href="https://devblog.dinobansigan.com/tag:Gatsby" class="hashtag"><span>#</span><span class="p-category">Gatsby</span></a></p>



<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/devnotes-005">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/devnotes-005</guid>
      <pubDate>Tue, 23 Apr 2024 17:18:27 +0000</pubDate>
    </item>
    <item>
      <title>DevNotes - 004 </title>
      <link>https://devblog.dinobansigan.com/devnotes-004?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[To cause Azure to keep sending emails repeatedly for your Heath Check alerts, you need to uncheck the checkbox that says &#34;Automatically Resolve Alerts&#34;. &#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;If you want to see what kind of error Axios throws, it is better to use console.log(error.toJSON()) than console.log(error). That&#39;s because the former option will list out all the properties from the error variable, while the latter option will only list out the error message itself.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;Instead of adding todo comments, track it as a task so it doesn&#39;t get lost.&#xA;&#xA;Source: TODO: Post an Article&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;Looking for a new way to do end-to-end testing on modern web apps? Check out Playwright. The tests are pretty easy to follow because it&#39;s basically a set of instructions written in code. So as you might have guessed, it&#39;s catered more to developers than non-technical folks.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;I am going through the Pro ASP.NET Core 6 book. After trying to run the command libman install bootstrap@5.1.3 -d wwwroot/lib/bootstrap from page 72 (Chapter 4) of the book, I started getting the error listed below:&#xA;&#xA;[LIB002]: The &#34;bootstrap@5.1.3&#34; library could not be resolved by the &#34;cdnjs&#34; provider&#xA;&#xA;Turns out it was an issue with the library manager package that was installed. The fix is to install a newer one. More info can be found here: &#xA;&#xA;https://github.com/Apress/pro-asp.net-core-6/blob/main/errata.md&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;Was looking for a way to add a list of objects to the appsettings.json file, then retrieve that list and turn them into something I can check against in a controller class. This answer works wonderfully.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;React Hook Form -- seems like a cool alternative form handler for React.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;SQL to MongoDB Mapping Chart -- good reference on how to write MongoDB queries based on expected SQL Server queries.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;Reasons to blog if you&#39;re a software developer:&#xA;&#xA;It helps you write better emails at work.&#xA;It helps you write better user stories and acceptance criteria.&#xA;It helps you communicate your ideas better.&#xA;&#xA;If you&#39;re noticing a pattern there, it&#39;s all about being a better communicator. And you would want that, because that also helps you advance in your career.&#xA;&#xA;hr class=&#34;sb&#34;/&#xA;&#xA;Series: #DevNotes&#xA;Tags: #Axios #ASPNetCore #Azure #Blogging #JavaScript #MongoDB #Playwright #React #SqlServer #Tests&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/devnotes-004&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>To cause Azure to keep sending emails repeatedly for your Heath Check alerts, you need to uncheck the checkbox that says “Automatically Resolve Alerts”.</p>

<hr class="sb"/>

<p>If you want to see what kind of error <a href="https://axios-http.com/">Axios</a> throws, it is better to use <code>console.log(error.toJSON())</code> than <code>console.log(error)</code>. That&#39;s because the former option will list out all the properties from the error variable, while the latter option will only list out the error message itself.</p>

<hr class="sb"/>

<p>Instead of adding <em>todo</em> comments, track it as a task so it doesn&#39;t get lost.</p>

<p>Source: <a href="https://thedailywtf.com/articles/todo-post-an-article">TODO: Post an Article</a></p>

<hr class="sb"/>

<p>Looking for a new way to do end-to-end testing on modern web apps? Check out <a href="https://playwright.dev/">Playwright</a>. The tests are pretty easy to follow because it&#39;s basically a set of instructions written in code. So as you might have guessed, it&#39;s catered more to developers than non-technical folks.</p>

<hr class="sb"/>

<p>I am going through the Pro ASP.NET Core 6 book. After trying to run the command <code>libman install bootstrap@5.1.3 -d wwwroot/lib/bootstrap</code> from page 72 (Chapter 4) of the book, I started getting the error listed below:</p>

<p><code>[LIB002]: The &#34;bootstrap@5.1.3&#34; library could not be resolved by the &#34;cdnjs&#34; provider</code></p>

<p>Turns out it was an issue with the library manager package that was installed. The fix is to install a newer one. More info can be found here:</p>

<p><a href="https://github.com/Apress/pro-asp.net-core-6/blob/main/errata.md">https://github.com/Apress/pro-asp.net-core-6/blob/main/errata.md</a></p>

<hr class="sb"/>

<p>Was looking for a way to add a list of objects to the appsettings.json file, then retrieve that list and turn them into something I can check against in a controller class. <a href="https://stackoverflow.com/a/56226359/5041911">This answer</a> works wonderfully.</p>

<hr class="sb"/>

<p><a href="https://react-hook-form.com/">React Hook Form</a> — seems like a cool alternative form handler for React.</p>

<hr class="sb"/>

<p><a href="https://docs.mongodb.com/manual/reference/sql-comparison/">SQL to MongoDB Mapping Chart</a> — good reference on how to write MongoDB queries based on expected SQL Server queries.</p>

<hr class="sb"/>

<p>Reasons to blog if you&#39;re a software developer:</p>
<ul><li>It helps you write better emails at work.</li>
<li>It helps you write better user stories and acceptance criteria.</li>
<li>It helps you communicate your ideas better.</li></ul>

<p>If you&#39;re noticing a pattern there, it&#39;s all about being a better communicator. And you would want that, because that also helps you <a href="https://devblog.dinobansigan.com/career-advancement-for-software-developers-peter-lyons">advance in your career</a>.</p>

<hr class="sb"/>

<p><strong>Series</strong>: <a href="https://devblog.dinobansigan.com/tag:DevNotes" class="hashtag"><span>#</span><span class="p-category">DevNotes</span></a>
<strong>Tags:</strong> <a href="https://devblog.dinobansigan.com/tag:Axios" class="hashtag"><span>#</span><span class="p-category">Axios</span></a> <a href="https://devblog.dinobansigan.com/tag:ASPNetCore" class="hashtag"><span>#</span><span class="p-category">ASPNetCore</span></a> <a href="https://devblog.dinobansigan.com/tag:Azure" class="hashtag"><span>#</span><span class="p-category">Azure</span></a> <a href="https://devblog.dinobansigan.com/tag:Blogging" class="hashtag"><span>#</span><span class="p-category">Blogging</span></a> <a href="https://devblog.dinobansigan.com/tag:JavaScript" class="hashtag"><span>#</span><span class="p-category">JavaScript</span></a> <a href="https://devblog.dinobansigan.com/tag:MongoDB" class="hashtag"><span>#</span><span class="p-category">MongoDB</span></a> <a href="https://devblog.dinobansigan.com/tag:Playwright" class="hashtag"><span>#</span><span class="p-category">Playwright</span></a> <a href="https://devblog.dinobansigan.com/tag:React" class="hashtag"><span>#</span><span class="p-category">React</span></a> <a href="https://devblog.dinobansigan.com/tag:SqlServer" class="hashtag"><span>#</span><span class="p-category">SqlServer</span></a> <a href="https://devblog.dinobansigan.com/tag:Tests" class="hashtag"><span>#</span><span class="p-category">Tests</span></a></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/devnotes-004">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/devnotes-004</guid>
      <pubDate>Thu, 16 Feb 2023 04:13:20 +0000</pubDate>
    </item>
    <item>
      <title>Lowercase Letters Only with Azure Storage Containers</title>
      <link>https://devblog.dinobansigan.com/lowercase-letters-only-with-azure-storage-containers?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[As the title states, you cannot use UPPERCASE letters when naming Containers in Azure Storage. I have no problem with this. My issue is that the exception message that is returned when running into this restriction, does not help me figure out what I did wrong.&#xA;&#xA;This is the exception message I got:&#xA;The remote server returned an error: (400) Bad Request.&#xA;&#xA;Yeah, no help at all. Thankfully since I was writing the code, I could see where it was running into the exception. So I know it was an issue when trying to create a Container. It would have been a much bigger headache had I been trying to support a library that didn&#39;t have good exception logging or show the correct stacktrace.&#xA;&#xA;I can somewhat understand why they did it this way though; it&#39;s most likely for security reasons that they are returning a very vague error. Either way, you have to know that there are a bunch of naming rules concerning how to name things in Azure Storage. For the official list from Microsoft, you can head over here.&#xA;&#xA;Tags: #Azure&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/lowercase-letters-only-with-azure-storage-containers&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>As the title states, you cannot use UPPERCASE letters when naming Containers in Azure Storage. I have no problem with this. My issue is that the exception message that is returned when running into this restriction, does not help me figure out what I did wrong.</p>

<p>This is the exception message I got:
<code>The remote server returned an error: (400) Bad Request.</code></p>

<p>Yeah, no help at all. Thankfully since I was writing the code, I could see where it was running into the exception. So I know it was an issue when trying to create a Container. It would have been a much bigger headache had I been trying to support a library that didn&#39;t have good exception logging or show the correct stacktrace.</p>

<p>I can somewhat understand why they did it this way though; it&#39;s most likely for security reasons that they are returning a very vague error. Either way, you have to know that there are a bunch of naming rules concerning how to name things in Azure Storage. For the official list from Microsoft, you can head over <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Naming-and-Referencing-Containers--Blobs--and-Metadata">here</a>.</p>

<p><em>Tags: <a href="https://devblog.dinobansigan.com/tag:Azure" class="hashtag"><span>#</span><span class="p-category">Azure</span></a></em></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/lowercase-letters-only-with-azure-storage-containers">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/lowercase-letters-only-with-azure-storage-containers</guid>
      <pubDate>Thu, 21 Feb 2019 00:00:00 +0000</pubDate>
    </item>
  </channel>
</rss>