This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
app.MapPost("/v1/api/order", | |
async (SubmitOrder.Command model, ISender sender) => await sender.Send(model)); |
code --install-extension Adaptilab.grok | |
code --install-extension adpyke.codesnap | |
code --install-extension adrianwilczynski.namespace | |
code --install-extension alefragnani.Bookmarks | |
code --install-extension alexdima.copy-relative-path | |
code --install-extension antfu.slidev | |
code --install-extension be5invis.vscode-custom-css | |
code --install-extension bungcip.better-toml | |
code --install-extension cake-build.cake-vscode | |
code --install-extension christian-kohler.npm-intellisense |
Used M1 Mac mini 2020 with macOS Big Sur Version 11.5.2.
According to the GitHub issue comment in Lima
's GitHub repository, Lima requires a patched QEMU on M1 Macs.
Note that the followings are customized steps by @toricls based on the original steps and the script. Be sure to check the original files when you try it on your own.
So, are you building microservices? Take a look at a few of these symptoms, and decide for yourself:
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
query
mutation
Reference implementation also adds the third type: subscription
. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.
public class CachePipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> | |
{ | |
private readonly IDistributedCache cache; | |
private readonly ILogger<SGUKAspNetCore> logger; | |
public CachePipelineBehavior( | |
IDistributedCache cache, | |
ILogger<SGUKAspNetCore> logger) | |
{ | |
Ensure.Argument.NotNull(cache, nameof(cache)); |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |