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.

View Poll Results: Is ASP.Net better than ASP?

Voters
9. You may not vote on this poll
  • Yes

    9 100.00%
  • No

    0 0%
Results 1 to 12 of 12

Thread: ASP v's ASP.Net

  1. #1
    New Coder
    Join Date
    Jul 2003
    Location
    Perth WA
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ASP v's ASP.Net

    Hi All,

    We are building a site that runs its entire contents from a database backend which will be modified through an administration section on the website. There will also be a user logon area which will allow them to access certain parts of the website and to change the look and feel of the home page including what is displayed on the website. A primary focus on the website is the security of the logged in area. I have decided that it would be best developed in ASP.Net however I am having a little bit of a problem convincing the powers that be that ASP.net is better than straight out ASP to develop this solution (I picked it for the matrix which makes writing it alot easier).

    Can anyone suggest some really strong arguements as to why ASP.net is better than ASP?? (In the absence of really strong arguements I will take weak ones!!)

    Thanks for all your help.

    Cheers

    Vicki
    When I die I want to go peacefully in my sleep - Just like my Grandfather did............not screaming like the passengers in his car......

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    I been programming in ASP and .Net.

    .Net is the way to go in developing applications if you have the choice. An ASP application is messy compared to a .Net application since the code is seperated from the html.

    Most larger companies are moving to .Net. The company I am contracting for is redoing all of there ASP and Confusion pages into .Net. I am having an easier time developing my application in .Net then in ASP since it is easier to reuse code.

    Now people might disagree with me. .Net costs more money up front. You are going to need Microsoft's Visual Studio to do this well. If you have multiple developers, it might get messy since you need multiple places to develop.

    All I can say is start out in .Net if you can, in the future your applications will be going to it. So why start behind..

    I do not have any great arguments.

    Eric

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Pros:
    1. Inheritance
    2. Much more modular (and reusable) code (since it's object oriented)
    3. Stricter code, which means cleaner code (especially with C#, although there are some exceptions where they let some sloppiness creep in, i.e. VB syntax - which means different standards for code formatting!)

    Cons:
    1. .NET learning curve
    2. IDE generates proprietary code (unless you hack it) like all Microsoft products (for instance the generous use of JScript like "document.all" which only works in Internet Exploder).
    3. The price of the IDE (although it's not _required_).

    It's supposed to speed up development - see #1 and #2 for the drawback there, though - in order not to pay $1000 per head (or whatever), you have to learn it really well beforehand. If you're not concerned about cross-browser compliant code, then Visual Studio.NET is the tool for you, and you only have to learn whichever language(s) you want. I prefer to write compliant code, though, which means I'm going to have to learn how to write my own framework (which I've started doing, a little bit, thanks to angiras).

    I still say if you're comfortable with .NET then go with it instead of classic ASP though. I definitely prefer OOP to linear programming personally, anyway. I get to do to little of it at this point.
    Last edited by whammy; 10-24-2003 at 03:32 AM.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wow I posted that while Alien51 was posting apparently. Looks like we agree on a lot of things.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #5
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    whammy, you brought up a good point on strictness....

    Yeah with .Net, you will get murdered if you have a little mistake...Asp can be rough, but .net needs every variable accounted for and a lot of the build in functions need very strict. If it is not Int32 then it will not work.

    All I can say is today, in 1 hour I built a scheduling Calendar that pulled information from a database. It would have taken me a full day to do it in ASP.

    I been coding .Net for about a month, ASP over a year....I can do more in .Net then with ASP. Hardest part was to get the project started.

    Eric

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I thought you were a PHP guy. :P

    Most of the "little mistakes" in .NET can be figured out rather easily though, as long as it's a syntax error.

    LOL, doesn't matter, you've come up with some pretty cool stuff. You should frequent the ASP forums more, I know that I appreciate your input, I still use some of the javascript stuff you've done for reference.

    I know what you mean though, I have built a few console and windows apps that are pretty cool, although simple, in .NET (using C#).

    I still have much to learn regarding the .NET framework - not the language syntax or logic (or even OOP). That stuff is pretty simple, it's Microsoft's implementation of it that throws me - and as you can see from the apps I've messed with, the web stuff is the worst. I'm still trying to figure out how to get .NET to generate code that is compliant, but I WILL figure it out... to me Visual Studio .NET is very similar to FrontPage when it comes to code.
    Last edited by whammy; 10-24-2003 at 04:22 AM.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #7
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    I spend most of my time over on the JavaRanch moderating the html and javascript forums.......Plus I am working hard at wor coding 8 hours a day.....I try to stay away from my computer at night......

    I am working on a php aim-bot that is a bartender......
    Been to lazy to keep updating the database for it.......


    Another Plus is that you can use many languages with .NET....VB,C#,etc..

    Eric

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    LOL, you sound like me... not enough time to learn everything you need to.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    Cincinnati, OH
    Posts
    545
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is some info:
    http://asp.net/whitepaper/whyaspnet....ndex=0&tabid=1

    There is a learning curve but in the long run you would be a lot better with .net. It is a lot easier coding with objects then writing redundant procedural vbscript/asp code.
    does this sig match?

  • #10
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XHTML

    this company xhtmlwebcontrols has tried to rewrite all ... for xhtml compatibility

  • #11
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There is one extremely good reason to use ASP.NET instead of ASP that I haven't seen. ASP is obsolete, it's been replaced by ASP.NET and while ASP.NET will get new features and be supported well into the future the clock is now ticking on ASP support, expect bug fixes only from now on.

    To give your application a longer future, you need to go with the current development tools. Also note that the .NET runtime environment has already had several releases and that the current development tools are in their second generation too. This isn't a new technology any more, it's a tried and proven development system with wide support.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #12
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    2.0

    yes Net 2.0 Beta 1 is allready or very soon avalaible


  •  

    Posting Permissions

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