aspx file downloading instead of displaying on web page

Hello!  I just uploaded my first Visual Studio 2019 project to Github.  After successfully uploading it, I built the following Github Pages website:

https://winterrice.github.io/Login_VS/LogIn2/

(NOTE that I am calling it from the subfolder “LogIn2”.)

BE AWARE that if you load this webpage it will automatically erroneously save the file “LogIn.aspx” to your download folder, so just please be aware of that in advance.

So, that is the issue, that when I load the webpage it dowloads the LogIn.aspx file that the index.html file calls instead of displaying it in the browser.

I tried uploading to Netlify as well and the same thing occurs.

ANY help would be greatly appreciated!  Thank you in advance for any advice.

Oh, and I forgot to add that when I run the webpage locally (in Visual Studio 2019) on my PC it displays everything perfectly, instead of downloading the Login2.aspx file.