How to Create an ASPX File
Aspx files are a Microsoft .NET format used to display dynamic web pages to readers. The aspx files are created using Microsoft's development platform. Visual Studio .NET provides you with the means to create aspx web forms. These web forms are then uploaded to a host provider that has the capabilities of running the .NET code. Creating a simple aspx file can also be used to display HTML. Creating your first aspx file is accomplished in the Visual Studio console.
Open your Visual Studio .NET application. This is normally located in the "Microsoft Visual Studio .NET" directory in the Windows start menu programs.
Click the "File" menu item and select "New Web Site." This starts a new website on your computer where you can add aspx files.
Select "ASP.NET Website" from the list of templates in the opening window. Enter a location for the new website in text box labeled "Location." Choose if you want to program in VB.NET or C# in the labeled drop down box. Press the "Ok" button when you are finished. Visual Studio automatically creates a website with the first aspx file included named "Default.aspx."
Right-click the website name in the Solution Explorer on the right of the Visual Studio screen. Select "New" and then "Web Form." Each time you do this step, you create a new aspx file in your website.
Double-click the "Default.aspx" file in the Solution Explorer. This opens the file where you can edit the HTML. Right-clicking the file and selecting "View Code" shows you the code-behind where you enter your functions and events. In the HTML view, enter some text within the "