asp.net to 2.0

J

JJ

Right now, I have visual studio 2005 installed on my development server.
Currently the production asp.net application is running with 1.1 model. I
would like to convert my application to 2.0 in my development server and
deploy it to production (production server will have .net 2.0 installed but
not the visual studio 2005). How do I go about doing this?

Thanks
 
D

David Wier

In vs.net 2005, there is a conversion utility, if you open your 1.1 project
in vs.net 2005, it will convert it for you, and anything that wasn't
converted, you will get a message concerning that item - - if that list has
any items in it, you will need to address each item manually

depending on the size of your project, and how you coded certain items, this
could be an easy or a daunting task...Sometimes, if you have a long enough
list of these items, you might be better off starting from scratch...
:)
 
M

Mark Rae

Right now, I have visual studio 2005 installed on my development server.
Currently the production asp.net application is running with 1.1 model. I
would like to convert my application to 2.0 in my development server and
deploy it to production (production server will have .net 2.0 installed
but not the visual studio 2005). How do I go about doing this?

1) Install SP1 for VS.NET 2005 if you haven't done so already.

2) Open up your v1.1 project in VS.NET 2005 and let the upgrade wizard
convert it for you.

3) Fix any errors which the upgrade wizard highlighted.

4) Test.

5) Install v2 of the .NET Framework on the server.

6) Deploy.

7) Return to the development project and look at ways you can improve it
using the new or updated functionality in ASP.NET 2

Some things to consider would be:

updating your DataGrids to GridViews

using System.Net.Mail instead of System.Web.Mail

using generics

MasterPages

XHTML compliance
 
J

JJ

I guess, I wan't clear enough.....the point was not to install visual studio
2005 in the production server and use development server to convert the
applicaition to 2.0 and deploy it to production.

I guess I am a little confused about the precompilation. Once I do the
procompilation at the development server, do I delete the virtual directory
in the production server and replace it with the folder created by the
precompilation?
 
C

Cowboy \(Gregory A. Beamer\)

There are 1.1 to 2.0 wizards in VS 2005. As David has mentioned, they are
hit or miss, depending on your own coding practices. In my sites, I have had
few problems converting, your mileage may vary.

There are few breaking forward changes from 1.1 to 2.0. Expect a little bit
of clean up when you migrate, however, as the wizards are not perfect and
you could well be a fringe condition. This is normal for any migration, of
course.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
 
J

JJ

When you say deploy (step 6), are you just copying over the files to the
production server?
J
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top