Skip to content

Instantly share code, notes, and snippets.

Avatar

Johan Petersson JohanPetersson

  • Optimizely
  • Stockholm
View GitHub Profile
@bmcdavid
bmcdavid / AddScopedContainer.cs
Created Jan 19, 2017
Demo of adding scoped container dependency resolver.
View AddScopedContainer.cs
using EPiServer.Framework.Initialization;
using EPiServer.ServiceLocation;
using StructureMap;
using StructureMap.Pipeline;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AlloyDemoKit.Business.Initialization
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active Dec 2, 2022
Self Signed Certificate with Custom Root CA
View self-signed-certificate-with-custom-ca.md

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@davidfowl
davidfowl / dotnetlayout.md
Last active Dec 1, 2022
.NET project structure
View dotnetlayout.md
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/