Solved

What is the best way to transition from Classic ASP development to .net development?

Posted on 2008-10-02
3
245 Views
Last Modified: 2013-11-08
Hi,

We develop web sites/application using classic ASP & SQL Server 2005. We are looking to migrate to a .net platform, but would like some insight on the best transition path. .Net offers a lot more variety and languages and we want to know what others went through in their transitions.

Thanks.
0
Comment
Question by:BuddhaNature
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
onemancat earned 250 total points
ID: 22628853
It was a bit of a rough learning curve for me.  Being from a C background, I was so happy about getting strong data types in C#, not having to worry about what type my VBScript "Variant" really was.  I think if you've been using a lot of VB6 COM objects with classic ASP, it won't be as bad as if you were doing everything in VBScript (which I was).
The opportunity to use components that others have written (Microsoft, third party vendors, random peoples' freeware) is a huge bonus, as is the ability to use web services really easily.  The new LINQ stuff can really speed up how you integrate with your SQL Server 2005 database.
My short answer is this: to do the transition right, it will take a lot of hard work, and the best bet is definitely to 1) read an ASP.NET book (e.g., from Wrox), 2) post lots of questions on this site (EE) as you hit big problems, and to me most importantly 3) get your hands on a reference application (Microsoft has some on their web site) that is similar to what you will develop with your first project, and copy it stylistically.
In my view, you really need to be building with at least 3 tiers (VS projects): the ASP.NET project, a Class project for Value Objects (objects that contain only properties to hold data from database), and a Class for Business Layer (objects that contain only methods that operate on value objects and the database).  Many would advocate additional layers, such as one for Data Access, but I find 3 works very well for me.  You then re-use these class libraries all the time, and it just makes everything work so well.
The best way to get started is just to pick a low-risk project, either a new project or a migration, and just do it.  Your team probably won't be super-professional at this until there's been a few projects under your belt.
Best of luck!
0
 
LVL 17

Assisted Solution

by:NicksonKoh
NicksonKoh earned 250 total points
ID: 22630271
After sticking on to many years of hardcore ASP development, I finally switched over the site partially to ASP.NET. Firstly, it is impractical to switch over a nice working system to ASP.NET. The approach I've adopted was to move all new modules to ASP.NET and switch over some existing functionalities to ASP.NET if there are major changes. I also took 1 existing ASP module and switch over to ASP.NET just for the team to get a feel of ASP.NET development.

In the process of conversion, we hit quite a number of issues such as pushing session variables across from ASP to ASP.NET pages, ole db driver issues, language issues due to the differences in encoding of asp and asp.net pages, handling gobalization parameters, switching over includes files, etc... After resolving these many issues, I was then confident that my team could handle all new projects in ASP.NET.

As for my feel on ASP.NET. Moving to ASP.NET was a good opportunity to improve some of the bad techniques that I've employed in ASP. I like the web services, I like the re-usability of codes through app_code and custom controls. I like strong typing. But still on the front end, i.e. as far as the end users are concerned, there wasn't any significant difference, of which I have similar notion.

Lastly, I have a VB team and so naturally, we just stick to VB.NET. I am personally not so bothered with whether which language is better because they both really can serve the same objective.

Good Luck to you.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Generate Unique ID in VB.NET 21 105
Get sourcecode path 14 48
SSIS GUID Variable 2 39
.Net remove carriage returns, line feeds and tabbs 5 20
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question