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

F

Frank

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.
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Frank said:
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.
 
Z

Zeba

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 ?
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Yes, slightly more efficient as there is a few objects less to create,
but hardly enough to make a measurable difference.
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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top