Microsoft Azure DevOps tools

The Azure DevOps tools provide access to the Azure environment to create, manage and monitor Azure Cloud resources

Azure DevOps Web Portal

All DevOps operations are available through the Azure DevOps Web Portal. To access it navigate to dev.azure.com

Azure Command Line Interface

Use the terminal to interact with the Azure Cloud. See Microsoft Azure CLI

IDEs and Editors

The Azure connectivity is available in

  • Visual Studio
  • Visual Studio Code

Microsoft Azure DevOps Overview

Azure Boards

Kanban boards to manage project tasks, like Jira. Columns:

  • New
  • Active
  • Staging
  • Deployed

Azure Repos

Unlimited free private source code repositories

  • Git
  • Team Foundation Version Control (TFVC)
  • GitHub

Azure Test Plans

Dashboard the create and monitor tests

  • Tests for web and desktop applications
  • Manual tests
  • Exploratory tests – to discover the code and test it

Azure Artifacts

  • Integrated package management
  • Shared packages for the team
  • Supports NuGet, npm, Maven packages
  • Support for private and public sources

Configuring ChatGPT for Software Development

ChatGPT Enterprise promises not to use chat history for model training, so the enterprise data stays within the environment.

To set up ChatGPT for software development

On macOS

Install the Codex CLI command line tool with Homebrew

brew install codex

or with npm

npm i -g @openai/codex

On Windows

See the Windows setup guide at Running Codex on Windows

Launch Codex CLI

In the terminal execute

codex

Sign in with ChatGPT

Chose the login method you used to create the account. Fort SSO authentication enter your company email address and click the Continue button.

If you get the error message

An error occurred during authentication (codex_cli_workspace_disabled). Please try again.

You can contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID

the Codex CLI feature is not enabled in your account.

To update Codex CLI

In a terminal execute

npm i -g @openai/codex@latest

Practical Travel Tips for Europe

These tips are for amateurs, who don’t travel regularly. When we started this journey, we had some ideas on what to expect, but there are some details, I wish knew before. If you are a seasoned traveller, you will find some obvious observations, so feel free to skip them. If one person will find it useful, it already made sense to write it down.

Our itinerary

  • Paris France – 4 nights
  • Nice France – 3 nights
  • Toulon France – 1 night
  • Geneve Switzerland – 3 nights
  • Paris France – 2 nights

Hotels

We used Booking.com to find the hotels which had the highest ratings and reasonable price. As we mostly travelled by train and used local transportation, we were looking for places near to Metro (subway) stations and not too far from railway stations.

Nights and Days

As you know, travel between distant cities takes time, especially if you travel by airplane. In Europe you usually spend more time at the airport waiting for your boarding and your luggage, than in the air. It is safe to assume, that on the day of travel, you can only do some walking or catch the last hop-on hop-off bus, eat dinner, but not much more. So if you want to spend an entire day at a place, you need to stay for two nights.

Packing

  • Passports (visa if needed)
  • Credit cards with no foreign transaction fee
  • Debit card to withdraw cash from an ATM
  • Insulated water bottle
  • Strong string to dry clothes
  • Small shower gel
  • Small hand soap
  • Small shampoo
  • Extra tooth brush
  • Flip-flops to use then in the shower
  • Small TSA approved lock to secure the main zipper of your luggage
  • Small lock with a thin steel cable to tie your luggage to the train rack or two luggages together.
  • Battery power pack with charging cables to charge your phone on the go
  • Phone charger with travel adaptor for the countries you visit

Arriving to a new place

Greet locals in their own language

Learn four expressions:

  • Good morning
  • Good evening
  • See you later
  • Thank you

If you start the conversation in the local language, you demonstrate, that you honor their culture and took the time to explore it. You distinguish yourself from 99% of the tourists they are tired of. Everyone we met on our journey was very nice and helpful after we greeted them in french. The younger generation speaks english very well, and they were glad to practice it.

Getting to the hotel

In Europe usually Bolt is less expensive than Uber. Download the application in advance, and set up an account. Once you arrive to the city, just call a Bolt. Local “taxis” can be fake and you never know in advance how much the trip will cost. As Uber, Bolt gives you the cost, the model, license plate of the vehicle, and the name of the driver in advance.

Paying for things

At many places the card reader will ask you if you want to pay in local currency, or in your currency. Our experience is, it is less expensive to pay in local currency and have your credit card company charge you for the conversion.

Local Transportation

In Europe public transportation is excellent. At the airport or train station look for the tourist information desk and buy day passes for the duration of your stay. You can use them on the Metro, buses, street cars and many times local trains around the city. At night, if you don’t feel comfortable to go back to your hotel in the dark, call a Bolt from a safe place.

Public Toilets

In Europe you usually have to pay 1 Euro to use the public toilet. In Switzerland you can use a credit card, but in France you usually need cash.

First Sightseeing Trip

We always try to take the Hop-on Hop-off bus on the day of arrival. For 25-30 euros you get a great guided city tour in your language. It takes you to the most interesting places, and helps you to decide what to visit the next day.

Open and Save panel is unresponsive in macOS

First, I noticed, that Visual Studio is very slow:

  • debugging does not start for hours,
  • repository detection, that normally works by using the folder of the currently active file, takes hours,
  • the context sensitive menu activated by the right-mouse click does not show language specific functions,
  • the save file dialog is unresponsive.

Later, I noticed, that the open and save panel in every application is very slow or unresponsive. When I quit OneDrive, all problems disappeared.

Solution:

Restart OneDrive, or if that does not help, quit OneDrive at least for the time you want to use the open and save dialog.

Debugging Node.js applications with Visual Studio Code

To enable faster debugging in Visual Studio Code, add the outFiles attribute to the launch.json

        {
            "name": "Node - My App",
            "command": "npm run start:dev",
            "request": "launch",
            "type": "node-terminal",
            "cwd":  "/ABSOLUTE_PATH_TO_MY/APP_FOLDER",
            "outFiles": [
                "${cwd}/build/**/*.js",
                // To step into node modules,
                // "!**/node_modules/**" 
            ]
        },

Add “sourceMap”: true to the tsconfig.json file to create source map files for emitted JavaScript files.

{
  "compilerOptions": {
...
    "sourceMap": true,
...
  }
}

Build a .NET Core C# application on a Linux computer

GitHub Actions usually run on Linux workers. GitHub provides worker configuration recommendations, and those are usually Linux based.

To build our .NET Core C# application on a Linux machine

Install the dotnet-sdk

On MacOS

brew update
brew install dotnet-sdk

On Ubuntu

apt-get install dotnet-sdk

On Red Hat

yum install dotnet-sdk

Build the application

Open a terminal in the project’s directory

Restore the NuGet packages

dotnet restore

Build the project

Specify the –runtime to make sure the necessary libraries are included

dotnet build --runtime win-x64 --configuration Release MY_DOTNET_CORE_PROJECT.csproj

TARGETDIR property is ignored during application install

The C# Setup.msi installer can take an argument, TARGETDIR to set the install location of the application.

 msiexec.exe /i "Setup.msi" /qn /norestart TARGETDIR="D:\MY_APP_DIRECTORY"

If the application is already installed on the computer, and we try to change the install location without first uninstalling it, the installer ignores the value in the TARGETDIR property.

To be able to install the application at a new location, first uninstall the application and run the Setup.msi again.

Turn off “If the running task does not end when requested, force it to stop” with PowerShell

Windows scheduled tasks are used to automatically execute processes on a set schedule.

To allow a long running process to continue, even if the scheduled task would start it again before the process completion, we need to uncheck the “If the running task does not end when requested, force it to stop” option.

When we use PowerShell to create the scheduled task, in the New-ScheduledTaskSettingsSet command use the -DisallowHardTerminate option.

    $settings = New-ScheduledTaskSettingsSet `
        -AllowStartIfOnBatteries `
        -DontStopIfGoingOnBatteries `
        -StartWhenAvailable `
        -RunOnlyIfNetworkAvailable:$false `
        -ExecutionTimeLimit (New-TimeSpan -Hours 12) `
        -MultipleInstances IgnoreNew `
        -DisallowHardTerminate

Working with SSIS packages in Visual Studio

To be able to create, edit, and test MSSQL SSIS package solutions in Visual Studio Community edition we need to install the SQL Server Data Tools under Data storage and processing in the list of workloads.

  • Start the Visual Studio Installer from the Windows Start Menu,
  • Select the installed Visual Studio instance you want to update,
  • In the Web and Cloud section select the Data storage and processing panel,
  • On the right side check SQL Server Data Tools

  • At the bottom of the page click the Modify button.

Creating SQL Server Integration Services (SSIS) projects

SSIS extension download locations

Installation

  • Open a command window as Administrator
  • Execute the downloaded installer package

See Integration Services (SSIS) Projects and Solutions for more information