Add-Migration allocation_units angular angular6 azure Background Call build-tools core C# dell docker docker image donet ef dotnet dotnet ef @eaDir echo ef EntityFramework EOF error find firewall git index kill light codes linux Luci merge mssql msvs_version MySql network ng build node-gyp node-sass openvpn OpenWRT partitions size PK powershell PR Primary Key pull request size sp_who2 sql SSH synology t-sql tables Thread ThreadPool Threads tips ubuntu unifi Update-Database vpn windows-build-tools wpf xev xmodev

In this post I will posting some usefull tips for azure cloud

  1. redeploy vm from azure cli
az vm redeploy --resource-group CONTAIER_NAME --name VM_NAME

 

Common issue while developing angular at Windows machine is node-sass build error.

In this post, I will put useful commands for the docker collected on the web

If You get error like this: No executable found matching command "dotnet-watch" This is solution.

1. Check if You have csproj inside directory of command execution

2. Check if there is a reference to the "watcher" tool in the project file (csproj)

<ItemGroup>
    <DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="2.0.0"/>
</ItemGroup>

and then execute

dotnet restore

I think the most Gentleman's approach to call background method is Threadpool.

public void TheGentlemansApproach()
{
    // straight onto the threadpool - what could be better?
    ThreadPool.QueueUserWorkItem(_ => BackgroundMethod("The Gentleman's Approach"));
}