This article explains what ASPX files are and how they are used, what to do if you accidentally download an ASPX file, and how to convert an ASPX file to a more usable format.
A file with the ASPX file extension is an Active Server Page Extended file designed for Microsoft's ASP.NET framework. It is also known as a .NET Web Form. Although they may look quite similar, ASPX files are not the same as Web Handler files, which end in ASHX.
These files are generated by a web server. They contain scripts and source code that tell a browser how to open and display a web page.
Most of the time you will only see this extension in a URL or when your browser accidentally sends you an ASPX file instead of the file you thought you were downloading.