----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Vadi_gm Message 1 in Discussion Hello All, I am a asp.net programmer, i had earlier posted to this group regarding the problems i was facing with HttpContext.Server.Transfer when implementing FrontController (and ironically this the sample provided by MSDN to implement Front Controller) , but sadly no one in this group responded to any of my messages... Anyway here is the problem: try implementing the front controller patterm sample provided by microsoft: (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp) The irony of microsoft asp.net sample is it does not work...and the WORKAROUND as they say it is provied in article (http://support.microsoft.com/default.aspx?scid=kb;en-us;817036#appliesto) explains that this is a design flaw in ASP.NET,!!!!!!!! a design flaw in ASP.net! imagine guys a design flaw! 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"); Pretty Stupid and here is microsofts explaination for this, and the solution is pretty stupid as well, it asks me to add code in "Application_BeginRequest " which i cant as it breaks the design of Front Controller Pattern !!!!!! Guys i dont want any hate replies, i want the solution for my problem! after looking different ways of impelementing MVC model in asp.net (first of all they dont provide it! i hate them for this!) 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???? Thanks for your patience NGM ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
