What is View State? View State allows the state of objects (serializable) to be stored in a hidden field on the page. View State is transported to the client and back to the server, and is not stored on the server or any other external source. View State is used the retain the state of server-side objects between postabacks. What is the lifespan for items stored in View State? Item stored in View State exist for the life of the current page. This includes post backs (to the same page). What does the “EnableViewState” property do? Why would I want … Click here to continue…..
This article helps you that how MVC pattern can be used in ASP.NET application & maintain the basic Microsoft supplied architecture. MVC stands for MODEL VIEW CONTROLLER. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner than the traditional ASP.NET web development. Web applications developed with ASP.NET MVC are even more SEO (Search Engine) friendly. The entire ASP.NET MVC architecture is based on Microsoft .NET Framework 3.5 and in addition uses LINQ to SQL Server. What is a Model? MVC model is basically a C# or VB.NET class A model is accessible by both controller … Click here to continue…..