Click here to Skip to main content
15,892,059 members
Articles / Web Development

WebForms vs. MVC

Rate me:
Please Sign up or sign in to vote.
4.81/5 (280 votes)
26 Sep 2014CPOL15 min read 986.1K   12.7K   363  
Is ASP.NET MVC replacement for Web Forms? No, Both have there pros and cons. Lets take a look at same.
<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
    Inherits="_Default" %>

<html>
<head>
    <title></title>
</head>
<body>
    <div id="BodyContent" runat="server">
        <h2>
            Welcome to Web Form Demo!
        </h2>
        <p>
            Click on the link to proceed to login page <a href="Login/Login.aspx">Login</a>
        </p>
    </div>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Founder Just Compile
India India
Learning is fun but teaching is awesome.

Who I am? Trainer + consultant + Developer/Architect + Director of Just Compile

My Company - Just Compile

I can be seen in, @sukeshmarla or Facebook

Comments and Discussions