Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hi
What is the mime type for .aspx
Posted 17-Apr-11 23:14pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Wrong question. ".ASPX" does not have a MIME type. This is just a part of file name (and URL).
For example, if the content is HTML, the mime type "text/html", and the .ASPX file from the client part is no different from a regular HTML file.
 
—SA
  Permalink  
Comments
Sandeep Mewara at 18-Apr-11 5:25am
   
My 5! I thought so too. Looks like we both posted almost the same answer at same time. (Though it might happen you disagree with mine! :P )
SAKryukov at 18-Apr-11 5:42am
   
Thank you, Sandeep. --SA
sampath1750 at 18-Apr-11 5:29am
   
I also add mime for aspx is text/html it shows me the html coded section of the file but my asp.net code isn't translated at all
SAKryukov at 18-Apr-11 5:42am
   
What do you mean "isn't translated"? --SA
Espen Harlinn at 18-Apr-11 17:52pm
   
My 5 :)
SAKryukov at 18-Apr-11 22:21pm
   
Thank you, Espen. --SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

AFAIK, mime type is not defined for .aspx but one can take it as a text/html in a rough manner. An ASPX page streams text/html to the browser.
  Permalink  
v2
Comments
Sandeep Mewara at 18-Apr-11 5:22am
   
Just wanted to know, why you asked or need it?
SAKryukov at 18-Apr-11 5:41am
   
I'm pretty much sure you can generate any mime type with ASP.NET, as with other server-side technology. My 5. --SA
Sandeep Mewara at 18-Apr-11 5:47am
   
Yep! :) Thanks SA.
Espen Harlinn at 18-Apr-11 17:53pm
   
My 5 :)

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 448
1 Sergey Alexandrovich Kryukov 425
2 Abhinav S 408
3 sanket saxena 285
4 Tadit Dash 160
0 Sergey Alexandrovich Kryukov 8,482
1 OriginalGriff 4,830
2 Peter Leow 3,794
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 18 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid