469,963 Members | 1,776 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 developers. It's quick & easy.

Convert htm pages to aspx pages

I have a website that currently has all static htm pages and nothing will be
dynamic for quite some time. This site is made up of a bunch of htm pages.
is there any advantage or disadvantage of converting them to aspx pages? We
are using VS 2005 and .net 2.0.

Thanks.

--
mo*******@nospam.nospam
Dec 15 '05 #1
5 6056
if you're not going to need any dynamic capabilities on those pages,
and they already do pretty much what you want, i suggest just leaving
them as is.

i guess a broader assortment of web design tools are designed to work
efficiently with htm pages than with aspx pages, so you have more
flexibility if you just leave them alone until you need to make them
dynamic.

also, if you go to the (albeit small) trouble to modify them to become
..aspx, test that they still work right, and then you never actually
need dynamic functionality on those pages, you've just wasted your
time/effort.

just my 2 cents' worth. good luck.

:-)

Dec 15 '05 #2
Thanks for Albert's informative inputs.

Hi Moondaddy,

If there is no particular dynamic content generation in your web site, just
leave your website purely static, there is no need to convert them to
ASP.NET pages.... ASP.NET page just provide powerful support on
generating dynamic content, data-driven pages... And from performance
perspective, static html files has much better perofmrances since they
don't require ASP.NET runtime to process (directly served by IIS server)
and they can also be cached through http cache on clientside......

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "albert braun" <bc***********************@yahoo.com>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Convert htm pages to aspx pages
| Date: 14 Dec 2005 22:31:12 -0800
| Organization: http://groups.google.com
| Lines: 18
| Message-ID: <11*********************@g14g2000cwa.googlegroups. com>
| References: <OG**************@TK2MSFTNGP12.phx.gbl>
| NNTP-Posting-Host: 70.35.22.122
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1134628278 22560 127.0.0.1 (15 Dec 2005
06:31:18 GMT)
| X-Complaints-To: gr**********@google.com
| NNTP-Posting-Date: Thu, 15 Dec 2005 06:31:18 +0000 (UTC)
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe)
| Complaints-To: gr**********@google.com
| Injection-Info: g14g2000cwa.googlegroups.com; posting-host=70.35.22.122;
| posting-account=qMcXTA0AAAAwadJ2vD7X2UDVwMpIlPhs
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.d ca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g14g2000cwa.googlegrou ps.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:365011
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| if you're not going to need any dynamic capabilities on those pages,
| and they already do pretty much what you want, i suggest just leaving
| them as is.
|
| i guess a broader assortment of web design tools are designed to work
| efficiently with htm pages than with aspx pages, so you have more
| flexibility if you just leave them alone until you need to make them
| dynamic.
|
| also, if you go to the (albeit small) trouble to modify them to become
| .aspx, test that they still work right, and then you never actually
| need dynamic functionality on those pages, you've just wasted your
| time/effort.
|
| just my 2 cents' worth. good luck.
|
| :-)
|
|

Dec 15 '05 #3
"moondaddy" <mo*******@nospam.nospam> wrote in message
news:OG**************@TK2MSFTNGP12.phx.gbl...
is there any advantage or disadvantage of converting them to aspx pages?


None whatsoever.
Dec 15 '05 #4
You guys are thinking like programmers -- there is a different answer if you
think like a designer:

Yes.
By converting you can take advantage of master pages, menus, and even use
the grid objects to format your data and make it sortable. Although these are
designed for dynamic content, they can add value to static content, as they
make the maintenance easier.

Is this worth the performance hit and the effort to convert? That is up to
you.
Are there other tools that would do the same thing for you? Sure. But then
if you ever do want to integrate a .NET app, you are using two different
tools.

So my answer would be that converting would not change your world or
anything, but there are some benefits, and it would be up to each individual
to measure the pros/cons and make their own decision.

"Mark Rae" wrote:
"moondaddy" <mo*******@nospam.nospam> wrote in message
news:OG**************@TK2MSFTNGP12.phx.gbl...
is there any advantage or disadvantage of converting them to aspx pages?


None whatsoever.

Dec 15 '05 #5
Thanks. This sounds about right. My main reason for asking is to get my
arms around the situation for a better understanding as this is my first 2.0
project. I had 3 points of interest to use aspx pages; 1) to check out
asp.net 2.0, 2) to use master pages for ease of maintanence, and 3) later we
will wire up a db for dynamic content.

Thanks for all the feedback above!

--
mo*******@nospam.nospam
"Dave" <Da**@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...
You guys are thinking like programmers -- there is a different answer if
you
think like a designer:

Yes.
By converting you can take advantage of master pages, menus, and even use
the grid objects to format your data and make it sortable. Although these
are
designed for dynamic content, they can add value to static content, as
they
make the maintenance easier.

Is this worth the performance hit and the effort to convert? That is up to
you.
Are there other tools that would do the same thing for you? Sure. But then
if you ever do want to integrate a .NET app, you are using two different
tools.

So my answer would be that converting would not change your world or
anything, but there are some benefits, and it would be up to each
individual
to measure the pros/cons and make their own decision.

"Mark Rae" wrote:
"moondaddy" <mo*******@nospam.nospam> wrote in message
news:OG**************@TK2MSFTNGP12.phx.gbl...
> is there any advantage or disadvantage of converting them to aspx
> pages?


None whatsoever.

Dec 15 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Alan Silver | last post: by
3 posts views Thread by Mike Dee | last post: by
17 posts views Thread by Rob R. Ainscough | last post: by
2 posts views Thread by CCY | last post: by
2 posts views Thread by ramya.salva | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.