HttpClient Factory pattern allows multiple named http client for various backend. This is a note about how to use it in Blazor WASM (.NET 6).
Short version: Same as in a Web API.
<?xml version="1.0" encoding="utf-8"?> | |
<opml version="1.0"> | |
<head> | |
<dateCreated>Thu, 02 Jan 2025 07:55:02 +0000</dateCreated> | |
<title>Tiny Tiny RSS Feed Export</title> | |
</head> | |
<body> | |
</outline> | |
<outline text="Dot Net" ttrssSortOrder="0"> | |
<outline type="rss" text=".NET Blog" xmlUrl="https://davecallan.com/feed/" ttrssSortOrder="0" ttrssPurgeInterval="0" ttrssUpdateInterval="0" htmlUrl="https://davecallan.com/"/> |
#!/usr/bin/env bash | |
################################################################################################ | |
# kubectl wrapper that generates a report concerning cluster state, ## | |
# which creates a dir with compiled information regarding: ## | |
# - control plane components status, cluster events, nodes description, and namespace events ## | |
################################################################################################ | |
# Get nodes, componentsstatuses, and pods for control-plane | |
echo -e "\e[0;32m Cluster Nodes: \e[0m \n $(kubectl get nodes -owide)" |
To install the maui
workload, you have two options:
dotnet workload install
commands.msi
files for each workload pack. Note that the concept of a "Visual Studio workload" is different than a ".NET workload".VS for Mac's installer and updater use dotnet workload install
commands. It's considerably simpler to get a Mac machine to a clean state.
This document now exists on the official ASP.NET core docs page.
By default, K3S will run with flannel as the CNI and use custom directories to store CNI plugin binaries and config files(You can inspect the kubelet args K3S uses via journalctl -u k3s|grep cni-conf-dir
).
So you need to configure that properly When deploying Multus CNI.
For example given the official Multus manifests in https://github.com/intel/multus-cni/blob/36f2fd64e0965e639a0f1d17ab754f0130951aba/images/multus-daemonset.yml
, the following changes are needed:
volumes:
- name: cni
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-blue-whale | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: hello-whale-app |