App Center: Continuous Integration and Delivery for iOS

Original URL…

Descripción

Think about the last time you released an app. How many sessions did your beta testers run? How often did it crash? Where did users spend the most time? Visual Studio App Center gathers this data for you automatically and consolidates into a single web-based dashboard. It also provides a complete continuous-integration/continuous-deployment (CI/CD) solution for your iOS and macOS applications.

You connect your repo to App Center and it builds your apps on cloud-hosted agents, automatically runs unit and UI tests on real devices, and distributes them to beta tester and app stores. After deployment, App Center helps you monitor your apps with crash reports and advanced analytics. It even lets you send targeted push notifications to keep your customers engaged.

This project-based course shows you how to automate your iOS development process. You will start with a provided iOS Swift application and gradually incorporate App Center services. By the end of the course, you will have a native iOS Swift app with a fully integrated CI/CD pipeline.

By the end of this course you will be able to:

  • Build your app in the cloud on demand or on every commit
  • Test on real iOS devices
  • Distribute new builds to beta testers
  • Monitor app crashes and performance with comprehensive analytics
  • Engage your customers with targeted push notifications
¿A quién está dirigido?
  • Mobile app developers interested in learning how to automate management tasks such as testing and monitoring
  • This is an introduction to App Center; no previous experience with App Center is required. Students must have experience with iOS development on a Mac using Xcode and Swift. They should be able to use the Apple developer portal to create provisioning profiles, generate certificates, and register devices. Basic familiarity with GitHub is recommended but not required.

Testing App

Xamarin

Upload your test suite and run it on thousands of real devices in the cloud.

Test your mobile app on thousands of devices

Amazon

Pruebe su aplicación de forma simultánea con una gran variedad de dispositivos físicos en la nube de AWS
Pruebas de aplicaciones móviles automatizadas

Microsoft

Automatice las pruebas de UI en miles de dispositivos reales y cientos de configuraciones en la nube mediante marcos populares, como Appium, Espresso y XCUITest. Pruebe cada interacción de la UI que pueden realizar sus usuarios, y diagnostique errores y problemas de rendimiento cada vez que realice una compilación, con informes de seguimiento paso a paso, capturas de pantalla y registros detallados.

Continuous Quality that’s powerful

Visual Studio Mobile Center

Whether you are creating cloud-native applications, infusing your apps with AI, or just getting started, Connect(); 2017 will inspire you to build the apps of the future. Join Microsoft’s Cloud Chief, Scott Guthrie, and top developer minds for the latest in open source technologies, Azure, Data, AI, DevOps, Visual Studio, Xamarin, and cross-platform applications. More…

XAMARIN

Bugs

  • Bug 54993 Xamarin versions installed by latest Visual Studio for Mac Preview are incompatible with the default Stable Xamarin version installed by Visual Studio on Windows More…
    • Solution: a fecha del: 12/04/2017 – Alternate resolution for VS 2015 and VS 2013 user: update to the 15.2 Alpha versions for Xamarin on Windows
  • Web Apps Documentation.
  • Pluralsight – courses.

Learning

  • Start learning with select Xamarin University courses.

Visual Studio

  • How do I update the Java Development Kit (JDK) version?. Go…
  • Setting up the Android SDK for Visual Studio. Go…

ERROR: Dynamics NAV App – No se puede conectar al servidor

 

Solución : Ejecutar el cmd

CheckNetIsolation.exe LoopbackExempt -a -n=microsoft.dynamicsnav_8wekyb3d8bbwe

Notas: see Link… – How to Connect Dynamics NAV Mobile Client – Published: January 19, 2015 (copy of contents link)

My intention of this post is to show you how to setup the mobile client when using a Windows 8.1 PC or laptop with Dynamics NAV installed in the 3-tier on one computer configuration.  The NAV Team Blog post How to get Microsoft Dynamics NAV for tablets to connect using a self-signed certificate covers how to connect but you must complete a step that is shown in the last comment to fix a loop back issue if using non-server windows.

You need to have Dynamics NAV 2015 already installed with the web client working and be able to connect.  If you need to install NAV, then you can look here to the Installation and Configuration Walkthroughs.  To verify the web client is ready please test the connection by opening a browser and going to the URL http://<machine name>:8080/DynamicsNAV80/WebClient/ . The URL you use should be similar if you used the default settings when you installed NAV.  In my case, 7mz8g12 (this is important later for creating the certificate) is my machine name so my URL is http://7mz8g12:8080/DynamicsNAV80/WebClient/

Moblie Nav-1

You can also see the tablet URL by just adding tablet.aspx to the end of the Web Client URL :8080/DynamicsNAV80/WebClient/tablet.aspx”>

http://<machinename&gt;:8080/DynamicsNAV80/WebClient/tablet.aspx

Moblie Nav-2

Once NAV have been verified, download the mobile client from windows store.  Go to the Store and search for

Dynamics NAV: 

    Moblie Nav-3

You should be brought to a page similar to this:


Moblie Nav-4Click Install and follow the dialogs if this is the first time you are using the store.
You can also ignore:
Moblie Nav-5

The app will work with a mouse and keyboard for non-touch enabled pc and laptops.


Moblie Nav-6

Once you have the app installed you are ready to create the certificate and enable SSL for the NAV tablet app.

1. Create self-signed certificate (These steps are copied from the NAV Team blog post listed above)
a. Download and save the PowerShell script from:
i. https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6#content
b. Open a PowerShell prompt with the option Run As Administrator. I like to use Powershell ISE (C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe) since there is so much more going on with NAV and Powershell in current versions.
i. Go to the directory where you saved the New-SelfSignedCertificateEx.ps1 file and run the following commands:
1. cd <file location>
2. Import-Module .\New-SelfSignedCertificateEx.ps1
ii. Then run the following command (hint: Use the IP address of your computer instead of machine name when creating the certificate, that way you can connect an external tablet to you NAV server):

Moblie Nav-7
As you can see I used only 7mz8g12 (or if IP then 192.168.1.3 for me) for what they call <your site name>
2. Manage the certificate:
a. Open the mmc.exe.
Moblie Nav-8

b. Go to the File menu, and then choose Add/Remove Snap-in…+


Moblie Nav-9

c. Select Certificates.
d. Choose Add.
e. Select the computer account.
Moblie Nav-10

f. Choose Next.

Moblie Nav-11
g.  Finish and then OK.
h. Locate and copy the certificate you just created in the personal/certificates folder.
Moblie Nav-12

i. Copy the certificate and Paste the certificate into the Trusted Root Certification Authorities/Certificates folder. Moblie Nav-13
3. Enable https
a. Here is the official guide:
i. Walkthrough: Configuring Web Services to Use SSL (SOAP and OData)
b. Open IIS Manager
i. Find NAV 2015 Web Client
ii. Click on Edit Site -> Bindings…
iii. Then click Add…
iv. Once in the Add Site Binding dialog select the Type to https and then select the certificate you created.
Moblie Nav-14I have found the IP one more useful:
Moblie Nav-15       

c. Click OK and the certificate should be set.
4. Fix the loopback issue:
a. This part is key for using a non-server pc.
b. If you prefer command line then you can run the following command in Powershell:
CheckNetIsolation.exe LoopbackExempt -a -n=”microsoft.dynamicsnav_8wekyb3d8bbwe”
Moblie Nav-16      

c. Use Fiddler – The free web debugging proxy for the visual approach:
i. Open Fiddler
ii. Select Win8 Config
Moblie Nav-17           
             iii. Make sure the checkbox is checked next to Dynamics NAV if you ran the Powershell command.  If you didn’t, check the box now.

You can test the NAV app connection by entering in the following URL:
https://<machine name>/DynamicsNAV80/
Moblie Nav-18

If everything is correct then you should see:
Moblie Nav-19

If you would like to connect an android and/or iOS device then please complete the steps listed in the How to get Microsoft Dynamics NAV for tablets to connect using a self-signedcertificate.

For more information, feel free to reach out to me at

Self-signed certificate generator (PowerShell)

This script is an enhanced open-source PowerShell implementation of deprecated makecert.exe tool and utilizes the most modern certificate API — CertEnroll.

The script is intended for test environments to ensure that particular application is properly configured to use digital certificates before the application is deployed in a production environment.

The self-signed certificate generator consist of a single PowerShell function named “New-SelfSignedCertificateEx”. Import the function in to current PowerShell session and call the function with desired parameters. More…