Click here to Skip to main content
15,884,237 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need help Pin
kuduva30-Sep-09 6:36
kuduva30-Sep-09 6:36 
AnswerRe: Need help Pin
Matt Meyer30-Sep-09 4:42
Matt Meyer30-Sep-09 4:42 
AnswerRe: Need help Pin
leckey30-Sep-09 6:08
leckey30-Sep-09 6:08 
AnswerRe: Need help Pin
S.Dhanasekaran1-Oct-09 3:10
S.Dhanasekaran1-Oct-09 3:10 
QuestionIIS treating .html pages as .aspx pages Pin
laziale30-Sep-09 3:47
laziale30-Sep-09 3:47 
AnswerRe: IIS treating .html pages as .aspx pages Pin
Abhijit Jana30-Sep-09 4:22
professionalAbhijit Jana30-Sep-09 4:22 
AnswerRe: IIS treating .html pages as .aspx pages Pin
Kannan Ar30-Sep-09 4:24
professionalKannan Ar30-Sep-09 4:24 
AnswerRe: IIS treating .html pages as .aspx pages Pin
Abhishek Sur30-Sep-09 10:44
professionalAbhishek Sur30-Sep-09 10:44 
I never tried it with HTMLs but Check by following the process below :

Go to IIS console, Right click on Website, - > Go to properties.
Move to Tab Page : Home Directory
Click on Configuration.
In the Mappings Tab click on "Add".
In Executable Choose "aspnet_isapi.dll". (You will find this in DefaultDrive:\windows\Microsoft\Framework\2.0)
In the Extension type "html"
Now click OK.

In your webconfig of your website, create an entry for HTTPHandler which handles HTML extension.
You can use this article to remove extra whitespaces and apply GZip Compression to your html.

http://www.codeproject.com/Articles/38067/Compress-Response-and-HTML-WhiteSpace-Remover.aspx[^]

Just write the response back to the stream.

If HTML extension doesnt work for you, try using any other extensions for your html files, preferably axd. Smile | :)

Hope this solution help you. Rose | [Rose]

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

Questionweb.config file maximum size question? Pin
kuyucakli30-Sep-09 3:12
kuyucakli30-Sep-09 3:12 
AnswerRe: web.config file maximum size question? Pin
leckey30-Sep-09 6:13
leckey30-Sep-09 6:13 
QuestionWhy Don't Change Server Time? (Please Help, It is very urgent) Pin
Hamid Khezeli30-Sep-09 2:57
Hamid Khezeli30-Sep-09 2:57 
AnswerRe: Why Don't Change Server Time? (Please Help, It is NOT urgent) - crosspost Pin
Richard MacCutchan30-Sep-09 3:44
mveRichard MacCutchan30-Sep-09 3:44 
GeneralRe: Why Don't Change Server Time? (Please Help, It is NOT urgent) - crosspost Pin
Hamid Khezeli30-Sep-09 4:08
Hamid Khezeli30-Sep-09 4:08 
GeneralRe: Why Don't Change Server Time? (Please Help, It is NOT urgent) - crosspost Pin
Richard MacCutchan30-Sep-09 6:04
mveRichard MacCutchan30-Sep-09 6:04 
GeneralRe: Why Don't Change Server Time? (Please Help, It is NOT urgent) - crosspost Pin
leckey30-Sep-09 6:22
leckey30-Sep-09 6:22 
GeneralRe: Why Don't Change Server Time? (Please Help, It is NOT urgent) - crosspost Pin
Hamid Khezeli30-Sep-09 8:51
Hamid Khezeli30-Sep-09 8:51 
AnswerRe: Why Don't Change Server Time? (Please Help, It is very urgent) Pin
Vasudevan Deepak Kumar1-Oct-09 2:52
Vasudevan Deepak Kumar1-Oct-09 2:52 
QuestionCalculating Web Service Response Time Pin
prabhakar dwivedi30-Sep-09 1:25
prabhakar dwivedi30-Sep-09 1:25 
AnswerRe: Calculating Web Service Response Time Pin
Abhishek Sur30-Sep-09 2:41
professionalAbhishek Sur30-Sep-09 2:41 
GeneralRe: Calculating Web Service Response Time Pin
prabhakar dwivedi30-Sep-09 3:01
prabhakar dwivedi30-Sep-09 3:01 
GeneralRe: Calculating Web Service Response Time Pin
Abhishek Sur30-Sep-09 5:16
professionalAbhishek Sur30-Sep-09 5:16 
GeneralRe: Calculating Web Service Response Time Pin
prabhakar dwivedi30-Sep-09 21:38
prabhakar dwivedi30-Sep-09 21:38 
GeneralRe: Calculating Web Service Response Time Pin
Abhishek Sur30-Sep-09 22:25
professionalAbhishek Sur30-Sep-09 22:25 
QuestionRe: Calculating Web Service Response Time Pin
prabhakar dwivedi30-Sep-09 23:12
prabhakar dwivedi30-Sep-09 23:12 
Questionwindow.open() --> modify title bar Url Pin
Hemant Thaker30-Sep-09 1:16
Hemant Thaker30-Sep-09 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.