AWS credentials location for Windows IIS

You’d expect to have the AWS credentials loaded up by your application via %userprofile%\.aws but no, it doesn’t.

I think I’ve spent about 2 hours searching for the solution.  Thanks to some random person, I figured out that you have to place the files here instead:

Now I finally got my ASP .NET Core 6.0 backend API running on my windows server.

Environment Variables -> AWS Parameter Store

After contemplating wether to use Azure’s vault, or AWS’s Secrets Manager, I’ve ended with the choice to use AWS’s Parameter Store.
Simple and clean.

– NuGet required (Amazon.Extensions.Configuration.SystemManager

For the minimal setup this is all you need in your Program.cs
builder.Configuration.AddSystemsManager(“PATH”, TimeSpan.FromDays(X));

I’ve safely stored the DB connection strings, and a few other sensitive data successfully.

New track I finished recently.

Been a while since I’ve finished an original track.  Hard trance on the faster side.  My next plan is to do my very first original Vocal track.  Goal is to get it done by next Summer.  Got too many things to study, and do per usual.

Netflix’s Cyberpunk Edgerunners

I just finally watched Edgerunners via Netflix.
My opinion would most definitely be biased due to being a Cyberpunk 2077 player, BUT I have to say the animation and color/styles they used was enjoyable and artsy.  Dark story all the way, just the way it was supposed to be.

Low Poly Earth

Todays’ Blender study/practice.   Low poly earth.
Skills learned:
– Link materials
– “.”(period) shortcut
– Rotate zz/xx/yy to transform locally
– Snap to faces

Mobile detect method via php

// Check if the "mobile" word exists in User-Agent 
$isMob = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "mobile")); 
// Check if the "tablet" word exists in User-Agent 
$isTab = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "tablet")); 
// Platform check  
$isWin = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "windows")); 
$isAndroid = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "android")); 
$isIPhone = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "iphone")); 
$isIPad = is_numeric(strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "ipad")); 
$isIOS = $isIPhone || $isIPad; 
        echo 'Using Tablet Device...'; 
        echo 'Using Mobile Device...'; 
    echo 'Using Desktop...'; 
    echo 'iOS'; 
    echo 'ANDROID'; 
    echo 'WINDOWS'; 

Fix: IIS not loading Unity WebGL project (stuck loading)

  1. Add the following to the web.config file.
 <mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".data" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".memgz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".datagz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" />
 <mimeMap fileExtension=".jsgz" mimeType="application/x-javascript; charset=UTF-8" />
 <urlCompression doStaticCompression="true" doDynamicCompression="false" />