Test Patterns
Examples of approaches to unit testing different kinds of code in C#. These examples start with simple cases and move on to more complex patterns.
github.com/ardalis/TestPatterns/blob/master/README.md
Unit Test Naming Convention | Blog
Fixing Postman HTTP Error 407 proxy authentication required
This error occurs for instance if you are on a protected company network. Fix: go to settings -> Proxy ->
check “This proxy requires authentication”
set your AD Windows username and password here.
Uncheck “Use the system proxy”
Blazor WebAssembly 3.2.0 now available | ASP.NET Blog
Iām thrilled to announce that Blazor WebAssembly is now officially released. This is a fully-featured and supported release of Blazor WebAssembly that is ready for production use. Full stack web development with .NET is now here!
Source: Blazor WebAssembly 3.2.0 now available | ASP.NET Blog
98.css – A design system for building faithful recreations of old UIs
BEM css system For Beginners: Why You Need BEM ā Smashing Magazine
BEM Css class Naming Cheat Sheet by 9elements
When it comes to finding the right class name, it can quickly drive you to despair. Even the most experienced CSS developers don’t always find the right class name right away. This tool aims to help you to not get lost in the BEM cosmos by giving you naming-suggestions for some of the most common web components.
9elements.com/bem-cheat-sheet/
Four ways of listening to DOM events in Angular (Part 2: @HostListener)
Four ways of listening to DOM events in Angular (Part 2: @HostListener) by Shijir Tsogoo
Test out a simple and free demo website on Azure
You can test out a simple HTML/Angular/front-end/ASP.net/nodejs based website real quick and simple on Azure for free.
Steps:
(This is what i did to test out an Angular app real quick)
- Make sure you have a free Azure Account
- Login to Azure portal: https://portal.azure.com/
- Create a new resource “Web app”
- Choose new resource group “WebDemo” (or use an exsisting)
- Set web app name
Will get this address: http://[myappname].azurewebsites.com/ - Runtime stack: ASP.NET 4.7 (this will work fine for Angular/html frontend web sites app etc)
- Region: Select region closest to you
- SKU and size: Under the “Dev/Test” tab i choose the F1 shared infrastructure (free to use 60 min/day “compute” time)
Next, next, when finished on the App Service “Overiew” tab you will see this information:
URL
FTP/deployment username
FTP hostname
FTPS hostname
Use it to deploy the website with your favorite FTP client.
Deploy to folder /site/wwwroot on the server.
See this post regarding setting up FTP access credentials: http://blog.wsoft.se/2018/04/20/accessing-azure-web-app-with-ftp/
Chart.js | Open source HTML5 Charts for your website
Simple yet flexible JavaScript charting for designers & developers
Source: Chart.js | Open source HTML5 Charts for your website