473,320 Members | 2,004 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,320 software developers and data experts.

ASP.NET 2.0 Front Controller

A while ago I read news about ASP.Net 2.0 having support for the Front
Controller model,

In all the reports I have read and in the latest beta download I can
see no implicit support for this model

Does anyone have any ideas?

Nov 19 '05 #1
5 1416
ga**********@gmail.com wrote:
A while ago I read news about ASP.Net 2.0 having support for the Front Controller model,

In all the reports I have read and in the latest beta download I can
see no implicit support for this model

Does anyone have any ideas?


http://msdn.microsoft.com/library/de...ollerInASP.asp

is this what you're looking for??

Nov 19 '05 #2
Ive seen this article before, it is quite good and does explain the
front controller patter quite well, but it has been around since
ASP.Net 1.0

I'm looking for any updates that use features in ASP.Net 2.0 to help
with the Front Controller pattern,

on a side note the problem that I can see with Front Controller (not
really a problem) is that action classes do not have the ability to use
the object model of the view (aspx) that the user posted from, to use
full aspx object model requires post back to the code behind page,

HTTP module are further up the controller stack and therefore would not
have access to the object model of the view

Nov 19 '05 #3
bumped -- can any one help?

Nov 19 '05 #4
> on a side note the problem that I can see with Front Controller (not
really a problem) is that action classes do not have the ability to
use the object model of the view (aspx) that the user posted from, to
use full aspx object model requires post back to the code behind page,


Why can't they access HttpContext.Current.Request, HttpContext.Current.Response,
or HttpContext.Current.Handler?

-Brock
DevelopMentor
http://staff.develop.com/ballen

Nov 19 '05 #5
ga**********@gmail.com wrote:
Ive seen this article before, it is quite good and does explain the
front controller patter quite well, but it has been around since
ASP.Net 1.0

I'm looking for any updates that use features in ASP.Net 2.0 to help
with the Front Controller pattern,
As I know there isn't any update about this.

on a side note the problem that I can see with Front Controller (not
really a problem) is that action classes do not have the ability to use the object model of the view (aspx) that the user posted from, to use
full aspx object model requires post back to the code behind page,

HTTP module are further up the controller stack and therefore would not have access to the object model of the view


The problem could be solved if you call GetCompiledPageInstance &
ProcessRequest on the view pages instead of transfering the current
request to them.

Nov 19 '05 #6

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

Similar topics

3
by: Prasad Patil | last post by:
Hi I am trying to understand the article http://msdn.microsoft.com/practices/type/Patterns/Enterprise/DesFrontController/...
2
by: Colin Basterfield | last post by:
Hi, has anyone (tried to) implement the Front Controller pattern as described at http://msdn.microsoft.com/architecture/patterns/ImpFrontControllerInASP/ I'm having trouble resolving the...
2
by: Magdelin | last post by:
I am trying to implement the front controller web presentation design pattern proposed by MS at the following link: http://msdn.microsoft.com/practices/type/patterns/enterpris...
2
by: Mr Wizard | last post by:
I am going through the front controller http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp and all works well except when the server.transfer...
1
by: NGM | last post by:
Hello All When implementing FrontController sample MSDN I am facing a lot of problems try implementing the front controller patterm sample provided by microsoft:...
2
by: Alok Jain | last post by:
Hi, We are using Front Controller implementation in our DotNet application. I am trying to hide URL in my application. This is based on Front Controller model. I am able to achieve if I do...
3
by: Ashish | last post by:
Is anyone aware of a good Front Controller Pattern implementation in ASP.Net, we are developing a new product, and contemplating whether we should use Front Controller Pattern implementation, due...
4
by: Kunle Odutola | last post by:
WebForms used to be a Page controller architecture (in .NET 1.x) which severely limited (prevented?) true MVC designs with WebForms. Any ideas? -- Don't talk unless you can improve the silence.
1
by: Aquaren | last post by:
I have a framework that uses the front controller design pattern for a single point of entry to the application and the autoload function for includes. I am trying to incorporate AJAX into 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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
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: 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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.