Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    187
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Confusion Over ASP and ASP.NET

    What is the difference? Are there any advantages to one or the other?

  • #2
    New Coder
    Join Date
    Nov 2006
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    From waht I've seen, and given my limited coding knowledge, ASP.NET brings far more to the development table than its forerunner. It incorporates a great many classes and exponentially cuts down on the amount of coding needed to get an application up and running. That's why I chose to plump for ASP.NET, though as I'm discovering, it comes at a price.

    Max01

  • #3
    Regular Coder
    Join Date
    Mar 2006
    Posts
    187
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Ok, but what is the diference in the way that you write it? is it still the same? are they both compatable in the same file ect?

  • #4
    New Coder
    Join Date
    Nov 2006
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In asp I used vb script, whereas with asp.net I'm using vb.net. The latter and c# appear to be the languages of choice for asp.net. Be aware that my codiung knowledge is limited to say the least. As for joint compatibility, I haven't mixed vb script and vb.net, though you can mix vb.net and c#.

  • #5
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    There are not the same, they are not allowed in the same file.

    There are a ton of differences. I can't list them all, but .NET is an entire framework that competes with Java/JSP in terms of scalability, flexibility, and enterprise class performance.
    .NET can make Windows applications (forms and console), web services, web applications, and more. Many tasks can be done almost out of the box using Visual Studio, much more rapidly than Classic ASP.
    Classic ASP is just interpreted VB (rarely, jscript) for web pages, for the most part. You hand code it all, or if you're lucky, you have Dreamweaver canned code that you can modify. It's old, outdated, and should not be chosen for any new things if you can at all help it. It's legacy (old crap) and just doesn't have the power, flexibility, scalability, and scope of .NET.

    The downside to .NET is that it is isn't overly easy to create good stuff without Visual Studio. Technically VS is not required (the web server that serves up your pages needs only the .NET framework to compile and run the code), but there is so much to .NET that you really need the IDE to get the rapid development time that the framework promises.

    Things .NET can do much easier than Classic ASP:
    * Database access and output to a page (datagrid, gridview, repeater controls, etc)
    * Validate form input (Validator controls)
    * File uploads (FileUpload control)
    * Anything dynamic from a database (nearly all controls can be data bound with query results)
    * Tabbed views (MultiView, View controls)
    * New AJAX.NET allows for nearly out of the box coolness like always visible controls (headers stay with user as they scroll, etc), calendars for choosing dates, toggled controls, hovering menus, and more.

    I can think of more but this post would be huge.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #6
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Quote Originally Posted by Max01 View Post
    In asp I used vb script, whereas with asp.net I'm using vb.net. The latter and c# appear to be the languages of choice for asp.net. Be aware that my codiung knowledge is limited to say the least. As for joint compatibility, I haven't mixed vb script and vb.net, though you can mix vb.net and c#.
    No, you cannot MIX them in the same file.
    You can mix them in terms of the fact that once compiled down, both are made into what is called IL, Intermediate Language. The IL is then compiled further into DLLs.
    You can have two classes, one written in VB and one written in C#, which can then call each other's methods, instantiate classes, and work together.

    See this beginner guide:
    http://en.csharp-online.net/.NET_Framework_and_CLR

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #7
    New Coder
    Join Date
    Nov 2006
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    But they can be mixed within the same project can they not?

  • #8
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Studio won't let you; or at least it didn't let ME.
    I've never tried it other than attempting to import some VB into my C# app.
    And when you choose new project, you have to pick a language.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #9
    Regular Coder
    Join Date
    Mar 2006
    Posts
    187
    Thanks
    5
    Thanked 0 Times in 0 Posts
    So where can i get these .net tools and how much?

  • #10
    New Coder
    Join Date
    Nov 2006
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I suggest you download MS's Visual Web Developer 2005 Express from its web site and take it from there. It's free, you just need a valid operating system.

  • #11
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Many tools, including AJAX.NET, do not support the free Visual Editions.
    But they're great to start off to decide if you like it.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #12
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #13
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    Quote Originally Posted by nikkiH View Post
    Many tools, including AJAX.NET, do not support the free Visual Editions.
    But they're great to start off to decide if you like it.
    According to this http://download.microsoft.com/downlo...SPNET_AJAX.wmv video, the Visual Web Developer Express Edition, does support http://ajax.asp.net/.
    I am the luckiest man in the world

  • #14
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Sorry about that, I was thinking of the extenders in the toolkit, since in order to customize classes, you need to use C# or VB.
    As an aside, this is a seriously cool toolkit.

    http://www.codeplex.com/AtlasControlToolkit

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •