{"id":541,"date":"2012-02-20T19:25:59","date_gmt":"2012-02-20T17:25:59","guid":{"rendered":"http:\/\/dev.bratched.fr\/fr\/exemple-de-projet-mvc-mis-a-jour\/"},"modified":"2012-02-20T19:25:59","modified_gmt":"2012-02-20T17:25:59","slug":"exemple-de-projet-mvc-mis-a-jour","status":"publish","type":"post","link":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/","title":{"rendered":"Exemple de projet MVC (mis \u00e0 jour)"},"content":{"rendered":"<div class=\"jfdefaulttext\">J&rsquo;ai mis \u00e0 jour le <a href=\"\/en\/home\/aspnet-mvc\/62-how-we-do-aspnet-mvc.html\" target=\"_blank\" rel=\"noopener noreferrer\">projet MVC \u00e9chantillon<\/a> que j&rsquo;ai \u00e9crit pour l&rsquo;utilisation d&rsquo;ASP.NET MVC 3 et le moteur d&rsquo;affichage Razor.<\/div>\n<p>Un changement mineur, c&rsquo;est que je n&rsquo;utilise plus le FluentValidationModelValidatorProvider mais le standard. Donc j&rsquo;ai d\u00e9corer le mod\u00e8le d&rsquo;affichage avec les annotations de donn\u00e9es n\u00e9cessaires :<\/p>\n<p>&nbsp;<\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:39b2e7ac-d477-4b7b-8b06-6fee077190d6\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>[Validator(typeof(UserViewModelValidator))]\npublic class UserViewModel\n{\n    public int Id { get; set; }\n\n    [DisplayName(\"First name *\")]\n    public string FirstName { get; set; }\n\n    [DisplayName(\"Last name *\")]\n    public string LastName { get; set; }\n\n    public int? Age { get; set; }\n}\n<\/pre>\n<\/div>\n<p><!--more--><\/p>\n<p>Et le validateur devient :<\/p>\n<p>&nbsp;<\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:2ea7938e-0494-4b8f-827a-6d167a2743af\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>public class UserViewModelValidator : AbstractValidator\n{\n    public UserViewModelValidator()\n    {\n        RuleFor(x =&gt; x.FirstName)\n            .NotEmpty()\n            .WithMessage(\"First name is required\");\n\n        RuleFor(x =&gt; x.LastName)\n            .NotEmpty()\n            .WithMessage(\"Last name is required\");\n    }\n}\n<\/pre>\n<\/div>\n<p>Et Voici les vues correspondantes \u00e0 l&rsquo;aide de rasoir :<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">Index.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:fcf9a5ac-a3ae-4760-a115-a040122f2c7f\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model IEnumerable\n\n@{\n    ViewBag.Title = \"Index\";\n}\n\nIndex\n@(Html\n    .Grid(Model)\n    .Columns(column =&gt; {\n        column.Custom(model =&gt; Html.Partial(\"_TableLinks\", model));\n        column.For(model =&gt; model.FirstName);\n        column.For(model =&gt; model.LastName);\n        column.For(model =&gt; model.Age);\n    })\n)\n\n\n    @(Html.ActionLink(c =&gt; c.New(), \"Create New\"))\n\n<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">_TableLinks.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:be003ee2-842e-478a-a468-2e7a38981854\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n\n@(Html.ActionLink(c =&gt; c.Edit(Model.Id), \"Edit\")) |\n@(Html.ActionLink(c =&gt; c.Show(Model.Id), \"Details\")) |\n@using (Html.BeginForm(c =&gt; c.Destroy(Model.Id))) \n{\n    @Html.HttpMethodOverride(HttpVerbs.Delete)\n    \n}<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">Edit.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:0233224d-b1d1-4fe0-ae8f-be72e793676d\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n@{\n    ViewBag.Title = \"Edit\";\n}\n\nEdit\n@using (Html.BeginForm(c =&gt; c.Update(null)))\n{\n    @Html.ValidationSummary(true)\n    @Html.HttpMethodOverride(HttpVerbs.Put)\n    @Html.HiddenFor(model =&gt; model.Id)\n    @Html.EditorForModel()\n    \n        \n    \n}\n\n    @(Html.ActionLink(c =&gt; c.Index(), \"Back to List\"))\n<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">New.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:43c4f90f-3dad-4c7c-86ee-7c2bdaf1b3a2\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n\n@{\n    ViewBag.Title = \"New\";\n}\n\nNew\n@using (Html.BeginForm(c =&gt; c.Create(null))) \n{\n    @Html.ValidationSummary(true)\n    @Html.EditorForModel()\n    \n        \n    \n}\n\n    @(Html.ActionLink(c =&gt; c.Index(), \"Back to List\"))\n<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">Show.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:79dc337e-141e-4091-9b8f-b384b57e949f\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n           \n@{\n    ViewBag.Title = \"Show\";\n}\n\nShow\n\n@Html.DisplayForModel()\n\n    @(Html.ActionLink(c =&gt; c.Edit(Model.Id), \"Edit\")) |\n    @(Html.ActionLink(c =&gt; c.Index(), \"Back to List\"))\n\n<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: medium\">Mod\u00e8le de l&rsquo;\u00e9diteur UserViewModel.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:cfb6445a-cdcb-49ca-ad00-0d5a90a87b45\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n\n\n    Fields\n            \n    \n        @Html.LabelFor(model =&gt; model.FirstName)\n    \n    \n        @Html.EditorFor(model =&gt; model.FirstName)\n        @Html.ValidationMessageFor(model =&gt; model.FirstName)\n    \n            \n    \n        @Html.LabelFor(model =&gt; model.LastName)\n    \n    \n        @Html.EditorFor(model =&gt; model.LastName)\n        @Html.ValidationMessageFor(model =&gt; model.LastName)\n    \n            \n    \n        @Html.LabelFor(model =&gt; model.Age)\n    \n    \n        @Html.EditorFor(model =&gt; model.Age)\n        @Html.ValidationMessageFor(model =&gt; model.Age)\n    \n<\/pre>\n<\/div>\n<p><strong><span style=\"font-size: medium\">Mod\u00e8le d&rsquo;affichage UserViewModel.cshtml<\/span><\/strong><\/p>\n<div id=\"scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:f28543fb-e6df-46c8-b096-5bee71365596\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px;padding: 0px;float: none\">\n<pre>@model SampleMvc.Web.Models.UserViewModel\n\n\n    Fields\n        \n    Id\n    @Html.DisplayFor(x =&gt; x.Id)\n        \n    FirstName\n    @Html.DisplayFor(x =&gt; x.FirstName)\n        \n    LastName\n    @Html.DisplayFor(x =&gt; x.LastName)\n        \n    Age\n    @Html.DisplayFor(x =&gt; x.Age)\n\n<\/pre>\n<\/div>\n<p>Le code source est <a href=\"https:\/\/github.com\/darind\/samplemvc\" target=\"_blank\" rel=\"noopener noreferrer\">disponible sur github<\/a>.<\/p>\n<div class=\"clearfix\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>J&rsquo;ai mis \u00e0 jour le projet MVC \u00e9chantillon que j&rsquo;ai \u00e9crit pour l&rsquo;utilisation d&rsquo;ASP.NET MVC 3 et le moteur d&rsquo;affichage Razor. Un changement mineur, c&rsquo;est que je n&rsquo;utilise plus le FluentValidationModelValidatorProvider mais le standard. Donc j&rsquo;ai d\u00e9corer le mod\u00e8le d&rsquo;affichage avec les annotations de donn\u00e9es n\u00e9cessaires : &nbsp; [Validator(typeof(UserViewModelValidator))] public class UserViewModel { public int [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[26,27,24],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Bratched\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Bratched.fr | On parle Windows, C#, Apple, Android, Js, ...\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-02-20T17:25:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-02-20T17:25:59+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#article\",\"name\":\"Exemple de projet MVC (mis \\u00e0 jour) | Bratched.fr\",\"headline\":\"Exemple de projet MVC (mis \\u00e0 jour)\",\"author\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/author\\\/adminced\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/#organization\"},\"datePublished\":\"2012-02-20T19:25:59+01:00\",\"dateModified\":\"2012-02-20T19:25:59+01:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#webpage\"},\"articleSection\":\"ASP.NET MVC, asp.net mvc, mvc, sample\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bratched.com\\\/fr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/category\\\/asp-net-mvc\\\/#listItem\",\"name\":\"ASP.NET MVC\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/category\\\/asp-net-mvc\\\/#listItem\",\"position\":2,\"name\":\"ASP.NET MVC\",\"item\":\"https:\\\/\\\/bratched.com\\\/fr\\\/category\\\/asp-net-mvc\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#listItem\",\"name\":\"Exemple de projet MVC (mis \\u00e0 jour)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#listItem\",\"position\":3,\"name\":\"Exemple de projet MVC (mis \\u00e0 jour)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/category\\\/asp-net-mvc\\\/#listItem\",\"name\":\"ASP.NET MVC\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/#organization\",\"name\":\"Bratched.fr\",\"description\":\"On parle Windows, C#, Apple, Android, Js, ...\",\"url\":\"https:\\\/\\\/bratched.com\\\/fr\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/author\\\/adminced\\\/#author\",\"url\":\"https:\\\/\\\/bratched.com\\\/fr\\\/author\\\/adminced\\\/\",\"name\":\"Bratched\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/05352dcd40ece2c42e5ae2dd683b460b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Bratched\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#webpage\",\"url\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/\",\"name\":\"Exemple de projet MVC (mis \\u00e0 jour) | Bratched.fr\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/2012\\\/02\\\/20\\\/exemple-de-projet-mvc-mis-a-jour\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/author\\\/adminced\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/author\\\/adminced\\\/#author\"},\"datePublished\":\"2012-02-20T19:25:59+01:00\",\"dateModified\":\"2012-02-20T19:25:59+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/bratched.com\\\/fr\\\/\",\"name\":\"Bratched.fr\",\"description\":\"On parle Windows, C#, Apple, Android, Js, ...\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/bratched.com\\\/fr\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr","description":"","canonical_url":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#article","name":"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr","headline":"Exemple de projet MVC (mis \u00e0 jour)","author":{"@id":"https:\/\/bratched.com\/fr\/author\/adminced\/#author"},"publisher":{"@id":"https:\/\/bratched.com\/fr\/#organization"},"datePublished":"2012-02-20T19:25:59+01:00","dateModified":"2012-02-20T19:25:59+01:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#webpage"},"isPartOf":{"@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#webpage"},"articleSection":"ASP.NET MVC, asp.net mvc, mvc, sample"},{"@type":"BreadcrumbList","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr#listItem","position":1,"name":"Home","item":"https:\/\/bratched.com\/fr","nextItem":{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/#listItem","name":"ASP.NET MVC"}},{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/#listItem","position":2,"name":"ASP.NET MVC","item":"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#listItem","name":"Exemple de projet MVC (mis \u00e0 jour)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#listItem","position":3,"name":"Exemple de projet MVC (mis \u00e0 jour)","previousItem":{"@type":"ListItem","@id":"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/#listItem","name":"ASP.NET MVC"}}]},{"@type":"Organization","@id":"https:\/\/bratched.com\/fr\/#organization","name":"Bratched.fr","description":"On parle Windows, C#, Apple, Android, Js, ...","url":"https:\/\/bratched.com\/fr\/"},{"@type":"Person","@id":"https:\/\/bratched.com\/fr\/author\/adminced\/#author","url":"https:\/\/bratched.com\/fr\/author\/adminced\/","name":"Bratched","image":{"@type":"ImageObject","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/05352dcd40ece2c42e5ae2dd683b460b?s=96&d=mm&r=g","width":96,"height":96,"caption":"Bratched"}},{"@type":"WebPage","@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#webpage","url":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/","name":"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/bratched.com\/fr\/#website"},"breadcrumb":{"@id":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/#breadcrumblist"},"author":{"@id":"https:\/\/bratched.com\/fr\/author\/adminced\/#author"},"creator":{"@id":"https:\/\/bratched.com\/fr\/author\/adminced\/#author"},"datePublished":"2012-02-20T19:25:59+01:00","dateModified":"2012-02-20T19:25:59+01:00"},{"@type":"WebSite","@id":"https:\/\/bratched.com\/fr\/#website","url":"https:\/\/bratched.com\/fr\/","name":"Bratched.fr","description":"On parle Windows, C#, Apple, Android, Js, ...","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/bratched.com\/fr\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"Bratched.fr | On parle Windows, C#, Apple, Android, Js, ...","og:type":"article","og:title":"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr","og:url":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/","article:published_time":"2012-02-20T17:25:59+00:00","article:modified_time":"2012-02-20T17:25:59+00:00","twitter:card":"summary","twitter:title":"Exemple de projet MVC (mis \u00e0 jour) | Bratched.fr"},"aioseo_meta_data":{"post_id":"541","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 02:51:48","updated":"2025-06-04 03:18:12","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bratched.com\/fr\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/\" title=\"ASP.NET MVC\">ASP.NET MVC<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExemple de projet MVC (mis \u00e0 jour)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bratched.com\/fr"},{"label":"ASP.NET MVC","link":"https:\/\/bratched.com\/fr\/category\/asp-net-mvc\/"},{"label":"Exemple de projet MVC (mis \u00e0 jour)","link":"https:\/\/bratched.com\/fr\/2012\/02\/20\/exemple-de-projet-mvc-mis-a-jour\/"}],"_links":{"self":[{"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/posts\/541"}],"collection":[{"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":0,"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/posts\/541\/revisions"}],"wp:attachment":[{"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/media?parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/categories?post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bratched.com\/fr\/wp-json\/wp\/v2\/tags?post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}