Re: ASP vs ASP.NET

From: Laura K (klkazanAT_at_ATcharter.net)
Date: 11/20/04

  • Next message: Bob Barrows [MVP]: "Re: ASP vs ASP.NET"
    Date: Sat, 20 Nov 2004 12:45:15 -0800
    
    

    To clarify why in asp.net you are replacing HTML with ASP controls there is
    a simple answer. HTML code is client side. That means you are at the mercy
    of the browser. Different browsers render different pieces of code
    differently and you can not control the output without complicated code that
    detects the different browsers and renders you page appropriately.

    With asp.net the same objects like textboxes, drop downs etc are created on
    the server side. This means it does not matter what browser you are using
    they will look like you want them. Also with asp.net you have more control
    over how the controls will look. For example background colors, sizes etc.
    Of course I believe CSS is a better option for these things.

    As for other features of ASP vs. ASP.net, comparing the two are like
    comparing the sprout to the jolly green giant (sorry it was the only example
    to come into my head). ASP is a scripting language with a lot of
    limitations. ASP.NET is a full blown OOP. You have an incredible amount of
    options already provided for you that you would otherwise have to hand code
    in ASP 3.0. ASP.NET provides controls that you can grab and use.
    Unfortunately there are so many different options in ASP.NET it is sometimes
    impossible to know what is available. So keep asking on message boards.

    Now I am still learning all I can about ASP and it has been tough. I have
    so far taken two graduate level courses in VB.NET and I am still suffering
    but I believe it will be worth it. I think a major thing about moving over
    to ASP.NET is it takes more hard core programming skill while almost anyone
    can get by in asp.

    One last thing. I can not remember where on the Microsoft site I saw this
    but asp 3.0 will no longer be supported within a few years. Why create a
    website that you know will be obsolete soon when you can create something
    state of the art instead.

    Laura K

    "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
    news:%23iMXC%23pzEHA.1308@TK2MSFTNGP09.phx.gbl...
    >I was recently looking at a page about transitioning from ASP 3.0 to
    >ASP.NET. (The page I was looking at is located at
    >http://www.4guysfromrolla.com/webtech/041601-1.shtml ). It looks to me like
    >they are taking away what has always seemed to me like the beauty of ASP. I
    >always viewed the beauty of ASP as giving you the ability to fill in the
    >dynamic areas without the need to change your HTML layout techniques. But
    >ASP.NET seems to be trying to make you replace all HTML elements with
    >ASP.NET code. For example, on the page I mentioned, notice how ASP.NET code
    >is used to create the submit button even though the submit button does not
    >have any dynamic areas. Also, when initially designing a page, I have
    >always preferred to create it with HTML to make it look the way I want and
    >then replace the dynamic areas with ASP. And just out of curiosity, for
    >anyone who might know, will the "View Source" look the same? Because this
    >is one of the primary tools to make sure the code is producing what I want,
    >I need this to look the same as it would using ASP. Does anyone else have
    >an opinion on whether ASP.NET is really better? Even though I have not yet
    >learned much about coding in ASP.NET, what I have seen makes me lean
    >towards ASP 3.0.
    > --
    > Nathan Sokalski
    > njsokalski@hotmail.com
    > www.nathansokalski.com
    >


  • Next message: Bob Barrows [MVP]: "Re: ASP vs ASP.NET"
    Loading