Click here to Skip to main content
15,922,007 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
if the site has a file with extension ".aspx " i know its using technology for website development. What if the site extension is ".html"
Can a site developed with .net technology still show a file with ".html".

example: This is classic asp i guess This is .net
Updated 19-May-11 3:07am
Torontouser 20-May-11 8:45am    
Thank you all for your help :)

Yes, you can have a pure html page show you content generated by a aspx page. It's a whacky idea, but it can be done. Using url reqriting, you can even disguise an aspx page as a html page.
Share this answer
Sergey Alexandrovich Kryukov 19-May-11 22:14pm    
Correct, a 5.
yeah a site developer with .et can show a file with .html extension..please go to the following link[^]
Share this answer
Most web servers return information about this in the response headers. Have a look at the links for more information and code examples how to retrieve it:
Web Server Information using .NET[^][^]

Good luck!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900