Tuesday, September 07, 2004

ASP.NET can now post to a different page

ASP.NET 2.0

ASP.NET can now postback across pages .You can use the PostTargetUrl attribute to specify
which ASPX the postback should go to.Once the postback happens to the target page, assuming
the page is different one than the one which made the postback The target page can access the
controls of the sender by using the PreviousPage object reference and extract the values from there.

Also, With Whidbey, you have a NGEN-kind-of application that will pre-compile your ASP.NET WebApps prior to deployment. This will speed up the initial invocation. The system has built-in health monitoring support that shall notify the parent incase of any issues in the
execution of any WebApp.

ASP.NET : you got to write resuable code (say a library), compile to an assembly
and then deploy it to the bin folder, and make changes to your pages
to reference it

Whidbey: With Whidbey, all this is gone. Simply write the code and put this code in a special folder called "Code"ASP.NET Whidbey shall compile this source at runtime, produce the assembly and make this assembly available for all the pages in the Web App