Running WebForms in ASP and in ASP.NET at the same time
The new features that WebForms 2010 introduced are not supported for ASP. If you want to continue using your ASP implementation of WebForms, but still use these new features, you can run ASP and ASP.NET alongside each other.
To run ASP and ASP.NET together, install WebForms Server for ASP.NET alongside your existing ASP installation. Then expose content from one site in a Web page from the other site, for example, by exposing ASP.NET content on an ASP Web page in the form of an IFRAME.
The implementation of such a scenario has the following consequences:
The two Web sites have separate sessions, which means that each site has its own session management implementation. To enable session sharing and session tracking if visitors navigate between ASP and ASP.NET pages, some programming is required. The following MSDN (Microsoft Development Network) article describes how you can achieve this:
http://msdn.microsoft.com/en-us/library/aa479313.aspx
- If your Web site requires authentication, each site now has its own signon, meaning that single signon is no longer possible: when a user accesses an ASP.NET page for the first time, he or she must log in again.
Alternatively, you may consider migrating your existing ASP WebForms implementation to ASP.NET. Here are some online resources that can assist you in such a migration:
- http://www.asp.net/Learn/videos/default.aspx?tabid=63#Migrating presents a number of webcasts about migration from ASP to ASP.NET.
- http://www.asp.net/downloads/archived/migration-assistants/asp-to-aspnet/ refers to the ASP to ASP.NET Migration Assistant, a Microsoft software component that can automate a part of the migration process.