Skip to content

Instantly share code, notes, and snippets.

View dev-nextprogress's full-sized avatar

NextProgress-MS dev-nextprogress

View GitHub Profile
public class ImageMiddleware
{
private readonly RequestDelegate _next;
private readonly string _path;
public ImageMiddleware(RequestDelegate next, string path)
{
_next = next;
this._path = path;
}
@richlander
richlander / instructions.md
Last active March 24, 2024 14:54
Installing .NET Core 3.0 on Linux ARM64

Installing .NET Core on Linux ARM64

The following intructions can be used to install .NET Core on Linux ARM64.

Pro tip: Check out .NET Core Docker files to determine the exact instructions for installing .NET Core builds, for example .NET Core 3.1 ARM32 SDK Dockerfile.

Installing .NET Core Globally

The following instructions install the latest .NET Core globally. It isn't required to do that, but it provides the best experience.

@dotMorten
dotMorten / MSBuildCheatSheet.xml
Last active September 15, 2025 17:55
MSBuild Cheat Sheet
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
How to define a variable.
Just stick a new node in a property group.
-->
<PropertyGroup>
<!-- This node in a property group will define a variable -->
<TestVariable>Test Variable Value</TestVariable>
@privatenumber
privatenumber / light-dark-image.svg
Last active October 22, 2024 05:40
Light/dark mode SVG image
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Zero to Mobile Database Hero

Introduction

This Gist is intended to be a list of useful links, related to Luce Carter's talk "Zero to Mobile Database Hero"

Links

  • Slides
  • GitHub Repo
  • MongoDB University - Free learning platform with videos, labs and quizzes on all things MongoDB from beginner to advanced
  • Community Forums - Our forums are the best place to ask questions, share your projects and meet others from MongoDB and the wider community
@LanceMcCarthy
LanceMcCarthy / YourMauiApp.csproj
Last active May 2, 2023 23:53
An example csproj that shows how to use conditionalsfor publishing settings
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Hacked.Maui</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>