Re: Front Controller (FrontController) Implementation
From: lyndon (lyndon_h_at_hotmail.com)
Date: 03/08/04
- Next message: Marina: "Re: What do you find difficult in ASP.net?"
- Previous message: Curt_C [MVP]: "Re: Default.aspx - newbie Q`"
- In reply to: Wilson: "Front Controller (FrontController) Implementation"
- Next in thread: Wilson: "Re: Front Controller (FrontController) Implementation"
- Reply: Wilson: "Re: Front Controller (FrontController) Implementation"
- Reply: Wilson: "Re: Front Controller (FrontController) Implementation"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 15:30:56 -0600
I feel your pain. The demo provides you with just enough code to make you
think you can actually run it. I tried filling in the blanks with no luck.
I had the same fate when trying to learn the methodology by looking at the
architectural site on MS
"Wilson" <anonymous@discussions.microsoft.com> wrote in message
news:18125725-6DB9-4F40-B2A8-CB5ED64D5692@microsoft.com...
> I have been trying to implement Front Controller design pattern for web
presentation in my ASP.NET project. I designed my entire presentation layer
based on this pattern, just to discover that this pattern cannnot be
implemented as it is in ASP.NET. In fact, I designed all layers of my
application based on the patterns proposed in "Enterprise Solution Patterns
for Microsoft .NET", believing that MS would not suggest a pattern that
would not work. The issue with "Front controller" pattern seems universal.
All newsgroup postings on "Front Controller" pattern discuss the use of
Server.Transfer() method which leads to a known error message "Error
executing child request".
>
> I really appreciate the benefits of Front Controller pattern, and I am
desperate to implement it in my application. I am really surprised why this
design has been proposed by MS when we cannot implement it in .NET. I could
not find a single working sample in any of the Microsoft sites except for
some code snippets in Patterns and Practices site.
>
> I found one demo at this link
http://msdn.microsoft.com/asp.net/using/migrating/jspmig/resources/code/.
This demo deals with migration of Java Structs to ASP.NET. Its a very good
example, we could actually borrow the Url mapping technique used in this
demo. I beleived that I can make Front Controller pattern work, when I ran
this demo. Unfortunately, this demo just provides guidelines for JSP
migration and does to deal with the Server.Transfer() issues. When I
extended this demo code a little, I received the same old "error executing
child request" error.
>
> I would be really grateful if someone could prove me wrong and help me
make this pattern work in my project.
>
> Regards,
> Wilson
- Next message: Marina: "Re: What do you find difficult in ASP.net?"
- Previous message: Curt_C [MVP]: "Re: Default.aspx - newbie Q`"
- In reply to: Wilson: "Front Controller (FrontController) Implementation"
- Next in thread: Wilson: "Re: Front Controller (FrontController) Implementation"
- Reply: Wilson: "Re: Front Controller (FrontController) Implementation"
- Reply: Wilson: "Re: Front Controller (FrontController) Implementation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|