Click here to Skip to main content
11,490,973 members (60,879 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
Add your own
alternative version

ASP.NET MVC 4 - Part [1] - Introduction

, 20 Mar 2013 CPOL 1.5M 14.8K 390
Get started with ASP.NET MVC 4, Compare ASP.NET MVC with Webforms, Sample Application, MVC Master Page - Layout, MVC User Control- Partial View, @RenderBody, Membership management, ActionResults
@model ePhoneBook.Models.PhoneBookModel
    ViewBag.Title = "Details";


    <div class="display-label">
         @Html.DisplayNameFor(model => model.FirstName)
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    <div class="display-label">
         @Html.DisplayNameFor(model => model.MiddleName)
    <div class="display-field">
        @Html.DisplayFor(model => model.MiddleName)
    <div class="display-label">
         @Html.DisplayNameFor(model => model.LastName)
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    <div class="display-label">
         @Html.DisplayNameFor(model => model.MobileNumber)
    <div class="display-field">
        @Html.DisplayFor(model => model.MobileNumber)
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Email)
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")

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.


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


About the Author

Shemeer NS
Software Developer (Senior)
India India
Technology Specialist | CodeProject MVP | Visual Studio Gallery Contributor | Author | Geek | Netizen | Husband | ChessPlayer

Most of my articles are listed on top 5 of the respective 'Best articles of the month' and some of my articles are published on ASP.NET WebSite's Article of the Day section.

Check my contributions in Visual Studio Gallery and Code Project

Technical Blog:
Twitter :
Google+ :
Follow on   Twitter   Google+

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 21 Mar 2013
Article Copyright 2012 by Shemeer NS
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid