How to use Notion API from Typescript Azure Function

I鈥檓 a big fan of Notion. It鈥檚 a great piece of software capable of doing countless things鈥娾斺奻rom simple note-taking, habit tracking and Getting Things Done all the way to fully managing the work at a startup. Since May 2021 developers gained access to the beta version of Notion API. It opened up the world of possibilities and already there鈥檙e thousands of integrations, for example through Zapier or

May 28, 2022 路 10 min 路 1987 words 路 Micha艂 呕o艂nieruk

How to create a Telegram Bot with Azure Functions (NET 6, isolated process)

I鈥檝e written about hosting a python based Telegram bot here before. This time we鈥檒l take look at doing it with NET 6, C#, Azure Functions V4 and the still fresh execution mode called isolated process. In this mode, each function runs in a separate environment. GitHub repo with the full solution What we鈥檒l cover creating a sample Azure Functions project and deploying it to your Azure subscription creating a Telegram Bot and using it in a webhook configuration Prerequisites...

May 27, 2022 路 5 min 路 1032 words 路 Micha艂 呕o艂nieruk

Handling expired Azure Blob Storage links in a user-friendly way

馃摑 Use case: your app hosts files in Azure Blob Storage and users can generate expiring links to these files (using SAS tokens) 馃 Problem: when a user opens a link with an expired SAS token, an unfriendly XML is displayed containing a technical error 馃槉 Solution: proxy the link with SAS token through an endpoint (Azure Function in my case), which will either redirect to the file (if the token is still valid) or show a descriptive error message...

May 26, 2022 路 3 min 路 523 words 路 Micha艂 呕o艂nieruk