Gestion du cycle de vie d’un site Web dans Azure QC | Pratique Microsoft | 2015
Gestion du cycle de vie d’un site Web dans Azure QC | Pratique Microsoft | 2015-02-26 Azure – ASP.NET MVC – EntityFramework – Visual Studio Online – DevOps – Git Icaro Camelo et Mathieu Benoit 2 Objectifs GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Faire découvrir des concepts autour de : Microsoft Azure ASP.NET MVC DevOps Donner des astuces et références pour vos futurs projets et pas seulement qu’avec Microsoft. Montrer l’ouverture de Microsoft : API - Interopérabilité Open Source Multiplatforme 3 Contexte GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Nurun Services conseils Services Stratégie Design Technologie Pratique Microsoft Support, veille et présentations Formations et certifications Renforcer l’offre de service Membre de la Chaire de l’Université Laval Sensibiliser Promouvoir Partager Échanger 4 Sommaire Introduction 1 Planifier 2 Développer 3 Tester 5 Exploiter et apprendre 6 Conclusion 7 Déployer 4 Références 8 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 5 Introduction 6 3 4 5 2 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 1 6 DevOps GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Production Développement Exploiter et apprendre Planifier Développer+ tester DéployerCollaboration 7 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. Archiver 1. Développer 4. Déployer 5. Tester 7. Exploiter 8. Apprendre 3. Construire 6. Échanger 0. Planifier 8 Microsoft Azure GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Configuration Hybride IaaS et PaaS Ouverture et flexibilité Économique et échelonnable Partout dans le monde Disponibilité 9 //démo Tour d’horizon des portails Azure GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 10 Azure – Scénarios d’hébergement GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 10On PremisesStorageServersNetworkingO/SMiddlewareVirtualizationDataApplicationsRuntimeVousgérezInfrastructure(as a Service)StorageServersNetworkingO/SMiddlewareVirtualizationDataApplicationsRuntimeGérépar un fournisseurVousgérezPlatform(as a Service)Gérépar un fournisseurVousgérezStorageServersNetworkingO/SMiddlewareVirtualizationApplicationsRuntimeDataSoftware(as a Service)Gérépar un fournisseurStorageServersNetworkingO/SMiddlewareVirtualizationApplicationsRuntimeData 11 Planifier Visual Studio Online + Site web hébergé dans Azure = Meilleures communication, collaboration et optimisation des coûts 1 6 3 4 5 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 2 12 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. Archiver 1. Développer 4. Déployer 5. Tester 7. Exploiter 8. Apprendre 3. Construire 6. Échanger 0. Planifier Azure 13 Visual Studio Online UNIVERSITÉ LAVAL 2015Source ReposTest Case ManagementFeedback ManagementBuild and Continuous IntegrationAgile PlanningTeam RoomsTeam Foundation Server Visual Studio Online BuildService|LoadTestingService|ApplicationInsights|ContinuousDeploymenttoAzure|CodeEditingLabManagement|LoadTesting|SharePoint|ProjectServer|SystemCenter 14 //démo Introduction à Visual Studio Online GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 15 Site Web dans Azure GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Conçu pour la sécurité des applications Connections hybrides / VPN Sauvegardes planifiées Azure Active Directory Web Jobs Gestion de cache Redis Restrictions d’IP / SSL Web Sockets SQL, MySQL, DocDB et Mongo Optimisé pour la disponibilité et l’ajustement Déploiement automatisé Échelonnage automatique Répartition de charges Surveillance des points de terminaison Compression HTTP Mise à disposition de contenu volumineux (CDN) Construit pour DevOps : Agilité par le déploiement continu Débogage distant avec Visual Studio Espaces de déploiement Test en Production Git, Visual Studio Online, GitHub, etc. .NET, PHP, Python, Java, Node Journalisation et Audit 16 //démo Site Web dans Azure depuis le portail GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 17 Développer Visual Studio + ASP.NET MVC + Git = Être plus performant 1 6 4 5 2 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 3 18 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. Archiver 1. Développer 4. Déployer 5. Tester 7. Exploiter 8. Apprendre 3. Construire 6. Échanger 0. Planifier Azure 19 Visual Studio Community GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 20 //démo Tour d’horizon de Visual Studio Community GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 21 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Future de .NET 22 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE ASP.NET 23 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE MVC Controller Model View 24 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE ASP.NET - MVC 6 (vNext) 25 //démo Application ASP.NET MVC depuis Visual Studio GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 26 EntityFramework GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Database first Code fisrt 27 Mapping Objet-Relationnel (ORM) Productivité Gain de temps sur l’interaction avec la base de données Maintenance de l’application Tests et évolutions concentrés sur notre modèle métier et pas sur la base de données Conception de l’application Architecture, Patron de conception, etc. Réutilisation de code Entre plusieurs applications GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 28 //démo Modèle métier « Code first » avec EntityFramework GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 29 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE ASP.NET - WebAPI ApiController Model 30 WebAPI vs. WCF GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 31 //démo Service web de type WebAPI GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 32 Git GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 33 Git Redondance et replication des données Il n’y a pas qu’un seul serveur central sur lequel tout le monde est connecté. Chacun a son espace de travail local. Haute disponibilité Même si le serveur ou la connection internet ne fonctionnent pas, on peut travailler (commits) en local. Collaboration sous forme de contribution La collaboration est simplifiée et mise en avant avec la notion de groupe de contributeurs. Pas seulement pour le code GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 34 //démo Dépôt Git GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 35 Déployer Déployer souvent pour éviter les mises en Production « cowboy » 1 6 3 5 2 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 4 36 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. Archiver 1. Développer 4. Déployer 5. Tester 7. Exploiter 8. Apprendre 3. Construire 6. Échanger 0. Planifier Azure 37 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Livraison continue vs Déploiement continu Plan Develop Build Test Release Deploy Continuous Integration Continuous Delivery Continuous Deployment 38 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Rapidité, Qualité, Concentration et Clarté 39 //démo Du déploiement manuel au déploiement automatique GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 40 Tester Des tests unitaires aux tests en Production, ils doivent faire partie intégrante de la notion de « fini » 1 6 3 4 2 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 5 41 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. Archiver 1. Développer 4. Déployer 5. Tester 7. Exploiter 8. Apprendre 3. Construire 6. Échanger 0. Planifier Azure 42 Tests unitaires GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Intégrés au processus de développement et de déploiement Indépendant et simple Si un test ne passe pas, le déploiement échoue ! Garantir Le bon fonctionnement du code La non régression Le respect des bonnes pratiques de développement 43 Tests fonctionnels GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Fonctionnalité de base intégrée à Visual Studio Online Il existe la possibilité de créer des tests fonctionnels plus avancés avec Visual Studio Tests exploratoires Tests basés sur des exigences Plans de tests Paramètres partagés Captures Informations systèmes Étapes Pièces jointes 44 //démo Les plans de tests font partie intégrante du Backlog, ils doivent être paramétrables et répétables pour gagner en automatisation GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 45 Tests de charge GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Fonctionnalité de base depuis Visual Studio Online Il existe la possibilité de créer des tests de charge plus avancés avec Visual Studio Pas besoin de vos propres machines et ressources Haut volume d’accès utilisateurs en même temps pour une fonctionnalité Paramétrages Nombre d’utilisateurs Durée des tests Délais entre deux requêtes Distribution des utilisateurs par type de navigateurs Web 46 //démo « Ça compile », « Ça passe les tests unitaires et fonctionnels », mais est-ce que ça répond à un pic de charge ? GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 47 Tests en Production GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE Plusieurs déploiements sur plusieurs URL Déploiement de version alpha ou béta Répartition du trafic en % 90% sur le site principal 10% sur le site en béta 48 //démo « Testing in Production » une fonctionnalité du nouveau portail Azure GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 49 Exploiter et apprendre Des statistiques aux diagnostiques 1 3 4 5 2 7 GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 8 6 50 Apprentissage continu GESTION DU CYCLE DE VIE D’UN SITE WEB DANS AZURE 2. uploads/Management/ qc-pratique-microsoft-2015-02-26-gestion-du-cycle-de-vie-d-x27-un-site-web-dans-azure.pdf
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/edp4gG908pozMDDNyDlBdmIr0Yco8ZigXNrOdd70QtHiUh8Lre9bJlDGSRSJG1Fn8F0keFjE99UnZI11o2JQO8uF.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/UfEWPv6Nhgy3VK8g2L5ZKbTz98hOLDM3clbFxbPXmu6LnK6vYlGA5a6AV5S2zSA3eGFdV1vB1qW4KafOVPLaUzKe.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/v2Hz3WIPnFUgiLYLNSuRvHCtq91xVZhOkqFJ9Vpzyl4F9xfuiRJnHWzH15RUKRfikYKqLnX1iMT9fXRdPojpo0um.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/aDEAl7ZBUvzIWKDOMnm8GWsNdEAjBhnBibOVxygEJzvIZOFVWffiuD07fhUkOozu5MLvVlV6MBeTq4TVtQD0vKMf.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/bKCCTbfSNyE0FlsMn1G12eAHpnAvFfhoF8UfpIDvZklkihdE07K6JHRuiBYixpqIj7US3vr22P5n43Pzki0gcnmw.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/OhsMURVaNysxyoogv3m7c761WnVVy6BXVxFF9lcX0GGaObOtaleRFfSVCYWaD31FQavmrGdtH7o6zhfH6fy3UXEd.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Y2XvM2kEtcw0DWQonrdUMv2JhbimeEFsxo0PD428RDuhVQZNPTUirJkX33i8ul0EKPDNSqJXnTF0YQnRLLO2S0Wi.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/niMyMjguNahHph046mLT4WRxBk6CnyK569wUI164N6LyMWrnJC7zwbbh2AVZA6a4T2HwnLDS0Ye1WnWjk5cTapdA.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/AM8Z5T61hbtm8T33y7zpl6JEZtWUrCE4DD0TT2rrdAvwd2mligwwRKB7QPVtOHbDwKXNbDM4J6Vgb0OZAyH311iS.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/uzZ8idHz1w1yMwzxnKZtNv5cA4BUbBTJ5CA8CHfiB6HwOwPeL0uHLq29S7SpN8FOf8gwGpRURDGOQiui4nocq0Rr.png)
-
22
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Nov 22, 2021
- Catégorie Management
- Langue French
- Taille du fichier 1.6443MB