An open API service indexing awesome lists of open source software.

https://github.com/soenneker/soenneker.blazor.c15t

A Blazor interop library for C15T, the consent management platform
https://github.com/soenneker/soenneker.blazor.c15t

blazor blazorlibrary c15t consent csharp dotnet interop

Last synced: 6 days ago
JSON representation

A Blazor interop library for C15T, the consent management platform

Awesome Lists containing this project

README

          

[![](https://img.shields.io/nuget/v/soenneker.blazor.c15t.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.blazor.c15t/)

# Soenneker.Blazor.C15t
### A minimal Blazor wrapper around c15t

## Installation

```bash
dotnet add package Soenneker.Blazor.C15t
```

## Usage

```csharp
services.AddC15t();
```

```razor

@Body

@code {
private readonly C15tOptions _options = new()
{
Mode = "hosted",
BackendUrl = "https://your-instance.c15t.dev",
ConsentCategories = ["necessary", "measurement", "marketing"]
};
}
```