{"id":1275,"date":"2013-01-24T06:11:17","date_gmt":"2013-01-24T06:11:17","guid":{"rendered":"http:\/\/nestor.nestasoft.fr\/?p=1275"},"modified":"2013-01-24T06:17:20","modified_gmt":"2013-01-24T06:17:20","slug":"prise-en-main-de-windows-azure-23-dbogage","status":"publish","type":"post","link":"https:\/\/nestasoft.fr\/?p=1275","title":{"rendered":"Prise en main de Windows Azure [2\/3] : D\u00e9bogage"},"content":{"rendered":"<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/logo.PNG\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px 10px 0px 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/logo.PNG\" width=\"136\" height=\"64\" \/><\/a><\/p>\n<p>Dans ce billet, nous nous attarderons sur le d\u00e9bogage d\u2019une WAZA ASP.NET MVC 4.<\/p>\n<p><span style=\"font-size: small\"><span style=\"line-height: 19px\">Dans le billet pr\u00e9c\u00e9dent, nous avons pr\u00e9par\u00e9 le terrain pour \u00e9crire du code. No<\/span><\/span><span style=\"font-size: small\"><span style=\"line-height: 19px\">tre application ressemblera \u00e0 ceci : <\/span><\/span><\/p>\n<p><span style=\"font-size: small\"><span style=\"line-height: 19px\">&#160;<\/span><\/span><\/p>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/WAZW.PNG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/WAZA.PNG\" width=\"600\" height=\"347\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>Voici le contenu de notre fichier d\u2019entr\u00e9e (index.cshtml)<\/p>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/indexCSHTML.PNG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2012\/12\/indexCSHTML.PNG\" width=\"467\" height=\"487\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>Pour commencer le d\u00e9bogage, appuyer la touche &lt;F5&gt; de votre clavier. <\/p>\n<p>D\u00e9marrer ensuite l\u2019\u00e9mulateur.<\/p>\n<p>Pour afficher l\u2019interface utilisateur de l\u2019\u00e9mulateur, faite un clique droit sur l\u2019icone de Windows Azure et s\u00e9lectionnez \u201cShow Compute Emulator UI\u201d.<\/p>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/emulateur.PNG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/emulateur.PNG\" width=\"307\" height=\"220\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>Le volet gauche de l&rsquo;interface utilisateur affiche les instances de r\u00f4le en cours d&rsquo;ex\u00e9cution dans l&rsquo;\u00e9mulateur. Vous pouvez cliquer sur le service ou les r\u00f4les pour afficher cycle de vie, les log et des informations de diagnostic.<\/p>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/emulateur2.PNG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/emulateur2.PNG\" width=\"600\" height=\"448\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>Note : Lorsque vous mettez fin \u00e0 l\u2019ex\u00e9cution de votre application (STOP), l&rsquo;\u00e9mulateur de calcul et de stockage ne sont pas arr\u00eat\u00e9s. Vous devez les arr\u00eater explicitement dans la barre d&rsquo;\u00e9tat syst\u00e8me.<\/p>\n<p>&#160;<\/p>\n<p><strong>Nouvelles instances lors du d\u00e9bogage<\/strong><\/p>\n<p>L\u2019on peut modifier la configuration d&rsquo;une application en cours d&rsquo;ex\u00e9cution dans le d\u00e9bogueur. Toutefois, si vous ajoutez des instances suppl\u00e9mentaires d&rsquo;un r\u00f4le \u00e0 une application en cours d&rsquo;ex\u00e9cution, le d\u00e9bogueur ne l\u2019attache pas automatiquement.<\/p>\n<p>Pour d\u00e9boguer vos nouvelles instances, vous devez explicitement les attacher \u00e0 leurs processus. <\/p>\n<p>Pour se faire, cliquez sur le menu \u2018<strong>D\u00e9boguer<\/strong>\u2019, ensuite \u2018<strong>Attacher au processus\u2019<\/strong>, s\u00e9lectionnez le processus WaHostBoot.exe , puis cliquez sur \u2018<strong>Attacher<\/strong>\u2019. <\/p>\n<p>Si vous arr\u00eatez le d\u00e9bogage puis red\u00e9marrez les service dans le d\u00e9bogueur, le d\u00e9bogueur s&rsquo;attachera automatiquement \u00e0 toutes les instances des r\u00f4les en cours d&rsquo;ex\u00e9cution.<\/p>\n<p><a href=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/processus3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/nestor.nestasoft.fr\/wp-content\/uploads\/2013\/01\/processus3.png\" width=\"600\" height=\"419\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>Be connected!<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1275\" class=\"pvc_stats all  \" data-element-id=\"1275\" 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>Dans ce billet, nous nous attarderons sur le d\u00e9bogage d\u2019une WAZA ASP.NET MVC 4. Dans le billet pr\u00e9c\u00e9dent, nous avons pr\u00e9par\u00e9 le terrain pour \u00e9crire du code. Notre application ressemblera \u00e0 ceci : &#160; &#160; Voici le contenu de notre fichier d\u2019entr\u00e9e (index.cshtml) &#160; Pour commencer le d\u00e9bogage, appuyer la touche &lt;F5&gt; de votre clavier. [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1275\" class=\"pvc_stats all  \" data-element-id=\"1275\" 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":1317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1275","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1275","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=1275"}],"version-history":[{"count":3,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1275\/revisions"}],"predecessor-version":[{"id":1279,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/posts\/1275\/revisions\/1279"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=\/wp\/v2\/media\/1317"}],"wp:attachment":[{"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nestasoft.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}