I'm new to ASP.NET, and I came across these two different extensions while browsing around. What's the difference between them?
Active Server Pages (ASPX) is a file format used by web servers and generated using the Microsoft ASP.NET framework - an open-source development framework used by web developers to create dynamic web pages, often with the . NET and C# programming languages.
aspx. cs code is run server side, while the . aspx file is compiled on the server and is then served to the web client requesting it.
Active Server Pages (ASP) is Microsoft's first server-side scripting language and engine for dynamic web pages.
HTML Page : A Web page with user interface and content static information that does not go through any server-side processing. ASPX Page : A Web page with user interface and dynamic content information that is coming from server-side.
One is Classic ASP (.asp
) and the other is ASP.NET (.aspx
).
Note that this is how these extensions are handled by default. You can remap the extensions to be handled in different ways in IIS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With