Summary

Snoops

   

 
Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET, and ASP.NET
By Dhananjay  Katre, Prashant  Halari, Narayana  Rao  Surapaneni, Manu  Gupta, Meghana  Deshpande

Table of Contents
Chapter 7.   Migrating to ASP.NET II


Because session state cannot be shared across ASP and ASP.NET, the session object in ASP needs to be replaced with the ASP.NET session object. This isn't much of a task because most of the properties and methods of the ASP session object are supported in .NET.

Caching in ASP.NET is very different from that in traditional ASP. ASP.NET provides a cache object that is a key-value pair object, similar to the session and application objects. It also provides a means to cache the entire response by way of the OutputCache directive added at the start of a page. Partial or fragment caching is also made possible by user controls.

All of the six intrinsic objects in ASP are supported in ASP.NET with some differences in properties, events, or methods of the objects. We list all the properties, events, and methods of ASP objects and whether they are supported, changed, or not supported in .NET. The structural and language changes involve changes in syntax and the manner in which the page is presented.

We have covered all the important functionalities in ASP that can be migrated to ASP.NET across two chapters. We have provided code examples for each functionality in ASP and its equivalent in ASP.NET.


Snoops

   
Top


Migrating to. NET. A Pragmatic Path to Visual Basic. NET, Visual C++. NET, and ASP. NET
Migrating to. NET. A Pragmatic Path to Visual Basic. NET, Visual C++. NET, and ASP. NET
ISBN: 131009621
EAN: N/A
Year: 2001
Pages: 149

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net