What do you mean by "request"? Do you mean a request caused by a form
submission, by a dropdownlist event, a button click, a checkbox click etc?

Any ASP.Net server control which has an event will cause a "request" to the
server, which will go through the full page lifecycle and then fire the
relevant event handler for that control. If you simply want to have a
generic catch-all, Page_Load fires whenever a request comes into the page.
In ASP.Net MVC there is no page_load, as controls on your view will be tied
to specific actions on your controller.

See
http://www.asp.net/mvc/tutorials/understanding-the-asp-net-mvc-execution-process-vb
for
an overview.

On Fri, Jan 14, 2011 at 8:37 PM, Jonathan Creamer <[email protected]
> wrote:

> I am quite familiar with MVC frameworks as I have been programming with
> Colfusion and the Coldbox MVC framework.
>
> In Coldfusion/ColdBox there is an easy way to tap in to the request by just
> using the onRequest method built in to Coldfusion's application.cfc
> framework.
>
> So in my transition to ASP.NET MVC I am trying to find the comparable way
> of using the request scope.
>

Reply via email to