Problem in Upgrading from .net2003 to .net2005
-
I have a web site written with visual studio .net2003 (c#). I installed the professional version of the visual studio .net2005 and upgrade the web project. After the upgrade conversion, I did not see the bin directory under the web directory. I tried to create a new web site using the 2005, I did not see the bin directory either. So what happened. The actual web site is hosted by a web hosting company and I can only access the web root dir using ftp or front page extension. After I upgrade the web and rebuild the project on my local computer, then I transfered everything to the remote site. Some of the web page can not be opened. Could someone help me how to resolve my problem. Thanks a lot in advance. pingtian@comcast.net
-
I have a web site written with visual studio .net2003 (c#). I installed the professional version of the visual studio .net2005 and upgrade the web project. After the upgrade conversion, I did not see the bin directory under the web directory. I tried to create a new web site using the 2005, I did not see the bin directory either. So what happened. The actual web site is hosted by a web hosting company and I can only access the web root dir using ftp or front page extension. After I upgrade the web and rebuild the project on my local computer, then I transfered everything to the remote site. Some of the web page can not be opened. Could someone help me how to resolve my problem. Thanks a lot in advance. pingtian@comcast.net
pingtian wrote:
After I upgrade the web and rebuild the project on my local computer, then I transfered everything to the remote site.
There is a step missing. Did you test it on your local machine first? Did you even run it on your local machine?
Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos
-
I have a web site written with visual studio .net2003 (c#). I installed the professional version of the visual studio .net2005 and upgrade the web project. After the upgrade conversion, I did not see the bin directory under the web directory. I tried to create a new web site using the 2005, I did not see the bin directory either. So what happened. The actual web site is hosted by a web hosting company and I can only access the web root dir using ftp or front page extension. After I upgrade the web and rebuild the project on my local computer, then I transfered everything to the remote site. Some of the web page can not be opened. Could someone help me how to resolve my problem. Thanks a lot in advance. pingtian@comcast.net
.net 2005 uses a different compilation mode, called dynamic compilation. In .net2003, the compilation was handled by Visual Studio and the result was a dll in the bin folder. With .net2005, ASP.NET handles the compilation "on-the-fly" and therefore there is no dll. But there is a new add-in (now part of Visual Studio 2005 SP1) called Web Application Projects which allows you to use the same compilation mode used in .net2003; a dll is compiled by VS and placed in the bin folder. One major reason for the creation of this add-in was to assist in the upgrading of .net2003 projects to .net2005. http://ASP.NET has an article regarding the Web Application Projects on there home page.