I have a large ASP.NET 1.1 website. It has two C# class libraries and one ASP.NET web application project. The Data Access Layer uses Enterprise Library June 2005 for Database operations and logging. It also uses several other external DLL's.
Can one or two of the pages of the existing site be converted to ASP.NET 2.0 for testing purposes before converting the whole site?
Please click "Mark As Answer" if this helped in solving your problem.
Not unless you setup a new site. IIS cannot run both version of the framework for the same website. You have to select one or the other. I have used 3.5 version business layer in a 2.0 web project. I think you can upgrade the site and live the Business
Layer alone.
If I open the solution file of ASP.NET 1.1 in VS2005, it would start the conversion wizard. Is there a way to convert only a page or two of the Presentation Layer converting the code behind to partial classes using the conversion wizard, or a couple of classes
of the Business Logic Layer for testing purposes instead of converting the whole site?
Please click "Mark As Answer" if this helped in solving your problem.
So copy your code to back up directory and run it through the upgarde wizard. The answer to your question is no , you cannot just upgrade part of the site. You could upgrade it by projects if you had your tiers broken into different projects
Yes, I have three tiers. The two C# class libraries and one an ASP.NET Web project. Now, if I want to convert one of the C# class library project tier to 2.0, so I need to open the .csproj file of VS2003 in VS2005 and the conversion wizard will start. This
would convert just that tier. Right.
Please click "Mark As Answer" if this helped in solving your problem.
Yes that is correct, and you should be able to use the dll from that project in your 1.1project. I have only done this with a 2.0 and 3.5 project but I believe the principals are the same. Do not forget to back up your code.
sudipta
Contributor
2274 Points
483 Posts
Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Aug 30, 2008 02:47 PM|LINK
Hi,
I have a large ASP.NET 1.1 website. It has two C# class libraries and one ASP.NET web application project. The Data Access Layer uses Enterprise Library June 2005 for Database operations and logging. It also uses several other external DLL's.
Can one or two of the pages of the existing site be converted to ASP.NET 2.0 for testing purposes before converting the whole site?
codenenterp
Participant
1059 Points
234 Posts
Re: Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Aug 30, 2008 06:37 PM|LINK
Not unless you setup a new site. IIS cannot run both version of the framework for the same website. You have to select one or the other. I have used 3.5 version business layer in a 2.0 web project. I think you can upgrade the site and live the Business Layer alone.
Coden Enterprises
http://www.codenenterprises.com/iblog
sudipta
Contributor
2274 Points
483 Posts
Re: Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Aug 31, 2008 04:45 AM|LINK
If I open the solution file of ASP.NET 1.1 in VS2005, it would start the conversion wizard. Is there a way to convert only a page or two of the Presentation Layer converting the code behind to partial classes using the conversion wizard, or a couple of classes of the Business Logic Layer for testing purposes instead of converting the whole site?
codenenterp
Participant
1059 Points
234 Posts
Re: Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Aug 31, 2008 04:56 AM|LINK
So copy your code to back up directory and run it through the upgarde wizard. The answer to your question is no , you cannot just upgrade part of the site. You could upgrade it by projects if you had your tiers broken into different projects
Coden Enterprises
http://www.codenenterprises.com/iblog
sudipta
Contributor
2274 Points
483 Posts
Re: Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Sep 01, 2008 06:34 AM|LINK
Yes, I have three tiers. The two C# class libraries and one an ASP.NET Web project. Now, if I want to convert one of the C# class library project tier to 2.0, so I need to open the .csproj file of VS2003 in VS2005 and the conversion wizard will start. This would convert just that tier. Right.
codenenterp
Participant
1059 Points
234 Posts
Re: Convert few pages of the current ASP.NET 1.1 website to ASP.NET 2.0
Sep 01, 2008 06:00 PM|LINK
Yes that is correct, and you should be able to use the dll from that project in your 1.1project. I have only done this with a 2.0 and 3.5 project but I believe the principals are the same. Do not forget to back up your code.
Coden Enterprises
http://www.codenenterprises.com/iblog