ASP.NET Core middleware exposing Git repositories via git-http-backend.
$ dotnet add package BlackBytesBox.Retro.CoreA streamlined .NET helper for precise control over the Windows console.
# .NET CLI
dotnet add package BlackBytesBox.Retro.Core
Targets .NET 6+ and .NET Framework 4.7.2+.
using BlackBytesBox.Retro.Core;
// 1. Prepare the console
var c = NativeMethods.ConsoleManager;
c.EnsureConsole();
c.DisableCloseButton();
c.DisableQuickEdit();
c.SetFont(NativeMethods.ConsoleManager.ConsoleFont.LucidaConsole);
c.EnableUtf8();
// 2. Align client-area to (0,0)
var deco = NativeMethods.WindowManager.GetWindowDecorations();
c.MoveAndResize(x: 0 - deco.BorderWidth, y: 0);
Run once – you’ll have a UTF-8 console anchored to the primary screen’s top-left.
NativeMethods
├── ConsoleManager
│ ├── EnsureConsole()
│ ├── DisableCloseButton()
│ ├── DisableQuickEdit()
│ ├── SetFont(ConsoleFont font)
│ ├── EnableUtf8()
│ └── MoveAndResize(int x, int y, int? w = null, int? h = null)
└── WindowManager
└── GetWindowDecorations() : WindowDecorations
Full XML docs with nullable annotations ship with the package.
MIT © BlackBytesBox 2025
Built with ❤️ by BlackBytesBox