IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

What is an ASPX file?

We look at what this web file does and how it can be viewed

If you have ever wondered what an ASPX file is, then you have come to the right place. Maybe you have seen a file extension on a document, such as a word file. This has a .docx extension. This tells the computer what type of file it is. It is the same with .ASPX files. It’s a file format that is used by web servers to them what to do with a request from the internet. Active Server Page Extended (ASPX) is an open-source development framework used by web developers to generate dynamic web pages, using the .NET and C# programming languages.

ASPX is a development of ASP, the technology that came before ASPX. It is designed for Microsoft's ASP.NET framework. It is also known as a .NET Web Form. The .aspx suffix on a URL tells us that the web pages are constructed using ASPX.

ASPX files typically contain various scripts or other open-source files that web browsers - the end-user - receive from web servers and these are the components of the web service that deliver dynamic, modern-looking elements on a page.

End users normally shouldn’t see or interact with these file types during their online experience, but if they do it can indicate there is an error with the web service’s configuration.

How to open an ASPX file

A common occurrence when downloading a file from the web and onto a Windows machine is that it downloads as a .aspx file when you were expecting something else, such as a PDF. In these cases, a quick workaround that often works is to simply rename the file and change the file type to the one you expected, such as .pdf

Renaming a file type in Windows 10

Keumars Afifi-Sabet/IT Pro

But if it’s a true ASPX file you’re looking to open, there are several options out there. Microsoft initially intended for the file to be opened in its open-source integrated developer environment (IDE) Visual Studio Code, arguably the best option for the job. But other programs are out there, both free and paid-for, should you wish to use an alternative.

Using Adobe Dreamweaver to open ASPX files

One of the most popular web development platforms available is Adobe Dreamweaver. This can be used to open the ASPX files. The program can be used to make and publish web pages with HTML, CSS, and Javascript, among others, speedily and from anywhere.

It has a smart, simplified coding engine, with hints and tips to help users get to grips with HTML, CSS and other web standards. However, Adobe is a paid-for service and a subscription to Dreamweaver will set you back £19.97 per month.

Using Notepad++ to open ASPX files

You can use a free source code editor, such as Notepad++, to open ASPX files. This editor is a good replacement for Notepad and also supports several languages, including CGI format. Underpinning this coding app is Scintilla which was developed using C++. It is also a lot quicker in execution and tiny in size too as it uses Win32 API and STL.

Other types of ASPX files (and what you need to do with them)

As hinted at earlier, the .aspx at the end of a URL means that the page has been created using the ASP.NET framework. Users need not open it, the browser will do that automatically. The code within the document will be run by the web server that runs ASP.NET.

Should you desire to open and edit a .aspx file, Microsoft's free Visual Studio can be used to do so. A normal text editor can also open up such files.

How to convert an ASPX file to a PDF

Converting ASPX to PDF in Chrome

Keumars Afifi-Sabet/IT Pro

There are many different converters to change ASPX to PDF, but it's often simpler to just use a browser, like Chrome. The ASPX file just needs to be simply dragged and dropped into the browser bar where one would enter a URL. Once the new browser window opens, press CTRL+P to print. Under the destination of said printing window click on 'Change' and save it as a PDF.

Featured Resources

Accelerating healthcare transformation through patient-centred medtech solutions

Seize the digital transformation opportunities to streamline patient care and optimise patient outcomes

Free Download

Big payoffs from big bets in AI-powered automation

Automation disruptors realise 1.5 x higher revenue growth

Free Download

Hyperscaler cloud service providers top ten

Why it's important for companies to consider hyperscaler cloud service providers, and why they matter

Free Download

Strategic app modernisation drives digital transformation

Address business needs both now and in the future

Free Download

Most Popular

Empowering employees to truly work anywhere

Empowering employees to truly work anywhere

22 Nov 2022
Defra's legacy software problem 'threatens' UK gov cyber security until 2030
Business strategy

Defra's legacy software problem 'threatens' UK gov cyber security until 2030

6 Dec 2022
US seizes millions in stolen COVID relief funds by China-backed hackers
Policy & legislation

US seizes millions in stolen COVID relief funds by China-backed hackers

6 Dec 2022