what is the difference between front controller and page controller? which is the best?
See this for front-controller pattern and this for page controller pattern. And you can get a better idea of how front-controller is implemented in ASP.NET MVC and it's advantages over page controller from here
These are not two complementary patterns but they both have different implementations. ASP.NET MVC uses front controller pattern where as ASP.NET Web forms are implemented based on the page controller pattern.
I think it's that a front controller architecture has a single entry point for all requests whereas a Page Controller architecture has separate entry points for each request. ASP.NET MVC uses the Front Controller architecture. FubuMVC is a .NET front controller architecture. StackOverflow isn't really the right forum to address which is better.
Here's an over of FubuMVC's front controller pattern.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With