ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash



 Top ASP 101 Stories Top ASP 101 Stories
The Top 10 ASP Links @ Microsoft.com
What is Adovbs.inc and Why Do I Need It?
An Overview of ASP.NET

QUICK TIP:
Use Server-Side Script to Write Client-Side Script
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates


An Overview of ASP.NET - Language Support

An Overview of ASP.NET

by John Peterson

Language Support

I stuck this close to the end so that you'd be in a good mood from all the cool stuff before you read this. It's actually a good thing, but it does have a downside.

VB (not VBScript!)

Say goodbye to VBScript! ASP is now written in full-blown VB. That's not so bad now is it? Well hold on... VB has some changes!

Major changes in VB:

  • No more Set and Let
  • No more default properties
  • Parenthesis are now required to call Subs
  • Arguments are now ByVal by default
  • Integer is now 32 bit, Long is 64 bit
  • "And" and "Or" are short-circuited

If you look at the above list... most of the changes make sense, are definite improvements, and are probably long overdue. Unfortunately that doesn't change the fact that much of your existing code isn't going to work!

C# (C Sharp)

Moving right along before the VB changes really sink in... C# is cool! Pardon the pun. (Microsoft's internal code name for it was "cool".) I was trying to come up with a good description of the language and I failed miserably so here you go... taken right from the docs:

NGWS SDK Documentation - CSharp Reference - 1. Introduction:
C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced "C sharp") is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C++.

If you're a VB developer there's probably no reason to switch, but the C++ developers will be jumping for joy. (I don't even use C++ and at the end of the hour long presentation I was thinking about it. If you're a VB person you know that's a scary thought!)

JScript

As far as I know it's the same old JScript. It'll benefit greatly, as VB has from the NGWS runtime and the fact that it's compiled, but beyond that I'm not aware of any major language changes here.

Improved Security | Back to the Index | Web Services


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers