ASPX File Documentation


Files with the ASPX extension, i.e. Active Server Page Extended, are files containing a website generated by a specific server. They also store data such as website code and scripts written in VBSript and C#. ASPX format files are used for the proper operation of web forms.

ASPX format files can be opened with programs such as Microsoft Visual Web Developer, Adobe Dreamweaver or Microsoft Visual Studio.


Overview

Feature Value
File Extension .aspx
MIME Type text/html
Default Text Encoding UTF-8
Language Support ASP.NET (C#, VB.NET), HTML, CSS, JS
Server Compatibility IIS (Internet Information Services)
Client-Side Scripting Support JavaScript, jQuery, AngularJS, etc.
Database Compatibility SQL Server, MySQL, Oracle, PostgreSQL, etc.
Code-Behind File Support Yes (.aspx.cs for C#, .aspx.vb for VB.NET)
State Management ViewState, SessionState, Cookies, QueryString, Application State
Authentication and Authorization Forms, Windows, OAuth, OpenID, Custom, etc.
Master Page Support Yes
User Controls .ascx files
Web Controls TextBox, Button, GridView, DropDownList, etc.
Error Handling Try-Catch, Custom Error Pages, ELMAH
Data Binding Yes, with Web Controls and Model Binding
Page Lifecycle Events Init, Load, PreRender, Unload, etc.
Deployment Web Application, Web Site, Docker, Azure
URL Routing Supported, customizable
AJAX Support Yes, through UpdatePanels or custom JS
RESTful Services Can be consumed and created
Common Vulnerabilities SQL Injection, XSS, CSRF, RCE
Performance Tuning Caching, Output Compression, Load Balancing
File Upload Support Yes, through FileUpload Control
Web API Support Yes, can be used in conjunction with ASP.NET Web API