By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,374 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,374 IT Pros & Developers. It's quick & easy.

Tell me what you think: Changing file etension from .html to .aspx

P: n/a
Joe
Hi,

I have a website with a mix of static (.html) and dynamic pages (.aspx)
pages. I was wondering to change extension .html to .aspx , only to
accommodate future needs of making static pages interactive. I read an
article
http://authors.aspalliance.com/aspxt...spnetpage.aspx
which says that by changing .html etension to .aspx the server will not
overburdened. I use to believe otherwise. Can you tell me what you think?

Thanks,

Joe

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The article says it all really. Nothing is proccessed on the page
unless it has runat="server" in the tag.

Joe wrote:
Hi,

I have a website with a mix of static (.html) and dynamic pages (.aspx)
pages. I was wondering to change extension .html to .aspx , only to
accommodate future needs of making static pages interactive. I read an
article
http://authors.aspalliance.com/aspxt...spnetpage.aspx
which says that by changing .html etension to .aspx the server will not
overburdened. I use to believe otherwise. Can you tell me what you think?

Thanks,

Joe

Nov 19 '05 #2

P: n/a
Well, if you have a static html page, the resulting compiled page class
generated by the runtime will look something like this:

Public Class PageX

Protected Sub Init()
dim local1 as new LiteralControl("<html><head>.......your page
content....</body></html>")
me.controls.add(local1)
End Sub

instead of loading a file, it will execute a method on a class im memory.
"Joe" <Jo*@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
Hi,

I have a website with a mix of static (.html) and dynamic pages (.aspx)
pages. I was wondering to change extension .html to .aspx , only to
accommodate future needs of making static pages interactive. I read an
article
http://authors.aspalliance.com/aspxt...spnetpage.aspx which says that by changing .html etension to .aspx the server will not
overburdened. I use to believe otherwise. Can you tell me what you think?

Thanks,

Joe

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.