Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 

YOU ARE HERE: HOME Questions What are the patterns implemented in the ASP NET page framework



Patterns implemented in the ASP.NET Page Framework

View(s): 18717

What are the patterns implemented in the ASP.NET page framework?

Answer 1)

Following three patterns govern the ASP.NET Page Framework.
When ASP.NET determines which HttpHandler to pass a request to, it uses something similar to a Front Controller. Front Controller is characterized by a single handler for all requests (like System.Web.UI.Page). Once the request reaches the Page class, though, the Page Controller pattern takes over.

Within the ASP.NET implementation of Page Controller, there are elements of the Model View Controller pattern. Model View Controller separates the model (business objects, data, and processes) from the view (the display of information). The controller responds to user input and updates the model and view. Roughly speaking, an ASPX page represents the View while its codebehind file represents a hybrid Model-Controller. If you were to pull all business and data-related code out of the codebehind and leave only event handling code, this would turn the codebehind into a pure Controller while the new class containing the business logic would be the Model.

For more information about patterns implemented in .NET Framework read article: Behind the Scenes - Discover the Design Patterns You're Already Using in the .NET Framework

  Asked in:  TCS (Tata Consultancy Services)   Expertise Level:  Expert
  Last updated on Sunday, 08 January 2012
4/5 stars (6 vote(s))

Register Login Ask Us Write to Us Help