.NET v1.0 / .NET v1.1 Deployment Q

G

George Durzi

My production environment is running my web application using v1.0 of the
..NET Framework. I've upgraded my development environment to v1.1 and Visual
Studio 2003. At this time, my project doesn't use any v1.1 specific
features.

I've made updates to my application, and need to re-deploy it to my
production server.
Should I:

1. Upgrade my production server
- Install v1.1 on my production server
- Copy over the new bin and code to the production server
- Specify for my web application to use v1.1 by
- going to WindowsDirectory\Microsoft.NET\Framework\v1.1.4322\
- aspnet_regiis -sn W3SVC/1/ROOT/myWebApp
- source for this is KB Article http://support.microsoft.com/?id=820106

OR

2. Do not upgrade production server
- Copy over new bin and code to the production server
- Specify for my web application to use v1.0 by
- going to WindowsDirectory\Microsoft.NET\Framework\v1.0.3705\
- aspnet_regiis -sn W3SVC/1/ROOT/myWebApp

Will #2 work? My assumption is that since my code doesn't use v1.1 features,
that it should. I wanted to verify my assumption first. Thanks!!
 
R

Ron Vecchi

I would go with upgrading production to 1.1. Why limit yourself to only
1.0. Both versions run side-by-side if im not mistaken. I would read up a
little on some of the problems people have had in news group posts during
upgrade.

One thing I ran into when upgrading was the ValidateRequest directive is set
to true. This meant that any form that takes user input and has special
characters(not exactly sure which chars) in the input would throw an
exception. Basically ValidateRequest is a way to make sure that SQL
injections and other types of attacks can't be made from your input fields.
I had to diable ValidateRequest setting it to false in the pages that I
wanted to allow any characters to be passed from the UI. Of course I make
sure in my code to handle any such type of injection.
 
G

George Durzi

Ron,
Thank you, that was exactly the kind of feedback I was looking for.
At this time, I'd like to deploy the application and not have to worry about
a bnuch of little incompatibilities or fixes. I'm gonna go research this
ValidateRequest issue before upgrading.

thanks!
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top