TekOnline

Author: jcianci12

  • Removing Files from Git Source Control: A Quick Guide

    Removing Files from Git Source Control: A Quick Guide

    Introduction When working with Git, you might encounter situations where you need to remove a file or folder from source control. Whether it’s a temporary build artifact or a file that should never be tracked, Git provides a straightforward process to achieve this. In this article, we’ll explore the steps involved in removing files from…

  • Addressing web deploy issues

    Addressing web deploy issues

    When configuring new web deploys, often one can run into strange issues, and sometimes there isn’t much feedback given. In most cases I have found following these two steps helpful: Check Credentials Ensure that the credentials for the user performing the deployment are accurate. Typically, both read and write access are necessary for successful deployment.…

  • HELP! Hosting .netcore https site inside docker container.

    Im currently running a dev container for my .net core project. After following the directions found here: I can get my site working, so for if example I nav to lhttps://localhost:5001/swagger/index.html then I see my swagger config. Perfect! Also, if I nav to https://localhost:5001/.well-known/openid-configuration my config comes up! Great! Its worth noting that both of…

  • Developing net core inside docker with https and kestrel

    Developing net core inside docker with https and kestrel

    First of all its a good idea to just make sure you can get https dev working locally. Then you can move to https on your container. This guide doesnt cover that but there are heaps of guides out there and the process is pretty straight forward. This guide will only look at https for…

  • [Solved] ERR_CONNECTION_RESET with SSL and ASP.NET

    I was in the process of migrating an application from forms authentication to Azure identity authentication. Initially, everything seemed straightforward, especially since I had another application already functioning with the new authentication method. However, my optimism quickly waned when I encountered unexpected issues during testing. Upon inspecting the setup, I found that despite setting everything…

  • [Solved] Entity framework – Violation of PRIMARY KEY constraint ‘…’. Cannot insert duplicate key in object ‘dbo…’ the duplicate key value is (…). The statement has been terminated.

    If you are struggling to create a new record in a sql db when using entity framework and you are ending up with an error that looks like this: What this means is that in SQL databases often a table will have a primary key id. And this primary key is generated by the data…

  • 8 Zone HVAC Controller for Home Assistant

    8 Zone HVAC Controller for Home Assistant

    I was looking for a solution that replaces a standard zone controller. It takes 24v ac and then sends it out to one of 4 zones to tell them either to open or close. Sometimes at night I want to disable or enable a zone, so I came up with this: The components I used:…

  • Remember to replace .env with stack.env if you are using docker-compose in portainer! A Quick Guide

    Deploying stacks in Portainer can sometimes lead to unexpected hurdles, particularly when it comes to environment configuration files like .env. In this brief guide, I’ll share insights into resolving .env issues within Portainer to help streamline your deployment process. Identifying the Problem: You might encounter errors like “Secret key missing” when deploying stacks in Portainer,…

  • Resolving Windows Update Lockups: The backup and restore method.

    Resolving Windows Update Lockups: The backup and restore method.

    Introduction:Dealing with Windows update lockups can be incredibly frustrating. You sit there, looking at the screen. Both times I have resolved using a kind of unusual method. Simply creating an image of the system drive, then restoring that image to the system drive. My Experience:It was a typical day when my computer suddenly started experiencing…