473,324 Members | 2,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

ASP.NET Request Pipeline and GoF Chain of Responsibility

More of a theoretical question here: It just occurred to me that the ASP.NET
request pipeline delivers much of the GoF Chain of Responsibility pattern.
What do you think? If it does not, then, why not?

Jun 27 '08 #1
2 1426
A little bit, maybe. The Chain of Responsibility pattern really deals with
having a list of "handler" objects that have limitations on the nature of
the requests they can work on. If a handler cannot process a request it
passes it on to the next handler in the "chain of command". For example, if
you have an unusual request that a bank teller cannot handle, they would
pass it on to the Manager.
Peter
"Cramer" <A@B.comwrote in message
news:eD**************@TK2MSFTNGP05.phx.gbl...
More of a theoretical question here: It just occurred to me that the
ASP.NET request pipeline delivers much of the GoF Chain of Responsibility
pattern. What do you think? If it does not, then, why not?

Jun 27 '08 #2
Ahhh, I understand the distinction. Thanks.

"Peter Bromberg [C# MVP]" <pb*******@nospammaam.yahoo.comwrote in message
news:46**********************************@microsof t.com...
>A little bit, maybe. The Chain of Responsibility pattern really deals with
having a list of "handler" objects that have limitations on the nature of
the requests they can work on. If a handler cannot process a request it
passes it on to the next handler in the "chain of command". For example, if
you have an unusual request that a bank teller cannot handle, they would
pass it on to the Manager.
Peter
"Cramer" <A@B.comwrote in message
news:eD**************@TK2MSFTNGP05.phx.gbl...
>More of a theoretical question here: It just occurred to me that the
ASP.NET request pipeline delivers much of the GoF Chain of Responsibility
pattern. What do you think? If it does not, then, why not?




Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: michael.casey | last post by:
The purpose of this post is to obtain the communities opinion of the usefulness, efficiency, and most importantly the correctness of this small piece of code. I thank everyone in advance for your...
1
by: Kevin C | last post by:
When designing an asynchronous service-based system, generally speaking whose responsibility is it to determine when a duplicate request is sent - the system hosting the service or the feeding...
2
by: Aaron | last post by:
I am kind of new the BizTalk 2004, can someone tell me how I can test my custom (decode) pipeline component in BTS 2004?
2
by: Microsoft | last post by:
Hi All. We currently use the Microsoft Commerce Server pipeline component to run the workflow for our application, however this is very limited when it comes to ASP.NET and has no programmable...
6
by: john deviney | last post by:
I have a C#/.Net 1.1 client talking to a Java based web service. I need to insert a soap header on the client side which is expected on the server side. Currently, the Java ws provider, Axis, does...
4
by: Nalaka | last post by:
Hi, I have some request specific data that gets created in a "early event", that I need to pass around to many other events. I need access to this data during that request. (and more importantly...
8
by: GS | last post by:
What would be the sample code to stop processing any further requests in Application_onStart within global.asax has failed? Response.End does not work since there is no response object at the point...
25
by: Matt Kruse | last post by:
According to HTTP/1.1 specs, a client should only have two connections open to the host at a time (which can be changed by browser users, of course). When using xmlHttpRequest connections, is...
2
by: Steve R. Hastings | last post by:
While studying iterators and generator expressions, I started wishing I had some tools for processing the values. I wanted to be able to chain together a set of functions, sort of like the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.