473,795 Members | 2,919 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How hard is it to convert from plain HTML Mockup to ASP.NET?

Hi,

Just wondering how much pain is involved in taking an existing website
created with Dreamweaver (mostly just plain HTML + some javascript) then
converting each page to ASP.NET with Code-Behind for each page?

The website is a mockup in plain HTML so there is no database hooked up yet.
I'm assuming plain HTML elements like input text boxes can easily be
replaced using the Visual Studio Designer.

Thanks for any help,
F.M.
Feb 27 '07 #1
3 1590
Frank wrote:
Hi,

Just wondering how much pain is involved in taking an existing website
created with Dreamweaver (mostly just plain HTML + some javascript) then
converting each page to ASP.NET with Code-Behind for each page?

The website is a mockup in plain HTML so there is no database hooked up yet.
I'm assuming plain HTML elements like input text boxes can easily be
replaced using the Visual Studio Designer.

Thanks for any help,
F.M.

You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____
http://www.guffa.com
Feb 28 '07 #2
Would the code be more efficient by leaving html controls as such,
where there is no need to write any code-behind for that control ?
You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____http://www.guffa.com
Feb 28 '07 #3
Yes, slightly more efficient as there is a few objects less to create,
but hardly enough to make a measurable difference.

Zeba wrote:
Would the code be more efficient by leaving html controls as such,
where there is no need to write any code-behind for that control ?
>You can just create a new aspx page for each html page, remove
everything except the @Page tag and just page the existing html code.
This will work, but that doesn't turn any controls into server controls.

You can keep some code including the form tag (with runat="server") from
the aspx page and put the contents from the html page into that. By
adding runat="server" and an id to the form fields, you can access them
from code behind. Or you can replace them with the equivalent web
controls. If this is easier to do in the code or in the designer,
depeneds on how you are used to work with hmtl.

--
Göran Andersson
_____http://www.guffa.com
--
Göran Andersson
_____
http://www.guffa.com
Feb 28 '07 #4

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

Similar topics

7
1381
by: Phil Powell | last post by:
I am one of 95 people on a project bid (I do freelance on the side), and the potential buyer wants for each of us to produce a professional L&F mockup based upon an existing site (http://www.mackay.qld.gov.au) for his particular site (http://www.laidley.qld.gov.au) and I am trying to give him what he wants, except that I am running into a snag: Hiermenus. I am unable to (and honestly unwilling to) purchase even the older versions of...
4
2391
by: Nedo | last post by:
hi is there a simple way to convert a html-string to a plain text-string? thanks Nedo
29
3711
by: Mark B | last post by:
We have an Access app (quite big) at www.orbisoft.com/download. We have had requests by potential users to have it converted to an SQL version for them since there corporate policy excludes them from buying mdb backends. Here's the (million dollar?) questions :) How long and how difficult a process would it be? Which SQL platform would we be best to develop it on?
6
7092
by: Joerg Battermann | last post by:
Hey there, mmmm does anyone know a library or anything I can use to convert plaintext to html real quick and vice-versa? Regex surely would do the trick to a certain level, but maybe there's already a useful library out there which I might have a look at.. Thanks, -J
12
11603
by: Chris | last post by:
Hi, Just wondering if anyone out there knows if it is possible to convert a CSV to xml using XSLT? I've seen a lot of examples of xml to CSV, but is it possible to go back the other way? I don't want to have to use some external program or script to parse the csv first if possible
3
1748
by: Vlad | last post by:
Hi! My task: Take HTML -convert into plain text. Sub-task: 1. Find all urls within HTML (<a href="http://www.abc.com">More about baby bears</a>). 2. And convert them into plain text: More about baby brears (http:// www.abc.com)
1
3723
by: sharmajavaforum | last post by:
Hai, I have a small task. I have an .HTML file. I wanted to convert .HTML file into a plain .txt file. Means after i convert the file, the .txt file should contain only the text rather than the HTML tags information. If you have a solution please guild me. Bi.
8
6204
by: geoffbache | last post by:
I have some marked up text and would like to convert it to plain text, by simply removing all the tags. Of course I can do it from first principles but I felt that among all Python's markup tools there must be something that would do this simply, without having to create an XML parser etc. I've looked around a bit but failed to find anything, any tips? (e.g. convert "<B>Today</Bis <U>Friday</U>" to "Today is Friday")
0
1112
by: John Krukoff | last post by:
-----Original Message----- One method which wouldn't require much python code, would be to run the XHTML through a simple identity XSL tranform with the output method set to HTML. It would have the benefit that you wouldn't have to worry about any of the specifics of the transformation, though you would need an external dependency. As far as I know, both 4suite and lxml (my personal favorite:
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10216
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10002
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9044
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7543
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.