Articles → ASP .NET MVC → Strongly type views in mvc

Strongly type views in mvc






Strongly type view





How to create a strongly type view







Click to Enlarge




Click to Enlarge




Click to Enlarge





@model strongly_type_views.Models.MyModel

@{
    ViewBag.Title = "View2";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>View2</h2>



Advantages of Strongly type view







Posted By  -  Karan Gupta
 
Posted On  -  Saturday, December 26, 2015
 
Updated On  -  Monday, October 02, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250