Last time, I speak in UserGroup gathering in 2007 Sept right after MSDN Seminar, the topic was “Experience Sharing: Upgrading ASP.NET 1.x –> 2.0 –> AJAX”. Well, I also promised that i will blog about it. Actually, it is nothing new and it is nothing special. I just shared my experience on how I upgrade ASP.NET 1.1 to 2.0 and how to enable AJAX.
First, I am not sure if you know that, in .NET framework 2.0, there is 2 types of Web Projects, ASP.NET 2.0 Web Site and ASP.NET 2.0 Web Application. You may refer to the following link for more information if you would like to read more.
Introduction to Web Application Projects
If you are going to upgrading your existing ASP.NET 1.x project, you should choose to be using ASP.NET 2.0 Web Application project. This is the message from one of ScottGu’s blog, Tutorial on VB and C# are also mentioned.
“Because the VS 2005 Web Application Project model has the same conceptual semantics as the VS 2003 Web Project Model, it also makes migrating VS 2003 web projects very, very easy – with zero/minimal code changes required. To learn how to automatically upgrade a VS 2003 web project using this option, please review these VB and C# tutorials that walkthrough the VS 2003 to VS 2005 upgrade process step-by-step.”
However, if you want to move your existing ASP.NET 2.0 Web Site to ASP.NET 2.0 Web Application, you may read the following message from ScottGu’s blog,
“If you want to migrate an existing VS 2005 Web Site Project to be a VS 2005 Web Application Project, please also review these other VB and C# migration tutorials that walkthrough the Web Site to Web Application conversion process step-by-step. This article here also describes some of the differences between the VS 2005 Web Site Project Model and VS 2005 Web Application Project Model. “
Q: How can I create ASP.NET 2.0 Web Application Project?
A: Your machine must installed VS2005 with SP1 in order to create ASP.NET 2.0 Web Application Project
Q: I don’t want to install VS2005 SP1 at the moment, any other way?
A: you need the deprecated “Microsoft Visual Studio Web Application Projects” installer you can find it here.
Q: Anything I need to download if I am going to start developing in ASP.NET 2.0 Web Application Project?
A: Available as a separate download is a custom build tool for generating a strongly-typed Profile class for the ASP.NET 2.0 Profile system. This allows you to right-click on a web.config file containing profile declarations and auto-generate the Profile type into your code-behind project assembly. You can learn more about this and download it here.
Q: I would like to read more and the full story on ScottGu blog.
A: Sure, you may go to ScottGu’s blog – VS 2005 Web Application Project V1.0 Released
Q: Any other resource from Microsoft Official link?
A: Sure, here you are, MSDN: Upgrade from ASP.NET 1.x
Q: You mentioned ASP.NET 2.0 to AJAX….
A: Yes, I am going to blog about it later on. Please come back some time for more detail.