This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SQL Sever & firewall : https://docs.microsoft.com/en-us/sql/sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access | |
| # New-NetFirewallRule : https://docs.microsoft.com/en-us/powershell/module/netsecurity/new-netfirewallrule?view=win10-ps | |
| New-NetFirewallRule -DisplayName "SQLServer default instance" -Direction Inbound -LocalPort 1433 -Protocol TCP -Action Allow | |
| New-NetFirewallRule -DisplayName "SQLServer Browser service" -Direction Inbound -LocalPort 1434 -Protocol UDP -Action Allow |
| title | subtitle | author | date | source |
|---|---|---|---|---|
Build, Publish and Deploy ASP.NET Web Applications from the Command Line |
How to use the MSBuild (or dotnet) command to build, publish, deploy ASP.NET web applications from the command line. |
Microsoft |
December 12, 2019 |
| title | author | date | source | snippet | gist |
|---|---|---|---|---|---|
MSBuild Version Properties Cheatsheet |
natemcmaster |
September 18, 2019 |
Based on Stack Overflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Bash wrapper script for the .NET Format global CLI tool. | |
| # | |
| # Author........: Jon LaBelle | |
| # Date..........: February 4, 2021 | |
| # Snippet.......: https://jonlabelle.com/snippets/view/shell/net-format-bash-wrapper-script | |
| # Gist..........: https://gist.github.com/jonlabelle/a0751768a220274a90d4be498da51643 | |
| # .NET Format...: https://github.com/dotnet/format |
| title | subtitle | date | source | snippet | gist | notoc |
|---|---|---|---|---|---|---|
.NET Unit Test Framework Translation Cheatsheet |
Compares popular .NET Unit Test Frameworks usages with their respective counterparts. |
January 27, 2021 |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Normalize line endings. | |
| /// </summary> | |
| /// <param name="lines">Lines to normalize.</param> | |
| /// <param name="targetLineEnding">If targetLineEnding is null, Environment.NewLine is used.</param> | |
| /// <exception cref="ArgumentOutOfRangeException">Unknown target line ending character(s).</exception> | |
| /// <returns>Lines normalized.</returns> | |
| /// <remarks> | |
| /// https://jonlabelle.com/snippets/view/csharp/normalize-line-endings | |
| /// </remarks> |
| title | subtitle | author | date | source | notoc |
|---|---|---|---|---|---|
PowerShellGet Commands |
PowerShell command examples to discover, install, update and publish PowerShell artifacts, and from the online PowerShell Gallery |
Jon LaBelle |
June 1, 2019 |
false |
*PowerShellGet is a module with commands for discovering, installing, updating
| title | subtitle | author | date | source |
|---|---|---|---|---|
Docker Compose Cheatsheet |
Quick reference for Docker Compose commands and config files |
Jon LaBelle |
April 7, 2019 |
Internet Information Services (IIS) 7 and later use an XML-based configuration
system for storing IIS settings which replaces the metabase that was used in IIS
6.0 and earlier. This new configuration system was introduced with ASP.NET and
is based on a hierarchical system of management system that uses *.config
files. The configuration files for IIS 7 and later are located in the
%windir%\System32\inetsrv\config folder.