{"id":97,"date":"2014-05-09T11:29:00","date_gmt":"2014-05-09T10:29:00","guid":{"rendered":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/09\/advantages-of-using-strongly-typed-views\/"},"modified":"2014-05-09T11:29:00","modified_gmt":"2014-05-09T10:29:00","slug":"advantages-of-using-strongly-typed-views","status":"publish","type":"post","link":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/09\/advantages-of-using-strongly-typed-views\/","title":{"rendered":"Advantages of using strongly typed views ?"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>16 Second                <\/div>\n\n            <\/div><div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"-webkit-transition: opacity 0.3s linear; background-color: white; border: 0px; color: #444444; line-height: 23.99599838256836px; margin-bottom: 1.5em; outline: 0px; padding: 0px; transition: opacity 0.3s linear; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">There are several ways available to pass data&nbsp;<b>from a controller to a view<\/b>&nbsp;in an&nbsp;<span style=\"border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><strong style=\"-webkit-transition: opacity 0.3s linear; border: 0px; margin: 0px; outline: 0px; padding: 0px; transition: opacity 0.3s linear; vertical-align: baseline;\">ASP.Net MVC<\/strong><\/span>&nbsp;application.<\/span><\/div>\n<div style=\"-webkit-transition: opacity 0.3s linear; background-color: white; border: 0px; color: #444444; line-height: 23.99599838256836px; margin-bottom: 1.5em; outline: 0px; padding: 0px; transition: opacity 0.3s linear; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\"><span style=\"font-weight: inherit;\">1.<a href=\"http:\/\/www.blog.debug.co.in\/2014\/05\/what-is-viewbag-viewdata.html\" target=\"_blank\" rel=\"noopener\">ViewBag or ViewData<\/a> &nbsp; 2.Data&nbsp;<\/span><span style=\"font-weight: inherit;\">Strongly typed view<\/span><\/span><\/div>\n<div style=\"-webkit-transition: opacity 0.3s linear; background-color: white; border: 0px; color: #444444; line-height: 23.99599838256836px; margin-bottom: 1.5em; outline: 0px; padding: 0px; transition: opacity 0.3s linear; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\"><b style=\"-webkit-transition: opacity 0.3s linear; transition: opacity 0.3s linear;\">The following are the advantages of using strongly typed views<\/b>. We will get<\/span><\/div>\n<ol style=\"-webkit-transition: opacity 0.3s linear; background-color: white; border: 0px; color: #444444; line-height: 23.99599838256836px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.5em 3em; outline: 0px; padding: 0px; transition: opacity 0.3s linear; vertical-align: baseline;\">\n<li style=\"border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">Intellisense<\/span><\/li>\n<li style=\"border: 0px; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">Compile time error checking<\/span><\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>There are several ways available to pass data&nbsp;from a controller to a view&nbsp;in an&nbsp;ASP.Net MVC&nbsp;application. 1.ViewBag or ViewData &nbsp; 2.Data&nbsp;Strongly typed view The following are the advantages of using strongly typed views. We will get Intellisense Compile time error checking<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[37],"tags":[],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-mvc"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Himanshu Namdeo","author_link":"https:\/\/debuggersspace.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"There are several ways available to pass data&nbsp;from a controller to a view&nbsp;in an&nbsp;ASP.Net MVC&nbsp;application. 1.ViewBag or ViewData &nbsp; 2.Data&nbsp;Strongly typed view The following are the advantages of using strongly typed views. We will get Intellisense Compile time error checking","_links":{"self":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/97"}],"collection":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":0,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"wp:attachment":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}