<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>WebAssembly &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:WebAssembly</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Mon, 27 Apr 2026 16:21:40 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>WebAssembly &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:WebAssembly</link>
    </image>
    <item>
      <title>A Possible Limitation with WebAssembly Apps?</title>
      <link>https://devblog.dinobansigan.com/a-possible-limitation-with-webassembly-apps?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[A WriteFreely user recently got in touch with me, asking if I could modify the Write.as Archive Page Generator app, to make it work with WriteFreely instances. I spent some time with it last week and I ran into a snag. I&#39;m getting this TypeError: Failed to fetch JavaScript error whenever it tries to fetch data from the WriteFreely instance I&#39;m testing. &#xA;&#xA;When I try getting posts from a Write.as blog using a Blazor WASM app, it works. When I try getting posts from a WriteFreely instance blog, using the Blazor WASM app, it won&#39;t work. But when I try getting posts from a WriteFreely instance blog, using a .NET Core console app that uses the WriteAs.NET library I wrote, the same library that the Blazor WASM app uses, it works. Something weird is going on.&#xA;&#xA;My research into the issue indicates a possible limitation with WebAssembly apps. There must be some security setting on the WriteFreely instance I&#39;m testing, that&#39;s blocking my Blazor WASM requests. The Write.as API is obviously not blocking my requests, so something is going on with that WriteFreely instance. &#xA;&#xA;I dug into it some more and found that it is a CORS related issue. But at this point, there&#39;s nothing else I could on my end to fix it. I created a thread on discuss.write.as to talk about it.&#xA;&#xA;Tags: #Blazor #JavaScript #WebAssembly&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/a-possible-limitation-with-webassembly-apps&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>A WriteFreely user recently got in touch with me, asking if I could modify the <a href="https://apps.dinobansigan.com/WriteAsArchivePageGenerator">Write.as Archive Page Generator</a> app, to make it work with WriteFreely instances. I spent some time with it last week and I ran into a snag. I&#39;m getting this <code>TypeError: Failed to fetch</code> JavaScript error whenever it tries to fetch data from the WriteFreely instance I&#39;m testing.</p>

<p>When I try getting posts from a Write.as blog using a Blazor WASM app, it works. When I try getting posts from a WriteFreely instance blog, using the Blazor WASM app, it won&#39;t work. But when I try getting posts from a WriteFreely instance blog, using a .NET Core console app that uses the <a href="https://github.com/DinoBansigan/WriteAs.NET">WriteAs.NET library</a> I wrote, the same library that the Blazor WASM app uses, it works. Something weird is going on.</p>

<p>My research into the issue indicates a possible limitation with WebAssembly apps. There must be some security setting on the WriteFreely instance I&#39;m testing, that&#39;s blocking my Blazor WASM requests. The Write.as API is obviously not blocking my requests, so something is going on with that WriteFreely instance.</p>

<p>I dug into it some more and found that it is a CORS related issue. But at this point, there&#39;s nothing else I could on my end to fix it. I created a <a href="https://discuss.write.as/t/writefreely-archive-page-generator/2267">thread on discuss.write.as</a> to talk about it.</p>

<p><em>Tags: <a href="https://devblog.dinobansigan.com/tag:Blazor" class="hashtag"><span>#</span><span class="p-category">Blazor</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:WebAssembly" class="hashtag"><span>#</span><span class="p-category">WebAssembly</span></a></em></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/a-possible-limitation-with-webassembly-apps">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/a-possible-limitation-with-webassembly-apps</guid>
      <pubDate>Tue, 22 Dec 2020 02:00:00 +0000</pubDate>
    </item>
  </channel>
</rss>