Skip to content

yer.ac | Adventures of a developer, and other things.

  • About
  • Github
  • Dev.to

yer.ac | Adventures of a developer, and other things.

Blog to keep track of things I am upto

Polymorphic Serialization & Deserialziation of Interface implementations in dotnet

March 24, 2023 by yer.ac

I will preface this by saying this is not a brilliant idea, as you lose the benefit of a descriptive model (especially in swagger), and its somewhat brittle if you add more types. Honestly it started as a “It would be nice if I could do this in this scenario..” and just went down the …

Continue Reading

VS2019 (+2022) keeps asking for Azure Devops Credentials on build

October 6, 2021 by yer.ac

We run our own nuget feed via Azure, and despite the user that’s logged into VS is authenticated users are constantly asked to provide their credentials again when package restore is happening. A quick fix below – Mostly so I don’t forget or can forward this to others later. Verify no “out of date” credentials …

Fixing “hostfxr.dll could not be found” within Windows Docker container (.NET installed from dotnet-install.ps1)

October 6, 2021 by yer.ac

This is here mostly for my own reference for next time I need to fix this, but may be useful to someone else. Installing .NET (5, Core, etc.) via the Microsoft Supplied “dotnet-install.ps1″(https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script) installs the frameworks fine, but then running .net core code within that windows container would sometimes yield an error like The problem …

Continue Reading

Consuming a JSON file for automatic params in PowerShell

June 29, 2021 by yer.ac

More of a note for future me…. Typically in PowerShell when there is a requirement for reading an external file to set parameters, I would read in a file using the Get-Content and converting it to JSON, perhaps something like The problem with this is that if you have a particularly large or complex JSON …

Continue Reading

Using PodGrab & Docker to backup my favorite podcasts (In this case on a QNAP NAS)

April 22, 2021 by yer.ac

Whilst it’s not a certainty that data will removed from the web, it does happen (See /r/datahoarder and /r/lostmedia). As I get all my podcasts through Spotify these days I have no control if they suddenly pull their account, or stop the show. There are also other use cases, like wanting the offline MP3 to …

Continue Reading

Moving local workspaces between users VS2019/TFS [Self Hosted/ Azure Devops]

March 11, 2021 by yer.ac

Whilst I use GIT for most my source control these days, I still have some projects in TFSVC. On a recent switch of Visual Studio accounts I temporarily lost access to my mapped workspaces as these are linked to the VS logged in user, rather than to the machine. This post will show migrating a …

Continue Reading

Adding VS Developer Command Prompt To Windows Terminal (VS 2019)

March 10, 2021 by yer.ac

In an effort to be using Windows Terminal for everything Powershell/Command related these days it occurred to me that I hadn’t moved my VS2019 Command Prompt to Windows Terminal. This meant having to open VS all the time (as well as make sure that the command was mapped in external tools!) (If you need help …

Continue Reading

Supporting multiple configurations in Cypress

February 7, 2020 by yer.ac

By default, Cypress will support a single configuration based on the optional file cypress.json as described in their documentation here. Whilst this works fine for most, it would be great if we could have access to a cypress.dev.json for local development, or even better, a whole host of configuration files for use against a multi-tenant …

Continue Reading

⚡lightning-fast testing of web applications with Cypress

February 20, 2020 by yer.ac

Cypress (Cypress.io) is an automation framework for web app testing built and configured with Javascript. Automated front-end testing is definitely not new, but Cypress really is something different. It’s silly fast, requires almost no setup, has quick-to-learn syntax and has a really nice, feature packed test runner. Why Cypress? I’ll let you read the summary …

Continue Reading

Using Docker Containers for easy local WordPress development?

June 17, 2020 by yer.ac

Creating WordPress development environment using Docker containers.

Continue Reading

Posts navigation

  • 1
  • 2
  • 3
  • Next

Dev.To Profile

Rich's DEV Profile

Tags

agile Azure AzureDevOps Azure Functions ContinuousImprovement Cosmos DB Cypress DevOps docker dotnet ES6 Javascript Mocha NLOG Nuget podcast podgrab PowerShell QNAP SCRUM SonarQube Testing TFS VisualStudio VSCODE VSTS wordpress

Follow me on Twitter

My Tweets
© 2023 yer.ac | Adventures of a developer, and other things. - Powered by Minimalisticky