Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
plz tell me sir and i m fresh and i m using asp.net for web development ,there are three types like web pages,web forms and mvc so kindly which one is good for web development and tell me what is different between they both web pages,web forms and mvc..thank you
Posted

The first one is the oldest and is called Web Forms.
Basically, it is a high level component oriented web framework that works with controls like buttons and grids that encapsulate behaviour and view. It is the most popular flavour of ASP.NET but has been criticised for the lack of control over the generated markup. While this is my personal favourite I must point out that it is a bad way to start learning web programming because it hides the implementation details from you (which is good when you get experience) and is a bit complex to learn.

Source : WebForms[^]
<br />
ASP.NET MVC
is an implementation of the MVC pattern for ASP.NET. I will not go into details here because you did not ask about it.

Source: MVC[^]
<br />
ASP.NET Web Pages
is a brand new flavour that is targeted at smaller project and beginner devs (at least in my opinion). It is good for developing smaller projects with ~ 10 pages. Most of the logic is written in a single file per page in what I call "Basic PHP style". It uses the Razer syntax for injecting the serverside code.

Source: WebPages[^]

Note that Web Forms uses pages (unlike MVC) therefore there is a confusion what ASP.NET Web Pages is.
Found it here[^]

Refer similar QA: ASP.NET Web Pages, WebForms or MVC[^]
Another thread comparing Web Forms And ASP.NET MVC[^]
 
Share this answer
 
Comments
_Amy 15-May-13 6:31am    
Nicely explained. +5!
We can develop a web application by using Asp.Net. There are two ASP.NET programming models to choose for developement.
1. ASP.NET WebForms
2. ASP.NET MVC (Model View Contoller)

Since you are new to ASP.Net, suggestion would be that you go through some of links given below that may be helpful for you to decide which programming model to go with.
select-right-programming-model-with-asp-net[^]
what-asp-net-programming-model-to-choose[^]
aspnet-programming-models[^]
choosing-the-right-programming-model[^]
 
Share this answer
 
Comments
_Amy 15-May-13 6:31am    
+5 for links. :)
SQL
Asp.Net is flexible web platform that enables you to build great web applications using three different programming models. Those models are ASP.NET Web Forms,

All three of these programming models are fully supported options that are used by millions of developers.

Let’s take a Look at how these fit together and why there are three choices.

All these models build on top of the same core ASP.NET web platform.


For Detail Visit:
http://mnaveed.wordpress.com/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900