| Details | ![]() |
| QuickDocId | 330 |
| Written by | Imar Spaanjaars |
| Posted | 01/02/2005 16:09 |
| Modified | 01/08/2006 14:43 |
| Reviewed | 05/24/2006 21:02 |
| Page views | 3655 |
| Listened to | The Bitter End by Placebo (Track 5 from the album: Sleeping with Ghosts) |
Are you looking to hire an experienced software developer or .NET consultant? Then get in touch with me through my company's web site at devierkoeden.com
Found an interesting article on this site? Got inspired by something you read here? Then consider making a donation with PayPal.
This is the first part of a (long running) article series about migrating a .NET 1.x Web site to ASP.NET 2. I'll show you how to take an existing site, and upgrade it to ASP.NET 2. As an example, I'll be using my own web site, Imar.Spaanjaars.Com, show you how I have designed and implemented the currently existing features, and how they can be upgraded to take advantage of the new ASP.NET 2.0 Framework. I won't be describing each and every feature in great detail, but instead focus on general concepts and techniques, and provide links to other articles with more in-depth information.
Each article starts with a little background about one of the new ASP.NET 2 features, like Master Pages, the new Login controls, the Provider Model, Skins, and so on. Next, I'll discuss how I implemented similar behavior in my current site, or how I managed to live without it. Then I'll explain how the new features work and how you can use it in your ASP applications. At the end of the article, I'll show you how I implemented the feature in my own site.
Read Part 1 - Introduction
Read Part 2 - Setup and Master Pages
Read Part 3 - Business Logic, Content Pages and User Controls
Read Part 4 - Implementing Custom Providers for Membership, Role Management and Profiles
Read Part 5 - It's the little things...
As usual, first things first! Although my site isn't very large, it's a good idea to do some planning, so it's easier to spot potential (migration) problems right in the beginning. Just making a copy of my own Web site and then configure IIS to use the new 2.0 Framework will probably work, as ASP.NET 2 is supposed to be fully backwards compatible. However, to take full advantage of the new possibilities, I'll have some upgrading (and thus coding) to do.
Right now, I have the following "migration path" in mind:
For each page, control, or functionality that I am migrating, I'll have to consider the advantages that the new ASP.NET 2 Framework gives me. Although all those shiny new controls look really attractive and easy to use, I also believe in "If it ain't broke, don't fix it". There is a lot of stuff in my site that works as it's supposed to, so why bother changing it to the new ASP.NET 2 world? With each design decision, I'll try to argument why I decided to leave things as is, or why I used new features from the ASP.NET 2 Framework.
Wonder where to go next?
You can post a comment on this article.
Consider making a donation
Please consider making a donation using PayPal. Your donation helps me to pay the bills so I can keep running Imar.Spaanjaars.Com, providing fresh content as often as possible.
| QuickDocId | 330 |
| Full URL | http://imar.spaanjaars.com/330/migrating-to-aspnet-2-part-1-introduction |
| Short cut | http://imar.spaanjaars.com/330/ |
| Written by | Imar Spaanjaars |
| Date Posted | 01/02/2005 16:09 |
| Date Last Updated | 01/08/2006 14:43 |
| Date Last Reviewed | 05/24/2006 21:02 |
| Listened to when writing | The Bitter End by Placebo (Track 5 from the album: Sleeping with Ghosts) |
Talk Back! Comment on Imar.Spaanjaars.Com
I am interested in what you have to say about this article. Feel free to post any comments, remarks or questions you may have about this article. The Talk Back feature is not meant for technical questions that are not directly related to this article. So, a post like "Hey, can you tell me how I can upload files to a MySQL database in PHP?" is likely to be removed. Also spam and unrealistic job offers will be deleted immediately.
When you post a comment, you have to provide your name and the comment. Your e-mail address is optional and you only need to provide it if you want me to contact you. It will not be displayed along with your comment. I got sick and tired of the comment spam I was receiving, so I have protected this page with a simple calculation exercise. This means that if you want to leave a comment, you'll need to complete the calculation before you hit the Post Comment button.
If you want to object to a comment made by another visitor, be sure to contact me and I'll look into it ASAP. Don't forget to mention the page link, or the QuickDocId of the document.
For more information about the Talk Back feature, check out this news item.
Whoooops!!
Unfortunately, something went wrong and your message or comments have not been submitted successfully.
There's a fair chance things broke down because you tried to post something that looks like HTML. Things that look HTML include (X)HTML, obviously, XML, ASP.NET markup and c# generics syntax as all of them use the < and > characters.
If that's the case, try altering your message and remove anything that looks like an angled bracket. You can replace them with [ and ] for example so you can still make it look like HTML to some extend.
If, on the other hand, you were trying to spam this web site, I am pretty glad I caught you in the act and stopped you from doing so ;-)
The number you entered is not correct. Please enter the sum of the two numbers again.