Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > difference between asp and asp.net

Reply
Thread Tools

difference between asp and asp.net

 
 
ScooterMX
Guest
Posts: n/a
 
      02-04-2005
Short version, what are the differences?

Can I write regular asp and have it work on .net ?


 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      02-04-2005
Think of ASP as a Cessna single-engine airplane. Now, think of ASP.Net as a
Boeing 747. They both fly. They both have wings. They both have a throttle.
Other than that, they have very little in common. And it takes a lot more
training to fly a 747.

ASP and ASP.Net both handle HTTP Requests, and can send HTTP Responses. How
they do it is entirely different, however. ASP is procedural and scripted.
ASP.Net is object-oriented and compiled. ASP can do a little. ASP.Net can do
whatever you can imagine.

> Can I write regular asp and have it work on .net ?


If you're both stupid and lucky, yes. Should you? NO.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ScooterMX" <(E-Mail Removed)> wrote in message
news:iWPMd.465$(E-Mail Removed). ..
> Short version, what are the differences?
>
> Can I write regular asp and have it work on .net ?
>
>



 
Reply With Quote
 
 
 
 
DalePres
Guest
Posts: n/a
 
      02-04-2005
You can, in the IIS administration tools, configure your .Net web server to
process ASP pages. When you installed the .Net Framework ASP handling
normally is disabled. As Kevin said, you probably shouldn't do this unless
there are overriding reasons to do so. If there were no instances where it
was desirable, Microsoft probably wouldn't have built in the capability so
don't take the statement as absolute. You can, but try everything else
first.

Often times, you may find that your ASP pages will work with little
modification as well. Many of the same constructs work between both ASP and
ASP.Net. You can change the extension on an ASP page to ASPX and try it.
Usually there will be some debugging but it should be relatively intuitive.

One thing that breaks the whole thing is if you have ASP forms that post to
different pages rather than back to itself. But then, Microsoft has
recommended against that since ASP 2.0.

A much less intuitive item that will prevent your ASP pages from easily
migrating to ASP.Net is if the ASP pages use multiple forms. ASP.Net is a
jealous master and does not like to share forms.

Good luck,

DalePres
MCAD, MCDBA, MCSE

"ScooterMX" <(E-Mail Removed)> wrote in message
news:iWPMd.465$(E-Mail Removed). ..
> Short version, what are the differences?
>
> Can I write regular asp and have it work on .net ?
>
>



 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      02-04-2005
only if you code the pages in javascript. in this case its easy to make
pages work in both enviroments. there are just a few rules to follow.

1) declare public vars in <% %>
2) declare public functions in <script runat=server>
3) only function defs (no inlinecode) allowed in <script runat=server>

-- bruce (sqlwork.com)




"ScooterMX" <(E-Mail Removed)> wrote in message
news:iWPMd.465$(E-Mail Removed). ..
| Short version, what are the differences?
|
| Can I write regular asp and have it work on .net ?
|
|


 
Reply With Quote
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      02-04-2005
If you're starting a new project, you should certainly choose ASP.NET over
ASP.
It is far superior in virtually every way.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"ScooterMX" <(E-Mail Removed)> wrote in message
news:iWPMd.465$(E-Mail Removed). ..
> Short version, what are the differences?
>
> Can I write regular asp and have it work on .net ?
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 04-15-2011 04:00 AM
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 01-06-2011 05:00 PM
A url for learning the difference between ASP 1.1 and ASP 2.0 mchung_pc@hotmail.com ASP .Net 2 05-12-2005 05:15 PM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM
Exact difference between 'const char *' and 'char *', also diff between 'const' and 'static' Santa C Programming 1 07-17-2003 02:10 PM



Advertisments