Tuesday, November 16, 2010

What should I be aware of for a migration from VB.NET 2003 to VB.NET 2008?

Hey all,



I've been asked to take a very large program and migrate it to the lastest version of VB.NET. How big a project is this and are there any things I should look out for or plan for?



Any tips/tricks/ideas?



Thanks in advance!What should I be aware of for a migration from VB.NET 2003 to VB.NET 2008?
As stated above, the project converter will take care of this for you.



The only caveat I can think of offhand is if your 2008 application references a 2003 web service. In that case, you'll want to make sure your 2003 web service runs as a .NET 2.0 or 3.5 application (you can change this in IIS).What should I be aware of for a migration from VB.NET 2003 to VB.NET 2008?
any one idea about how to download .net 2008

Report Abuse


You shouldn't have any problem migrating it. Visual Studio 2008 will have a wizard that will ask you a few questions before doing so.
The simple conversion will not be to bad. That being said there have been numerous things added that will make the program ';better';. Generics would be one aspect that you might look into adding in. Also you might consider replacing all of the manual dispose with using statements and let all of that be handled in a more efficient manner. Depending on the application you might benefit from some of the features added in 2008 as well such as LINQ etc. Also my experience has shown that there were people using direct sql statements in 2003. I would like to believe that they are all gone now but that is a different question. Make sure that all of your data calls are coming through procedures if that is not something already in place. Other than that bring good coding practices up and maybe change everyplace that you get a warning telling you there is a new way to do something and you should be fine.

No comments:

Post a Comment