Skip to content

Azure.RequestFailedException when start App in Visual Studio

The app that I am developing now connects to Azure services and DefaultCredential were used for that. In Azure the authentication between services works with managed identities and I am satisfied with them, but while the development I've got an error "Azure.RequestFailedException: Server failed to authenticate the request", so I really didn't know what to do. Yesterday it worked, today not.

(more...)

Pipeline sequence in PowerShell

Here’s an example of a pipeline sequence in PowerShell — a simple but powerful concept.
Imagine you forgot to clean up your old log files. Or, as I had to do today, you open the dreaded folder 'inetpub/mailroot/Badmail' on a dev server and see thousands of files.

(more...)

I use the context service as a singletone in the app. What do you think, is this a good way to initialize and use context the way like this (see below) is it better just to use it as disposable? See examples below and write the comments

(more...)