===== Lecture 2 : Software Tool to Deploy WS SOAP/WSDL Client Application (Docker) with Visual Studio ===== || || === TEST of the Exercice of the Lecture 1 === * Test with the lecturer (evaluation) your WS-REST client * ** Reminder ** : Your Client must read a city, read the name of a station and diplay all the informations about it. Some additional functionalities may be added : access to the list of the available cities, the list of the station names for one of these cities. A graphical user interface may be provided also. Avant le 19-02-18 23:59:59, envoyez votre projet console client REST de Velib : soit, un zipfile contenant, le dossier de votre solution VS avec son fichier .sln et la sous-arborescence de votre projet. Le zipfile aura pour nom de fichier : _REST.zip à l'attention de tigli@unice.fr Le sujet du mail sera : [RENDU 1 REST CONSOLE and more SoCWS][] === ADVANCED Exercice from Lecture 1 === * ** EXERCICE ** Develop a GUI as a Client of the WS-REST just above, that provides the display of the list of the cities with Velibs, the list of the stations for a selected city, the number of availabl velib on a station of this city. Widgets may be in this case, ListBox, TextBox, etc. === WS-SOAP Client Application with Visual Studio === * 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 ** * 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 === ADVANCED Exercice for WS-SOAP Client Application === * ** EXERCICE ** Develop a GUI Application with a Client of the WS-SOAP/WSDL just above || ==== 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 == || * INSTALLATION of a local [[https://docs.docker.com/docker-for-windows/install/|Docker for Windows]] * TEST IT : * 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]]) * **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 == * How to define and deploy applications with Docker([[https://docs.docker.com/get-started/|Orientation and setup]]) == How to use Docker with Visual Studio == * 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. * 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 * INSTALLATION of the Docker Extension for VS 2017 (With Toosl/Extensions and updates ... online) == Exercice == * Deploy your console Web REST Client on Docker == 11:00 - 11:30 : Initiation to development on Visual Studio IDE with Docker, Tutorial and Demonstration by lecturer in O+310 == * How to use Visual Studio for developing a simple web service deployed on docker (.Net Core : .Net without graphical interface) * How to use Visual Studio for developing a simple web service (.Net) DOCKER GROUPS : Send two names for each Docker Group (couple of students working together in the module) … Docker Containers will be installed for each group (I hope so because it depends on the network bandwidth and school servers capacities), for deploying your SOA applications remotely… Send emails for that with the subject : Docker Group [] [] [] [] To: tigli@unice.fr To: etudes.kumar@orange.fr ----