G
Guest
Hello All
When implementing FrontController sample MSDN
I am facing a lot of problems
try implementing the front controller patterm sample provided by microsoft: (http://msdn.microsoft.com/library/d...s/dnpatterns/html/ImpFrontControllerInASP.asp)
The irony of microsoft asp.net sample is it does not work...and the WORKAROUND as they say it is provide
explains that this is a design flaw in ASP.NET,!!!!!!!
anway if you tried that sample here is the error
It gives the error
Server Error in '/MVCProto1' Application
-------------------------------------------------------------------------------
Error executing child request for MVCSuccess.aspx.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child request for MVCSuccess.aspx
Source Error:
Line 34:
Line 35: context.Server.Transfer("MVCSuccess.aspx")
and here is microsofts explaination for this, and the solution is bad as well, it asks me to
add code in "Application_BeginRequest " which i cant as it breaks the design of Front Controller Pattern !!!!!
The crux of the problem is that you cannot to do a Server.Transfer in the HttpHandler..
Response.Redirect works but it does not call the Page_Load for the redirected page as well..
I want the solution for my problem
after looking different ways of impelementing MVC model in asp.net (first of all ASP.NET does not provide it!
i selected the Front controller approach as Microsoft proposed it (where else in MSDN) and now this occurs..
PLEASE TELL ME HOW TO SOLVE THIS PROBLEM OR TELL ME HOW TO IMPLEMENT MVC MODEL IN ASP.NET IN A VERY CLEAN WAY???
You can reply solutions to my id: (e-mail address removed) as well as i am desperate to solve this problem
Thanks in advance
NG
When implementing FrontController sample MSDN
I am facing a lot of problems
try implementing the front controller patterm sample provided by microsoft: (http://msdn.microsoft.com/library/d...s/dnpatterns/html/ImpFrontControllerInASP.asp)
The irony of microsoft asp.net sample is it does not work...and the WORKAROUND as they say it is provide
explains that this is a design flaw in ASP.NET,!!!!!!!
anway if you tried that sample here is the error
It gives the error
Server Error in '/MVCProto1' Application
-------------------------------------------------------------------------------
Error executing child request for MVCSuccess.aspx.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child request for MVCSuccess.aspx
Source Error:
Line 34:
Line 35: context.Server.Transfer("MVCSuccess.aspx")
and here is microsofts explaination for this, and the solution is bad as well, it asks me to
add code in "Application_BeginRequest " which i cant as it breaks the design of Front Controller Pattern !!!!!
The crux of the problem is that you cannot to do a Server.Transfer in the HttpHandler..
Response.Redirect works but it does not call the Page_Load for the redirected page as well..
I want the solution for my problem
after looking different ways of impelementing MVC model in asp.net (first of all ASP.NET does not provide it!
i selected the Front controller approach as Microsoft proposed it (where else in MSDN) and now this occurs..
PLEASE TELL ME HOW TO SOLVE THIS PROBLEM OR TELL ME HOW TO IMPLEMENT MVC MODEL IN ASP.NET IN A VERY CLEAN WAY???
You can reply solutions to my id: (e-mail address removed) as well as i am desperate to solve this problem
Thanks in advance
NG