O'Reilly logo

Programming Microsoft® ASP.NET MVC by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Data Entry in ASP.NET MVC

Whatever you can do or dream, begin it.

Wolfgang von Goethe

Classic ASP.NET bases its programming model on the assumption that state is maintained across postbacks. This is not true at all at the HTTP protocol level, but it is brilliantly simulated using the page view state feature and a bit of work in the page life cycle. The view state, which is so often kicked around as a bad thing, represents a great contribution to establishing a stateful programming model in ASP.NET, and that programming model was one of the keys to ASP.NET's success and rapid adoption.

The ASP.NET MVC framework just uses a different pattern, one that is not page-based and relies on a much thinner abstraction layer than Web Forms. As ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required