Skip to content

Instantly share code, notes, and snippets.

View aspeckt-112's full-sized avatar

aspeckt112 aspeckt-112

  • 08:32 (UTC +01:00)
View GitHub Profile
@aritchie
aritchie / MyServiceLocator.cs
Last active January 26, 2024 21:45
MAUI Service Locator
using Microsoft.Extensions.Logging;
using System;
namespace YourNamespace;
// IMauiInitializeService will register immediately after MAUI has built its service container, so this class will be ready to go for all of your code
public class MyServiceLocator : Microsoft.Maui.Hosting.IMauiInitializeService
{
public static IServiceProvider Services { get; private set; }
@davidfowl
davidfowl / dotnetlayout.md
Last active May 21, 2024 01:55
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active May 3, 2024 12:32
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository