Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
cours:service_oriented_computing_and_web_services_2017_2018:lecture2 [2018/02/15 12:00] tigli [Lecture 2 : Software Tool to Deploy WS SOAP/WSDL Client Application (Docker) with Visual Studio] |
cours:service_oriented_computing_and_web_services_2017_2018:lecture2 [2018/02/24 13:20] tigli [Software Tool to Deploy Applications and Services : Docker] |
||
---|---|---|---|
Ligne 29: | Ligne 29: | ||
* How to use Visual Studio to develop a console application and a simple Synchronous Client for a Web Service SOAP/WSDL | * How to use Visual Studio to develop a console application and a simple Synchronous Client for a Web Service SOAP/WSDL | ||
* ** 8:45 - 9:00 : Tutorial and Demonstration by lecturer in O+310 ** | * ** 8:45 - 9:00 : Tutorial and Demonstration by lecturer in O+310 ** | ||
- | * How to use Visual Studio to develop a console application and a simple Asynchronous Client for a Web Service SOAP/WSDL :{{:cours:service_oriented_computing_and_web_services_2017_2018:globalweather_async_client.zip|Zip File of the VS Console Async Client}} | + | * How to use Visual Studio to develop a console application and a simple Asynchronous Client for a Web Service SOAP/WSDL :{{:cours:service_oriented_computing_and_web_services_2017_2018:globalweather_async_client.zip|Zip File of the VS Console Async Client}} |
- | * More details about async and await ([[https://docs.microsoft.com/fr-fr/dotnet/csharp/async|Here]]) and best practice | + | * More details about async and await ([[https://docs.microsoft.com/fr-fr/dotnet/csharp/async|Here]]) and best practice |
=== ADVANCED Exercice for WS-SOAP Client Application === | === ADVANCED Exercice for WS-SOAP Client Application === | ||
Ligne 38: | Ligne 38: | ||
|| | || | ||
==== Software Tool to Deploy Applications and Services : Docker ==== | ==== Software Tool to Deploy Applications and Services : Docker ==== | ||
+ | || | ||
+ | Docker CE for Windows is Docker designed to run on Windows 10. It is a native Windows application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. Docker CE for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to develop Docker apps on Windows. Docker CE for Windows supports running both Linux and Windows Docker containers. | ||
+ | |||
+ | == Docker for Windows requirements : Hyper V == | ||
+ | || | ||
+ | ** To verify compatibility **, open up ** PowerShell ** or a command prompt (cmd.exe) and type ** systeminfo **. If all listed Hyper-V requirements have a value of Yes, your system can run the Hyper-V role. If any item returns No, check the requirements listed in this document and make adjustments where possible. | ||
+ | |||
+ | ** To enable Hyper-V using PowerShell **, | ||
+ | * open a PowerShell console as Administrator. | ||
+ | * run the following command PowerShell : | ||
+ | //** Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All **// | ||
+ | * When the installation has completed you need to reboot the computer. | ||
+ | |||
+ | ** Be careful **, Hyper-V cannot be installed on Windows 10 Home or Family ! | ||
+ | If it's not the case, [[https://expertlogiciel.com/eb-blog/155-Comment-mettre-a-niveau-Windows-10-Famille-a-Windows-10-Pro|upgrade it to PRO]]. | ||
+ | |||
+ | See for more details : [[cours:service_oriented_computing_and_web_services_2017_2018:hyper-V|Hyper-V page]]. | ||
== DOCKER INSTALLATION and FIRST USES == | == DOCKER INSTALLATION and FIRST USES == | ||
+ | || | ||
* INSTALLATION of a local [[https://docs.docker.com/docker-for-windows/install/|Docker for Windows]] | * INSTALLATION of a local [[https://docs.docker.com/docker-for-windows/install/|Docker for Windows]] | ||
- | * **Be careful :** Windows 10 of your computer must be at least a PRO release. If it's not the case, [[https://expertlogiciel.com/eb-blog/155-Comment-mettre-a-niveau-Windows-10-Famille-a-Windows-10-Pro|upgrade it to PRO]]. | + | |
- | * Follow step by step until "Kubernetes" section this overview of Docker for Windows, basic Docker command examples, how to get help or give feedback, and links to all topics in the Docker for Windows guide ([[https://docs.docker.com/docker-for-windows/|Get started with Docker for Windows]]) | + | * TEST IT : |
- | * ** Shell Command to Manage Docker ** | + | * Follow step by step until "Kubernetes" section this overview of Docker for Windows, basic Docker command examples, how to get help or give feedback, and links to all topics in the Docker for Windows guide ([[https://docs.docker.com/docker-for-windows/|Get started with Docker for Windows]]) |
- | * MANUAL [[https://docs.docker.com/engine/reference/commandline/docker/|The base command for the Docker CLI]] | + | * **Be careful :** Windows 10 of your computer must be at least a PRO release. If it's not the case, [[https://expertlogiciel.com/eb-blog/155-Comment-mettre-a-niveau-Windows-10-Famille-a-Windows-10-Pro|upgrade it to PRO]]. |
+ | * ** Shell Command to Manage Docker ** : [[https://docs.docker.com/engine/reference/commandline/docker/|Manual of the base command for the Docker CLI]] | ||
== ADVANCED Uses of Docker == | == ADVANCED Uses of Docker == | ||
Ligne 51: | Ligne 71: | ||
== How to use Docker with Visual Studio == | == How to use Docker with Visual Studio == | ||
- | * INSTALLATION of Docker.DotNet (NuGet package) in VS 20 17 (With Nuget Packages Manager in the Tools Menu)) | + | * INSTALLATION of **Docker.DotNet** (NuGet package) in VS 2017 (With Nuget Packages Manager in the Tools Menu)): Docker.DotNet is a library that allows you to interact with the Docker Remote API programmatically with fully asynchronous, non-blocking and object-oriented code in your .NET applications. |
- | * To test it, don't forget to run Docker before from "Docker for Windows" App. | + | |
+ | * TEST IT : | ||
+ | * Be careful don't forget to run Visual Studio as Administrator | ||
+ | * To test it, don't forget to run Docker before "Docker for Windows" App. | ||
* https://docs.docker.com/engine/examples/dotnetcore/#build-and-run-the-docker-image | * https://docs.docker.com/engine/examples/dotnetcore/#build-and-run-the-docker-image | ||
+ | |||
* INSTALLATION of the Docker Extension for VS 2017 (With Toosl/Extensions and updates ... online) | * INSTALLATION of the Docker Extension for VS 2017 (With Toosl/Extensions and updates ... online) | ||