473,473 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Upgrading HTML to ASP.NET 2.0

Hello All,

Newbie question alert!

We have a website that we want to eventually convert from pure HTML to
ASP.NET pages. Unfortuantely, we cannot do this all at once, but rather,
will likely do so over time.

The question is: can we use our existing HTML files as content in a Master
page? If so, how?

Thanks,
PAGates
Sep 12 '06 #1
2 1243
"pagates" <pa*****@discussions.microsoft.comwrote in message
news:90**********************************@microsof t.com...
The question is: can we use our existing HTML files as content in a Master
page?
Not natively. The Master / Content relationship requires .aspx and .master
files because they need to be processed by ASP.NET and rendered into HTML to
be streamed down to the client.

Even if you were to rename your .html files to .aspx, you would still get
lots of errors because content pages can't contain page markup like <html>,
<head>, <bodyetc.

You could, I suppose, strip off the page markup from your HTML files and
then surround the remaining content with <asp:Contenttags, or even write
some sort of routine which did this at runtime on the fly...

However, unless you have thousands of HTML pages, it's probably quicker in
the long run to bite the bullet and convert them to content pages.

Once you've done a couple, you'll realise that it's quite a simple process.

How many HTML pages are we talking about, AAMOI...?
Sep 12 '06 #2
We have a website that we want to eventually convert from pure HTML to
ASP.NET pages.
It doesn't really work that way.

What you need to do is migrate your content from a static site to a site
runing asp.net. Likely some sort of asp.net content management system, I
imagine.

Point being, you're likely not going to use much, if anything of the old
site other than the content. It'll likely be a lot of cutting and pasting
and manual clean up of the content and then importing that into the new
application that you build.

It will likely make more sense to do it en masse rather than bit-by-bit.

-Darrel
Sep 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Michael Foord | last post by:
http://www.voidspace.org.uk/python/articles/upgrading_python.html I've been looking at whether to upgrade immediately from Python 2.3 to Python 2.4 or postpone it. This is my first `major version...
1
by: JT | last post by:
Hello everyone, I'm currently running MySQL 3.23.41 and have been happily doing so for a good while, but now I need to be able to run subqueries and for this I need to upgrade to 4.1. Can anyone...
2
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward...
1
by: Thomas | last post by:
Hallo. Habe auf einem SeSE 9.1 Server due neue MySQL 4.1.11 und den dazugehörigen client installiert. #: mysql -V mysql Ver 14.7 Distrib 4.1.11, for pc-linux-gnu (i686) Soweit so gut der...
5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
0
by: Eric Sassaman [MS] | last post by:
Online Chat: Upgrading COM Applications to .NET with Visual C++ 2005 Many applications consume and expose COM interfaces as their object models today. And .NET has tools such as tlbimp, tlbexp...
0
by: Eric Sassaman [MS] | last post by:
Online Chat: Upgrading COM Applications to .NET with Visual C++ 2005 Many applications consume and expose COM interfaces as their object models today. And .NET has tools such as tlbimp, tlbexp...
2
by: Carlos Costa Portela | last post by:
Hello all! I've upgraded postgresql from 7.2 to 7.4, and my data dir has changed a lot: S.ficheros Tamaño Usado Disp Uso% Montado en /dev/hda1 1.9G 1.8G 64M 97%...
5
by: Shiraz | last post by:
my question is can i just install the new version of mysql, stop the old, point the data directory for the new one to the data directory and just start up mysql 5? or do i need to take some extra...
6
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.