{"id":1012,"date":"2012-05-11T21:08:37","date_gmt":"2012-05-11T21:08:37","guid":{"rendered":"http:\/\/nestor.nestasoft.fr\/?p=1012"},"modified":"2012-10-19T04:54:53","modified_gmt":"2012-10-19T04:54:53","slug":"asp-net-mvc-4-premire-partie","status":"publish","type":"post","link":"https:\/\/nestasoft.fr\/?p=1012","title":{"rendered":"ASP.NET MVC 4 [Premi\u00e8re partie]"},"content":{"rendered":"<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/09\/ApresCreatyionAdherent.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" class=\"alignleft\" title=\"Vue2\" border=\"0\" alt=\"ASP NET MVC4\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/09\/ApresCreatyionAdherent.PNG\" width=\"600\" height=\"225\" \/><\/a><\/p>\n<p><\/a>Bonjour,  <\/p>\n<p>Ce nouveau billet est la premi\u00e8re d\u2019une s\u00e9rie d\u2019articles que je publierai sur ce blog sur ASP.NET MVC 4 sous Visual Studio 2012.<\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<ol>\n<li><strong><font color=\"#4f81bd\">ASP.NET MVC 4 [Premi\u00e8re partie]&#160;&#160; : Introduction<\/font><\/strong> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Deuxi\u00e8me partie]&#160; : Ajout d\u2019un model<\/font> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Troisi\u00e8me partie]&#160; : Ajout d\u2019un contr\u00f4leur<\/font> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Quatri\u00e8me partie] : Ajout d\u2019une vue<\/font> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Cinqui\u00e8me partie] : Page Inspector<\/font> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Sixi\u00e8me partie]&#160;&#160;&#160;&#160;&#160; : Razor ou ASPX<\/font> <\/li>\n<li><font color=\"#4f81bd\">ASP.NET MVC 4 [Septi\u00e8me partie]&#160;&#160; : Conclusion<\/font> <\/li>\n<\/ol>\n<p><!--more--><\/p>\n<p>Dans cette premi\u00e8re partie, nous verrons comment cr\u00e9er un projet ASP.NET MVC4 dans VS 2011.<\/p>\n<p>ASP.NET MVC 4 est un Framework utilis\u00e9 pour la construction des applications \u00e9volutives bas\u00e9es sur des normes Web, tout en utilisant des mod\u00e8les de conception (pattern) bien structur\u00e9s, la puissance de ASP.NET et du . NET Framework.<\/p>\n<p>Il est fournit par d\u00e9faut dans VS2011 Beta. Si vous utilisez Visual Studio 2010, vous devez le t\u00e9l\u00e9charger et l\u2019installer.<\/p>\n<p><a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=243392\">ASP.NET MVC 4 Web Platform Installer pour Visual Studio 2010<\/a><\/p>\n<p>&#160;<\/p>\n<ul>\n<li>D\u00e9marrage de Visual Studio 2011 et ajout d\u2019un nouveau projet <\/li>\n<\/ul>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/NewProject.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"NewProject\" border=\"0\" alt=\"NewProject\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/NewProject.PNG\" width=\"587\" height=\"372\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<ul>\n<li>Choix d\u2019un Template <\/li>\n<\/ul>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/ProjectTemplate.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"ProjectTemplate\" border=\"0\" alt=\"ProjectTemplate\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/ProjectTemplate.PNG\" width=\"593\" height=\"541\" \/><\/a><\/p>\n<p>Nous verrons plus loin dans certaines articles la diff\u00e9rence entre Razor et ASPX. Nous nous attarderons \u00e9galement sur les Framework de test.<\/p>\n<p>&#160;<\/p>\n<ul>\n<li>L\u2019explorateur de solution <\/li>\n<\/ul>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/explorateurDeSolution.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"explorateurDeSolution\" border=\"0\" alt=\"explorateurDeSolution\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/explorateurDeSolution.PNG\" width=\"333\" height=\"368\" \/><\/a><\/p>\n<p>Dans chacun des dossiers, \u00e0 savoir Controllers, Models et Views, nous ajouterons des fichiers n\u00e9cessaires au bon fonctionnement de notre application.<\/p>\n<p>&#160;<\/p>\n<ul>\n<li>D\u00e9marrage en mode Debug <\/li>\n<\/ul>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/Demarrage.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Demarrage\" border=\"0\" alt=\"Demarrage\" align=\"left\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/Demarrage.PNG\" width=\"201\" height=\"106\" \/><\/a><\/p>\n<p>Nous verrons plus loin les deux types de d\u00e9bogage : Internet Explorer et Page Inspector<\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<ul>\n<li>Une premi\u00e8re vue de notre application <\/li>\n<\/ul>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/Vue2.PNG\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"Vue2\" border=\"0\" alt=\"Vue2\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/05\/Vue2.PNG\" width=\"602\" height=\"381\" \/><\/a><\/p>\n<p>La premi\u00e8re partie de cette s\u00e9rie d\u2019articles \u00e9tant atteinte, je vous invite \u00e0 me rejoindre dans l\u2019aventure pour la partie suivante.<\/p>\n<p>Be connected!<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1012\" class=\"pvc_stats all  \" data-element-id=\"1012\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/nestasoft.fr\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bonjour, Ce nouveau billet est la premi\u00e8re d\u2019une s\u00e9rie d\u2019articles que je publierai sur ce blog sur ASP.NET MVC 4 sous Visual Studio 2012. &#160; &#160; ASP.NET MVC 4 [Premi\u00e8re partie]&#160;&#160; : Introduction ASP.NET MVC 4 [Deuxi\u00e8me partie]&#160; : Ajout d\u2019un model ASP.NET MVC 4 [Troisi\u00e8me partie]&#160; : Ajout d\u2019un contr\u00f4leur ASP.NET MVC 4 [Quatri\u00e8me [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1012\" class=\"pvc_stats all  \" data-element-id=\"1012\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/nestasoft.fr\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":1180,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1012","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1012"}],"version-history":[{"count":11,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1012\/revisions"}],"predecessor-version":[{"id":1127,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1012\/revisions\/1127"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/media\/1180"}],"wp:attachment":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}