Caching Dev Proxy in your GitHub Actions workflows
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
3w ago
In the previous posts, I explained using the Microsoft’s Dev Proxy in a GitHub Actions workflow on a macOS and Ubuntu virtual machine. One thing I noticed is that the Dev Proxy installation fails in some runs. Show image Failed to install the Dev Proxy A way to solve this issue is by caching the Dev Proxy, and another benefit is that it speeds up your workflow. This blog post shows how to cache the Dev Proxy in your GitHub Actions workflows. By caching it, it uses the cached version if it is available, and if not, it will download and install it. Retrieving the latest Dev Proxy version number ..read more
Visit website
Using Dev Proxy in your GitHub Actions workflow on Ubuntu
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
3w ago
In my previous blog post, I explained how you could use the Microsoft’s Dev Proxy in a GitHub Actions workflow on a macOS runner. In this blog post, I will show you how to use the Dev Proxy in your GitHub Actions workflow on an Ubuntu runner. info You can read how to configure it on a macOS runner in the Using Dev Proxy in your GitHub Actions workflow on a macOS runner article. Most of the steps are the same, except how you trust the root certificate. Installing and running the Dev Proxy Like the macOS runner, you can install the bash script provided in the Dev Proxy documentation on the Ubu ..read more
Visit website
Using Dev Proxy in your GitHub Actions workflow on macOS
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
3w ago
Lately, I have been working with the Microsoft’s Dev Proxy, a tool for API simulation, mocking, and testing. One of the things I wanted to try was to use the Dev Proxy in a GitHub Actions workflow so that I could use it in combination with Playwright to test my solutions with mocked APIs. The Dev Proxy is a .NET Core application that can run on any platform that supports .NET Core, so it works on Windows, Linux, and macOS. I chose to use a macOS virtual machine/runner because, at the time of writing, the Dev Proxy cannot automatically trust the root certificate. info Currently there is an iss ..read more
Visit website
#DevHack: use the synchronous Azure translation API in Node
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
The Azure AI Translator service has a new synchronous API in preview. The nice thing about this API is that it does not require any Azure Storage account to be set up to which you typically need to upload the files to be translated. Instead, you can just send the document to be translated directly to the API and you will get the translated document back. info You can read more information about the synchronous API on the Get started with synchronous translation article. In this post, I will show you how to use the synchronous Azure translation API in Node.js. Calling the synchronous Azure tr ..read more
Visit website
Locally verifying GitHub Actions Job Summaries
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
GitHub Actions Job Summaries are a great way to provide more information on your job’s output. This summary is shown in the Actions tab of your repository. Show image GitHub Actions reporter for Playwright with details markup info You can read more about it on Supercharging GitHub Actions with Job Summaries In this post, I’ll explain how you can locally develop and test your GitHub Actions Job Summary outputs using the @actions/core dependency. info Testing your summary locally will save you some time, as you don’t have to push your changes to GitHub to see if your summary output is workin ..read more
Visit website
Using CLI for Microsoft 365 in TypeScript Azure Functions
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
The CLI for Microsoft 365 allows you to manage your Microsoft 365 tenant settings and data. It provides a powerful and flexible way to automate tasks for Microsoft 365, and lately, I have been using it in my Azure Functions to automate a couple of tasks. In this article, I will show you how to use the CLI for Microsoft 365 in TypeScript Azure Functions by explaining the following: Configuring certificate-based authentication Using the certificate logging in the Azure Function for CLI for Microsoft 365 Using CLI for Microsoft 365 in TypeScript Azure Functions Prerequisites To follow along wit ..read more
Visit website
Add a support link for a VSCode extension on the marketplace
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
While preparing a new release for Front Matter CMS, I noticed an API call to GitHub failing from the Visual Studio Code marketplace. While looking into it, it requested a SUPPORT.md file in the repository’s root. Show image VSCode Marketplace - Call for the SUPPORT.md file The VSCode Marketplace uses the following API format: https://api.github.com/repos/username/repo/contents/SUPPORT.md. info You can find more information in the get repository content GitHub API documentation. This API returns more information about the file if it exists, like the download_url and html_url. The html_url li ..read more
Visit website
Running .NET Azure Functions on macOS and Visual Studio Code
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
TypeScript is typically my go-to language for building any solution, but sometimes, you must use what is best for the job. In my current project, I am using .NET Core to build Azure Functions, and I had to get myself familiar with using .Net Core and Azure Functions on macOS. As the Microsoft documentation only explained it with Visual Studio for Mac, I had to figure out how to get it working with Visual Studio Code. This post will describe getting .NET Core and Azure Functions working on macOS with Visual Studio Code. Prerequisites To start building. NET-based Azure Functions, you need to ins ..read more
Visit website
Help my browser keeps refreshing my SharePoint page
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
1M ago
One of my customers reported that their SharePoint page kept refreshing in Firefox. While investigating the issue, it turned out it was an issue with the Microsoft Graph permission scope that was missing. All we had to do was approve the permission scope in the SharePoint Admin Center - API access page, and it was fixed; the page stopped refreshing. Although the solution is simple, I wanted to understand why this was happening. Why does the page keep refreshing? Let us first check the experience: SharePoint page refresh issue When you look closely at the video, you will see that the page gets ..read more
Visit website
Protect keys by keeping those out of your VS Code settings
Elio Struyf - MVP Office Servers and Services
by Elio Struyf
2M ago
While implementing the i18n (internationalization) features in Front Matter CMS, I wanted to include the ability for users to use DeepL to translate their content automatically. To be able to use DeepL, you need to have an authentication key, and the user will provide this authentication key. Initially, I defined it as a configurable setting in the extension. It is the most straightforward way to do it, but then I realized that keeping the key in the extension settings would be a bad idea as it might lead to a security risk. In this post, I will explain why it is a bad idea and how you can pro ..read more
Visit website

Follow Elio Struyf - MVP Office Servers and Services on FeedSpot

Continue with Google
Continue with Apple
OR