Blazor: Modifying header meta and link elements

When creating web applications, we all try to create good SEO tags in the header of each page. Modifying the meta tags based on page content is a standard practice. In Blazor, this is not obvious as the _host.cshtml is rendered before the Blazor execution pipeline. There was a tag extension in the preview of

Continue reading

Fixing google authentication due to my half-ass https setup

The problem Google Authentication on my Blazor app worked locally but not live – hosted @DigitalOcean in Ubuntu Docker Containers. Locally I was working https using devcerts and the https on the DigitalOcean droplet was faked using Cloudflare’s (super-nice) security features (where they basically hide your website behind ssl without any certificate installation. I switched

Continue reading

Mac: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.

For 3 hours I was dealing with the title error nothing seems to work until I read the answer from hikrikunen where the key was deleting the localhost certificates in the system keychain and then running dotnet dev-certs https –clean and then dotnet dev-certs https -t Uptil the point of deleting the localhost certificates, the

Continue reading

EF6 core – reset migrations during development

In development and while testing various things in EF6 core – I tend to end up with a lot of migration garbage which occasionally I have to take out. This is how it’s done #notetoself Delete all *. cs files in the Migrations Folder. Delete the _MigrationHistory Table in the Database Delete all database tables subject to the migration

Continue reading

Blazor OnClick doesn’t fire

#notetoself … Once again, scratching my head for way to long about something that turns out to have a simple workaround #devlife On one of my (new) blazor pages (/Bookings/TeeTimes), onclick event was not firing. Didn’t matter what kind of flavour of onclick declaration I used, the event was not getting fired. Until of course

Continue reading

TechTalk – Tænispjall í hádeginu eftir 14. daga

Við erum live c.a. þriðja hvern þriðjudag (þri-þri – auðvelt að muna) en hina 1-2 þriðjudagana á milli munum við hita upp með einhverju skemmtilegu myndskeiði sem leiðir okkur að efnisatriði næsta fundar. Sjáumst “live” eftir 2 vikur.

Docker networking #notetoself

Networking List network setup: docker network ls List: docker network inspect -f ‘{{range .IPAM.Config}}{{.Subnet}}{{end}}’ [networkid] List IPs of all containers.  docker network inspect -f ‘{{json .Containers}}’ [networkid] | jq ‘.[] | .Name + “:” + .IPv4Address’ View host setup: docker exec [nameofnode] cat /etc/hosts Running a named container: docker run -name api1 -p 8080:80 gcp-api

Continue reading

Loading…

Something went wrong. Please refresh the page and/or try again.