Category: Programming

  • Enable Http Transient Failure Retries with logging

    To enable transient retries in dotnet core, put the following into the startup process. In this case, it went into a WorkerService, so the code is in the Program.cs file. The above code will try for 5 times using a backoff logic that adds some random time to it so that the backoff logic will…

  • Enable WSL2 to access Global Protect VPN Tunnel

    To enable Ubuntu via WSL2 to access the Prisma Global Protect VPN Tunnel use the following commands from a Powershell command line with Admin Access: Be sure to check the names above by doing a ipconfig /all Also check this post to if the previous solution does not work. I did do some of the…

  • Dotnet packages I want to use in the future.

    Cocona – For when I need easy parameter stuff for a console app. It makes console apps more like minimal api’s GraphQL or Odata or Json api ?? which should I use? Dotnet Test Containers – To Make Docker easier?? Not a dot net package, but an api testing tool – k6

  • Example Powershell/Windows Terminal Command setup

    Here are some of the PowerShell / Windows terminal commands commands I have set up in my profile. Load fork into current folder. Change to a certain folder I have many of these set up to easily change to my project folders and this main one to go to the root location of all my…

  • Must have applications for software development 2021 Version

    I wanted to update my list of must have software for development, mostly to remember what I am currently using. These are listed in no particular order: Visual Studio 2019 (Why don’t they call this VS 2021?) SQL Server Management Studio Jetbrains Resharper Ultimate–  I currently don’t use this, but when I did it was…

  • Check table configurations in EF Core 3.1

    To check the table configurations for EF Core 3.1, I did the following and it helped identify issues. It iterates all tables in the context and selects one row. If there is an exception, it will catch it and display some related information. It might be helpful to also capture the stack trace.

  • What to do when you have been ghosted by a recruiter

    I have recently been ghosted by a recruiter from a local company and it is very frustrating. I am sure that I did not get the job, but it would be nice to have a simple answer and some feedback on why they didn’t select me. I feel like the following article blames the candidate,…

  • Proper case a string using RegEx in Javascript, except for words in parenthesis

    Today I had to find a way to proper case a string, except anything that is in parenthesis.  That sounds like a mouthful, so to clarify, I wanted to turn “JAVASCRIPT ROCKS (JS)” into “Javascript Rocks (JS)”, so I created a regular expression to do this task in an Adobe LiveCycle form. this.rawValue = this.rawValue.replace(/(?!\w*\))(\w\S*)/g, function(txt){…

  • Must have applications for development

    I recently had to re-install ALL of the applications that I use at work when they gave me a new Windows 7 based computer, so I thought I would list out the apps that I HAVE to have to operate. These are listed in no particular order: Microsoft SQL Server 2014 Express Visual Studio 2012 –…

  • Adding a solution to TFS without adding the NuGet packages.

    I was adding a project that I just completed to TFS source control and noticed that it wanted to add the packages to source control also, but I didn’t want that because you are not supposed to add the NuGet packages.  They can be re-downloaded and installed during the build process for anyone that does…