Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Back ward compatibility and Events


Message #1 by "Ishaq, Abdul N" <ishaqan@a...> on Tue, 25 Jul 2000 8:32:59
1. After installing ASP+, can we run our old ASP applications/websites on 

the same server. I mean can we run both ASP+ and ASP applications 

simultaniously on the same server.



2. I saw some pages have extension .aspx, these .aspx pages are compiled  

ones or just like ASP pages.



3. What is the use of handling events at server side instead of client 

side, like onClick I want to validate a form, what is the use of validate 

at server side.



 Ishaq

Message #2 by "Chris Hagan" <chrish@i...> on Tue, 25 Jul 2000 13:52:42
Yes, you can run both ASP and ASP+ pages in the same web. Pages with the 

.asp extension still go to the asp.dll where .aspx pages go to 

xspisapi.dll. One thing to note, though, is session state cannot be shared 

between the two. If you want to convert your asp pages to asp+ pages, there 

are some minor changes that may need to be made (depending on how 

complicated your asp page is...).



.aspx pages are compiled into IL (intermediate language) the first time 

they are run... so subsequent hits are much faster.



You use server-side events so you are not dependent on a browser version, 

not to mention you have immediate access to other business components on 

the server/network. Note that there are certain page directives in asp+ 

that will determine a browser version and, if IE 5.5, automatically do 

client side validation.



Chris


  Return to Index