Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Upgrading From Classic to .net - Questions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Upgrading From Classic to .net - Questions

 Post Reply Post Reply
Author
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Topic: Upgrading From Classic to .net - Questions
    Posted: 23 October 2008 at 8:39pm
Hi,

I've been looking around on the web for variant things to explain to me why upgrading to ASP.net from classic ASP is a good idea.  Now the best points put across are as follows:
  • Future of web development
  • Ado.net means that database connections are never kept open when working with datasets.
  • Compiled rather than interpreted language which translates to quicker load times.
  • Event driven programming.
  • User authentication, with accounts and roles
  • XML based language
And now counter arguments:
  • No plans for phasing out classic ASP in the near future
  • Ado also allows for the same principals of hitting a database getting data and closing the database again as shown by the following function:

Function fn_DatabaseGrabrows(strConnection, strSQL)

set rs = getRSet(strConnection, strSQL)

fn_DatabaseGrabrows = null

If NOT rs.eof then fn_DatabaseGrabrows = rs.getRows()

set rs = nothing

End Function

Function getRSet(strConnection, strSQL)

Set ConnX = CreateObject("adodb.connection")

With ConnX

.ConnectionString = strConStr

.Open

.CursorLocation = 3

set RSet0 = .Execute(strExecProc)

End With

Set GetRSet = RSet0

Set ConnX = Nothing

Set RSet0 = Nothing
End Function


  • From what i can see, because ASP.net is pre-compiled adding additional scripts to it such as adding extra pages as you would with the WWF application is not allowed without re-compiling them.
  • The event driven programming is all good but still the basis of any web programming language to update anything from the server is still using postbacks / AJAX.
  • User authentication, aside from the .net passport integration which im guessing could be done using a COM Add-In anyways what part of the .net authentication can't be done using classic ASP.
  • Simple enough to use XML with the XML components, programmable with createobjects.
Theres also been a big thing made about AJAX interactivity alongside the .net framework, when this is simple enough using client side javascript anyways.

Don't get me wrong im not trying to knock the dot net architecture as Im sure it does have a lot of benefits that outweigh classic ASP, I am however trying to figure these out and would like assistance in what I can do in .net that I can't do in classic.

I checked a video out online but after hearing that ASP classic was a single language where ASP.net is one of serveral compiled languages, I didn't take too much notice of the rest of the video as there were quite a few other inaccuracies.

Any help, pointers and guidance would be appreciated and the feedback from people who have migrated from classic to .net would be really helpful.
Back to Top
jamie.townsend View Drop Down
Groupie
Groupie


Joined: 07 December 2007
Location: England
Status: Offline
Points: 114
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamie.townsend Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2008 at 9:56am
I have been a classic developer since early 2001 and have now migrated to .net 6 months ago, along with the company I work for.
 
Now all applications I write (Winforms/Webforms) are all written in C#.
This was obliously not a decision we took lightly and I know Microsoft have mentioned about continual support for classic and the fact that even if they didn't you could still just use the asp.dll from IIS to render all classic pages to the class.
 
However, do you really think putting off a migration to .NET is a smart move ?
As a employee and a employer I am only looking for .NET developers (Even though we do have some classic applications still running).  Also have you tried looking for a classic job lately ?  They are pretty much no existent, the ones you do find all mention migrating to .net.
 
Difference between classic and .net ?
Well as .NET is naturally an OOP language, the first thing I noticed is the power and the re-useablity of all my code.  An example of the BIG difference between the two is addons/components.
 
On a recent project we needed a decent chart program and then we needed to convert the charts to a PDF.  In classic you would have to find a decent host who is willing to install these components or buy an expensive dedicated and register it yourself.   In .NET we bought the components for both chart and pdf and was sent the dll file for each.  All we need to do now is to add the .dll to our project which is as simple as [ Browse > dll file > add to project ] - this now lets me create amazing charts and convert the page to a PDF on the fly - all within a standard shared hosting plan.
 
I personally think that anyone still coding in classic should really sit down one weekend and plan the migration to .NET as you are already many years behind everyone else and the sooner you migrate the sooner you will see .NET in its full glory.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.