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
| <# | |
| .SYNOPSIS | |
| Script to install Dev Tools on Windows Server (tested on 2022) | |
| .DESCRIPTION | |
| Reference script (gist) for manual execution on Windows Server 2022+. | |
| Requires user interaction for installations. Installs dev tools in order: | |
| 1. Microsoft.VCLibs (latest via GitHub winget-cli deps) | |
| 2. Microsoft.UI.Xaml (latest via GitHub API) | |
| 3. winget-cli (latest via GitHub API) | |
| 4. Microsoft.WindowsTerminal (latest via GitHub API) |
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
| [diff] | |
| tool = meld | |
| guitool = meld | |
| [difftool] | |
| prompt = true | |
| [merge] | |
| tool = meld | |
| guitool = meld | |
| [mergetool] | |
| prompt = 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
| public static class HtmlRenderExtensions { | |
| /// <summary> | |
| /// Delegate script/resource/etc injection until the end of the page | |
| /// <para>@via http://stackoverflow.com/a/14127332/1037948 and http://jadnb.wordpress.com/2011/02/16/rendering-scripts-from-partial-views-at-the-end-in-mvc/ </para> | |
| /// </summary> | |
| private class DelayedInjectionBlock : IDisposable { | |
| /// <summary> | |
| /// Unique internal storage key | |
| /// </summary> |