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.
#addin nuget:?package=Bunkum.ProfanityFilter&version=4.7.0
                    
Install Bunkum.ProfanityFilter as a Cake Addin
#tool nuget:?package=Bunkum.ProfanityFilter&version=4.7.0
                    
Install Bunkum.ProfanityFilter 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 262 7/17/2024
4.6.0 124 7/11/2024
4.5.6 128 6/14/2024
4.5.5 138 5/23/2024
4.5.4 91 5/13/2024
4.5.3 84 5/13/2024
4.5.2 141 5/7/2024
4.5.1 158 4/30/2024
4.5.0 150 4/24/2024
4.4.5 215 2/19/2024
4.4.4 154 2/5/2024
4.4.3 241 12/4/2023
4.4.2 166 12/3/2023
4.4.1 156 11/26/2023
4.4.0 150 11/25/2023
4.3.3 261 10/28/2023
4.3.2 156 10/27/2023
4.3.1 197 10/22/2023
4.3.0 168 10/22/2023
4.2.3 146 10/21/2023
4.2.2 179 10/19/2023
4.2.1 162 10/18/2023
4.2.0 179 10/13/2023
4.1.0 147 10/12/2023
4.0.1 184 10/1/2023
4.0.0 158 10/1/2023
3.5.0 160 9/20/2023
1.0.0 449 5/27/2023