Skip to content

Instantly share code, notes, and snippets.

View mdissel's full-sized avatar

Marco Dissel mdissel

View GitHub Profile
@mdissel
mdissel / DataProtectionBuilderExtensions.cs
Created April 18, 2025 14:13 — forked from georgiosd/DataProtectionBuilderExtensions.cs
RavenDB ASP.NET Data Protection Repository
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Xml.Linq;
using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.DataProtection.Repositories;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;