ASP VB Classic vs ASP.net VB

Aleks
Aleks used Ask the Experts™
on
Given those two programming languages (enviroments). What would the main differences be ?
If i have code in ASP VB can I copy/paste it to an ASP.net VB page and will it work or are there differences in the scripting language ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011

Commented:
If you copy classic asp code into asp.net vb, it will not work.

There are syntatical similarities but the engines are different.

The two languages are very similar, just what I call syntactic sugar differences.

Some people find the transition from ASP to ASP.net very daunting. Others transition more smoothly.

ASP.NET is the next generation of ASP (Active Server Pages) which was introduced in January 2002 by Microsoft.

Since the release of ASP.NET, ASP has been referred to as 'Classic ASP'.

It uses vb script for server side coding, where ASP.NET support more languages which is where VB.NET comes in.

VB Script is a simple scripting language, where as VB.NET is a modern, very powerful object oriented programming language.

For what it is worth, it is widely used by lots of corporations.

Author

Commented:
Thanks. I guess I will have to re-learn. Now .. if I have some code in classic ASP and I was to ask for help would it be rather straight forward have someone here who knows both classic and .net to help out re-do a piece of code ?
Top Expert 2011
Commented:
The biggest challenge classic asp coders have when transitioning to asp.net is the fact that vb.net is object oriented programming language.

Understand that part and you are more than half way through to becoming efficient.

I made that transition but there are still lots to learn.

So, yes, if you have classic asp code that is not awfully complicated, you are going to get help with at least bits and pieces of it that you can put together to get what you are after.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial