With IIS7 a new transfer method is available in the HttpServerUtility class . It's the TransferRequest method . What this method is intended to do is behave like the HttpResponse.Redirect method without the penalty of traveling to the client and back . I said "is intended to behave" because...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
10-15-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, PageModules, IIS
Introduction In this article I will demonstrate how a web application can benefit from the use of Page Modules using, for the demonstration, the Page Flow Store Quick Start and the Page Flow Application Block shipped with the Web Client Software Factory. Creating the Page Module The first step is creating...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
09-27-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, WCSF, PnP, SoftwareFactories, PageFlow, PageModules
From my article on Page Modules some people might have gotten the wrong impression that this would be the only way to get a reference to the page given its path, but it isn't. You can use the System.Web.UI.PageParser.GetCompiledPageInstance method to get the reference to the page before calling the...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
09-16-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, PageModules
In an ASP.NET application the instances of the HttpApplication class are responsible for handling the requests. These instances are created by the ASP.NET infrastructure and each one may serve many request in its lifetime, however, serving only one at a time. An application executes events that are handled...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
09-12-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, PageModules
(Republished at http://www.codeproject.com/useritems/PageHandlerFactoryWithMod.asp ) Introduction This article introduces the concept of Page Modules , which are similar to HTTP Modules but related to Page Life Cycle , and the need for them. How HTTP Modules Work According to the documentation, using...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
09-09-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, PageModules
From the need to handle events in every rendered page and not wanting to pay the penalties (network usage and server load) of frequent client redirects, I came up with the concept of Page Modules. Read all about it.
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
09-09-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Web, PageModules