Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 01, 2008 06:00 PM by codenenterp
Aug 30, 2008 02:47 PM|LINK
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?
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
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?
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
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.
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.