This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"compounds": [ | |
// For more information, visit: https://code.visualstudio.com/docs/editor/debugging#_compound-launch-configurations | |
{ | |
"name": "All Services", | |
"preLaunchTask": "build", |
This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This file contains 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
#Install WinGet | |
#Based on this gist: https://gist.github.com/crutkas/6c2096eae387e544bd05cde246f23901 | |
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
"Installing winget Dependencies" | |
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' | |
$releases_url = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.
Here's how I combine the two, to create docs with embedded diagrams.
Get the command-line PlantUML from the download page or your relevant package manager.
This file contains 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
using Microsoft.Web.Deployment; | |
using System; | |
using System.IO; | |
namespace Nuke.Common.Tools.WebDeploy | |
{ | |
public class AppOfflineWrapper : IDisposable | |
{ | |
private readonly WebDeploySettings _settings; | |
private string _tempAppOfflinePath; |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains 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
#!vim -u | |
let s:calendar_list = [ | |
\ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
\ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
\ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
\ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
\ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
\ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
\ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |