Re: Front Controller (FrontController) Implementation

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: lyndon (lyndon_h_at_hotmail.com)
Date: 03/08/04


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



Relevant Pages

  • Re: Front Controller (FrontController) Implementation
    ... > I have been trying to implement Front Controller design pattern for web ... The issue with "Front controller" pattern seems universal. ... design has been proposed by MS when we cannot implement it in .NET. ... I beleived that I can make Front Controller pattern work, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The Results of everyones help.
    ... > I have put together my 256 light controller on prototype boards. ... > D type flip flops wired up as toggle flip flops. ... > I can then program the RCM3100 to flash the lights in any pattern I can ... how big is this remote controlled plane? ...
    (sci.electronics.basics)
  • Re: How to assign Action property to the Form
    ... You may wanna implement a Front Controller pattern on the server. ... inner logic to a client is a bad idea. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: How to assign Action property to the Form
    ... You may wanna implement a Front Controller pattern on the server. ... inner logic to a client is a bad idea. ...
    (microsoft.public.dotnet.framework.aspnet)
  • A few questions regarding MVC
    ... I have a few questions regarding the MVC pattern. ... controller can take the appropriate actions. ... Strategy is an object that represents an algorithm. ...
    (comp.object)