Here is a discussion about this;
https://stackoverflow.com/questions/37051697/why-did-bootstrap-4-choose-rem-and-em-instead-px
Source, Ingest, Prepare, Analyze and Consume
All about application services for example, Azure App Service. Angular application, Microsoft .NET Core and EF
Here is a discussion about this;
https://stackoverflow.com/questions/37051697/why-did-bootstrap-4-choose-rem-and-em-instead-px
It is the dream of every web developer to build blazing fast and high-performance web applications but this is not easy to accomplish unless we implement some performance optimizations. Web pages have evolved from static HTML pages to complex and responsive pages with a lot of dynamic contents and plugins which require a large number of CSS and JavaScript files to be downloaded to the clients. To improve the initial page request load time, we normally apply two performance techniques called bundling and minification.
Read more here…
Here are some of the tools that can be used to do web application performance testing;
WebLOAD
LoadNinja
HeadSpin
ReadyAPI Performance
LoadView
PFLB
Keysight’s Eggplant
Apache JMeter
LoadRunner
Rational Performance Tester
NeoLoad
LoadComplete
WAPT
Loadster
k6
Testing Anywhere
Appvance
StormForge
What about Databases?
SQL queries in SSMS runs faster but they are slower in .NET application. One of the reason could be ARTHIABORT setting, read article below;
References
There’s an alternative way of writing anonymous functions, which we call an arrow function. An arrow function uses () =>
instead of function ()
:
function using function ();
document.querySelector("html").addEventListener("click", function () {
alert("Ouch! Stop poking me!");
});
function using arrow function;
document.querySelector("html").addEventListener("click", () => {
alert("Ouch! Stop poking me!");
});
Reference
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
There is a pattern to PowerShell and CLI commands.
Predictable CLI commands
(always start with az vm and a verb)
az vm list
az vm create
az vm delete
for keyvalut, same pattern
az keyvault list
az keyvault create
az keyvault delete
for network, sub category is vnet, same pattern
az network vnet list
az network vnet create
az network vnet delete
for network, sub category is vnet, sub category is subnet same pattern
az network vnet subnet list
az network vnet subnet create
az network vnet subnet delete
Predictable Powershell commands
They are similar to CLI with some changes; (here verb is the first part of the word)
Get-AzVM
New-AzVM
Remove-AzVM
for keyvalut, same pattern
Get-AzKeyvault
New-AzKeyvault
Remove-AzKeyvault
for network, sub category is vnet, same pattern
Get-AzVirtualNetowrk
New-AzVirtualNetwork
Remove-AzVirtualNetwork
CLI has a spacing structure but PowerShell is all one word with hyphen in it.
View all install AZ modules
Get-InstalledModule -Name AZ -AllVersions | Select-Object -Property Name, Version
Update AZ modules to latest
Install-Module -Name AZ -AllowClobber -Force
Connection to Azure
Connect-AzAccount
Set-AzContext (switch to another subscription)
To override which subscription Connect-AzAccount selects by default, use Update-AzConfig -DefaultSubscriptionForLogin 00000000-0000-0000-0000-000000000000
Switching subscriptions
These can be run after getting authenticated from browser;
Get-AzSubscription
returns subscription info
$context = Get-AzSubscription -Subscription {subscription id listed in Get-AzSubscription cmdlet)
Set-AzContext $context
(by doing this, we are telling azure that we will be using this subscription in this session)
Some random commands for testing
Get-AzWebApp
Get-AzVM
return all virtual machines on my subscription, az vm list (equv. bash command)