List of common CLI and how to install using node.js I usually use Angular CLI https://angular.io/guide/setup-local npm install -g @angular/cli Azure Function Core Tools https://github.com/Azure/...
Update to last version for a npm package npm update -g [package] List npm packges with version npm list -g --depth=0 List available versions for a npm packge npm view [package] versions List ...
Html/Css/Js snippets Vanilla mkdir swa-vanilla cd swa-vanilla New-Item -Path . -Name "index.html" Html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">...
How to use Required keyword for C# 11 Code using System.Diagnostics.CodeAnalysis; var book1 = new Book("Jean M Auel", "The Clan of the Cave Bear"); var book2 = new Book { Author = "Jean M A...
How to read query string in a get call and how to read body content on a post call for Http Triger Azure Functions Each escenary Read Query [Function("ReadQuery")] public async Task<HttpRespo...
Message Properties on a Message Queue Azure Function [Function("Function1")] public void Run([ServiceBusTrigger("myqueue", Connection = "sbconnectionstring")] string myQueueItem, FunctionContext c...
Code Snippet to make a http api call with C# – Http Client with C# using (var client = new HttpClient()) using (var request = new HttpRequestMessage(HttpMethod.Get, "[url]")) using (var response...
How to add Entity Framework Nuget packages and how to scaffold a database context for a SQL Database. – Nuget Packages Update Update-Package Install Package Manager Install-Package Microsoft...
Welcome Hello and welcome to my Knowledge Base docs site! On this site, I’ll try to document mostly code snippets, and some other technical documentation, for my reference and which I think will ...
A new version of content is available.