Known port
netstat -ano | findstr <port>List all active port
netstat -anoKnown port
netstat -ano | findstr <port>List all active port
netstat -anoHard copy:
install dotnet-symbol
dotnet tool install -g dotnet-symbol<body>
...
<script src="_framework/blazor.{webassembly|server}.js" autostart="false"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
Blazor.start();
});
This maybe does not work: https://www.seroundtable.com/google-no-block-indexing-parts-pages-29144.html
Pay attention to the commented tags, googleoff / googleon
<!--googleoff: index-->
<div id="themeToggle" title="toggle between light theme or dark theme (ALT+T)" accesskey="t">
<div id="toggleThemePrompt">Ctrl + D to bookmark. Click this 🤔 => </div>
<span id="sun">
☀️Services in DI container is by default required. To make it optional, give it a defualt value.
Assuming ConsumerService rely on AnotherService while AnotherService is not registered in DI container.
Having a default value for the optional service.
.NET runtime allows customize default thread pool settings. There are essentially 4 values that could be customized:
And there are 4 primary APIs, 2 to read min/max, 2 to set those values:
It is a simple rock, paper, and scissors game used to study how to build a full RESTful API. You will be able to find the latest code in this repo. BTW, if you like it, give it a star.
To make it fun, I also released a live client at https://roshambo.codewithsaar.com.
NuGet packages:
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.2" />Code