Bunkum.ProfanityFilter 4.7.0

dotnet add package Bunkum.ProfanityFilter --version 4.7.0
                    
NuGet\Install-Package Bunkum.ProfanityFilter -Version 4.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bunkum.ProfanityFilter" Version="4.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bunkum.ProfanityFilter" Version="4.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Bunkum.ProfanityFilter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bunkum.ProfanityFilter --version 4.7.0
                    
#r "nuget: Bunkum.ProfanityFilter, 4.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bunkum.ProfanityFilter@4.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bunkum.ProfanityFilter&version=4.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Bunkum.ProfanityFilter&version=4.7.0
                    
Install as a Cake Tool

Deprecated

Bunkum.ProfanityFilter is deprecated as it no longer fits the scope of Bunkum, and will be removed in a later release.

Bunkum.ProfanityFilter

A wrapper around Profanity.Detector for Bunkum

Example usage

// Program.cs
BunkumHttpServer server = new();
server.AddProfanityService();
// FilterEndpoints.cs
[HttpEndpoint("/censorSentence")]
[NullStatusCode(HttpStatusCode.BadRequest)]
public string? CensorSentence(RequestContext context, ProfanityService service)
{
    string? input = context.QueryString.Get("input");
    if (input == null) return null;
    
    return service.CensorSentence(input);
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.7.0 294 7/17/2024
4.6.0 141 7/11/2024
4.5.6 147 6/14/2024
4.5.5 158 5/23/2024
4.5.4 111 5/13/2024
4.5.3 103 5/13/2024
4.5.2 161 5/7/2024
4.5.1 180 4/30/2024
4.5.0 172 4/24/2024
4.4.5 235 2/19/2024
4.4.4 171 2/5/2024
4.4.3 254 12/4/2023
4.4.2 175 12/3/2023
4.4.1 174 11/26/2023
4.4.0 159 11/25/2023
4.3.3 272 10/28/2023
4.3.2 166 10/27/2023
4.3.1 221 10/22/2023
4.3.0 190 10/22/2023
4.2.3 169 10/21/2023
4.2.2 203 10/19/2023
4.2.1 180 10/18/2023
4.2.0 206 10/13/2023
4.1.0 167 10/12/2023
4.0.1 211 10/1/2023
4.0.0 182 10/1/2023
3.5.0 181 9/20/2023
1.0.0 482 5/27/2023