Skip to content

Instantly share code, notes, and snippets.

View ddieppa's full-sized avatar
🏠
Working from home

Daniel Dieppa ddieppa

🏠
Working from home
View GitHub Profile
@ddieppa
ddieppa / UseResolverScopedMediatorAttribute.cs
Created October 8, 2020 12:38 — forked from benmccallum/HC_ResolverScopedService
Resolver scoping middleware (MediatR) for HotChocolate
using System;
using System.Collections.Generic;
using System.Reflection;
using HotChocolate.Types;
using HotChocolate.Types.Descriptors;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace MyCompany.GraphQL
{
@ddieppa
ddieppa / UseResolverScopedMediatorAttribute.cs
Created October 8, 2020 12:38 — forked from benmccallum/HC_ResolverScopedService
Resolver scoping middleware (MediatR) for HotChocolate
using System;
using System.Collections.Generic;
using System.Reflection;
using HotChocolate.Types;
using HotChocolate.Types.Descriptors;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace MyCompany.GraphQL
{
@ddieppa
ddieppa / MultipartRequestMiddleware
Created August 27, 2020 14:16 — forked from PascalSenn/MultipartRequestMiddleware
MultiPartRquestMiddlware made with ❤️ by https://github.com/acelot
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
@ddieppa
ddieppa / README.md
Created July 18, 2020 06:24 — forked from akashnimare/README.md
A Beginners Guide to writing a Kickass README ✍

Project title

A little info about your project and/ or overview that explains what the project is about.

Motivation

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Build status

Build status of continus integration i.e. travis, appveyor etc. Ex. -

Build Status

@ddieppa
ddieppa / Setup-Windows-Defender-Exclusions-Rider.ps1
Created April 3, 2020 16:30 — forked from philippdolder/Setup-Windows-Defender-Exclusions-Rider.ps1
Windows Defender configuration for JetBrains Rider
[CmdletBinding()]
param (
[Parameter(Mandatory)]
[string]
$RiderHome
)
function Update-WindowsDefenderForRider {
[CmdletBinding()]
param (