In this article i am explaining mazor different   between Asp.MVC vs Asp.Net Web Forms. ASP.NET WebForms ASP.NET Web Forms uses Page controller pattern approach for rendering layout. In this approach, every page has it’s own controller i.e. code-behind file that processes the request. No separation of concerns. As we discussed that every page (.aspx)

What is view state in

In Asp.Net ViewState is used for maintain the state of controls during page postback and if we save any control values or anything in viewstate we can access those values throughout the page whenever it required for that check below very simple example. <html xmlns=””> <head runat=”server”> <title>View State in </title> </head> <body> <form

Data model in MVC

In this chapter, we’ll discuss concerning building models in  ASP.NET MVC Framework application. A model stores knowledge that’s retrieved in keeping with the commands from the Controller and displayed within the read. Model may be a assortment of categories whereby you may be operating with knowledge and business logic. Hence, essentially models ar business domain-specific

Action in MVC

ASP.NET MVC Action Methods are responsible to execute requests and generate responses to it. By default, it generates a response in the form of ActionResult. Actions typically have a one-to-one mapping with user interactions. For example, enter a URL into the browser, click on any particular link, and submit a form, etc. Each of these