Converting an HTML based site to ASP.NET

Need to make the current HTML site into ASP.NET

Page 1 of 1

10 Replies - 2082 Views - Last Post: 10 December 2008 - 01:34 PM Rate Topic: -----

#1 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 02:06 PM

Hey all,

One quick question. When I create a new site in Visual Web Developer, do I need to put all my old HTML content inside of the <form runat="server"> tag, or outside of it? I have a few books on ASP.NET, but none of them give me this information.

Thanks

This post has been edited by D1gitalIce: 08 December 2008 - 02:14 PM

Is This A Good Question/Topic? 0
  • +

Replies To: Converting an HTML based site to ASP.NET

#2 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 02:36 PM

Inside the Form tag.
Was This Post Helpful? 0
  • +
  • -

#3 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Re: Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 04:28 PM

I guess I don't understand what is going on then.
Was This Post Helpful? 0
  • +
  • -

#4 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 06:27 PM

Post the code that you have and I am certain that we can provide an explanation as to what is going wrong.
Was This Post Helpful? 0
  • +
  • -

#5 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Re: Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 07:15 PM

It is a lot of code lol.

Here is the scoop. I am running a web page for a ski hill, and static HTML just isn't going to serve my needs very well. What I am trying to do is have a news column on the front page that can be updated on a daily basis or by modifying an external file that the website can read and display and dynamically update the snow report from a remote machine at the hill.

I am planning on adding an image gallery, not sure how I am gonna go about that. I would really like to use Lightbox to display the images, but Javascript is just too heavy for my taste, but will use it if needed.

I am kind of at a loss as to how I am going to do all of these things. The main thing right now is having a "dynamic" update to the news and report pages without having to go in and modify an HTML file every single day.

Is ASP.NET really what I am looking for? Or should I be using something else?


Thanks

This post has been edited by D1gitalIce: 08 December 2008 - 07:18 PM

Was This Post Helpful? 0
  • +
  • -

#6 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Converting an HTML based site to ASP.NET

Posted 08 December 2008 - 09:09 PM

ASP.NET will certainly do everything you need it to do, PHP could also serve your purpose.

Developing in ASP.NET is pretty straight forward. However from what you described, I think it would be in your best interest to build it from the ground up. Instead of just pasting existing HTML into it and trying to make it work. Just my 2 cents.

You will be able to achieve a much more scalable site that will be able to grow with any future needs.

You can integrate Ajax controls, these come with Visual Studio or from the AjaxControlToolkit, within the site to provide asynchronous partial page updates. Meaning you can update content in certain areas of the web page without having to render the entire page again.

Geez, I sound like I'm selling the stuff. Anyway, the answer is yes this can do what you need. :)
Was This Post Helpful? 0
  • +
  • -

#7 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Re: Converting an HTML based site to ASP.NET

Posted 09 December 2008 - 09:54 AM

So really all I am doing is just re-writing my HTML layout inside of the <form> tag correct?
Was This Post Helpful? 0
  • +
  • -

#8 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Converting an HTML based site to ASP.NET

Posted 09 December 2008 - 12:18 PM

Yes.
Was This Post Helpful? 0
  • +
  • -

#9 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Re: Converting an HTML based site to ASP.NET

Posted 10 December 2008 - 10:05 AM

I don't really understand why you put it into a <form> tag. My pages layout (header, footer, main column, side column) are not a "form" per say. And all of my current page is written with just <p> tags and such.

How does <form> fit into all of it?

I know Microsoft calls the pages "web forms", but I always thought a form was something a user types text into and has a submit button or something.

Would you be able to explain that to me?

p.s I feel like such a noob asking these questions, but these books really do not give a good explanation how to make the transition from static pages to dynamic.

This post has been edited by D1gitalIce: 10 December 2008 - 10:07 AM

Was This Post Helpful? 0
  • +
  • -

#10 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Converting an HTML based site to ASP.NET

Posted 10 December 2008 - 11:39 AM

You can find a very basic description of the purpose of the Form tag here.
Was This Post Helpful? 0
  • +
  • -

#11 D1gitalIce  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 29-October 08

Re: Converting an HTML based site to ASP.NET

Posted 10 December 2008 - 01:34 PM

I give up lol. It would be much faster for me to just open up the HTML file that I currently have and just add a new set of headline and item tags and be done with it.

I just wish books would give a better explanation of what is actually going on here.

I know XHTML and CSS pretty well, but trying to get dynamic content that can be updated every day is next to impossible without spending months and months reading books.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1