VOOZH about

URL: https://www.nuget.org/packages/Vivet.AspNetCore.RequestVirusScan/

⇱ NuGet Gallery | Vivet.AspNetCore.RequestVirusScan 10.0.4




Vivet.AspNetCore.RequestVirusScan 10.0.4

dotnet add package Vivet.AspNetCore.RequestVirusScan --version 10.0.4
 
 
NuGet\Install-Package Vivet.AspNetCore.RequestVirusScan -Version 10.0.4
 
 
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="Vivet.AspNetCore.RequestVirusScan" Version="10.0.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vivet.AspNetCore.RequestVirusScan" Version="10.0.4" />
 
Directory.Packages.props
<PackageReference Include="Vivet.AspNetCore.RequestVirusScan" />
 
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 Vivet.AspNetCore.RequestVirusScan --version 10.0.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vivet.AspNetCore.RequestVirusScan, 10.0.4"
 
 
#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 Vivet.AspNetCore.RequestVirusScan@10.0.4
 
 
#: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=Vivet.AspNetCore.RequestVirusScan&version=10.0.4
 
Install as a Cake Addin
#tool nuget:?package=Vivet.AspNetCore.RequestVirusScan&version=10.0.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Vivet.AspNetCore.RequestVirusScan

👁 Build and Deploy
👁 NuGet
👁 NuGet

Middleware to configure requset virus scan of uploaded files.

This library uses ClamAV for scanning and detecting virusses and malware in files. A server or container running ClamAV is required to use this middleware.


Registration

To configure the Request Virus Scan Middleware, first add the required services to the IServiceCollection, as shown below.

services
 .AddRequestVirusScan(x => 
 {
 x.Host = null,
 x.Port = 3310,
 UseHealthCheck = true,
 HealthCheckFailureStatus = "Unhealthy"
 });

Next, register the middleware in the pipeline, as shown below.

applicationBuilder
 .UseRequestVirusScan();

The middleware is now configured in the pipeline, and all uploaded file will be scaned for virusses.


Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (1)

Showing the top 1 NuGet packages that depend on Vivet.AspNetCore.RequestVirusScan:

Package Downloads
Nano.App.Api

This package is part of the Nano Library, a set of reusable .NET libraries for building microservice applications. Nano addresses common non-business concerns such as logging, persistence, messaging, validation, and documentation, while remaining fully configurable and extensible, so applications can stay focused on business logic. See https://github.com/Nano-Core/Nano.Library for details.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.4 120 5/2/2026
10.0.3 292 2/10/2026
10.0.2 121 2/10/2026
10.0.1 123 1/17/2026
10.0.0 127 12/28/2025
9.0.11 217 11/2/2025
9.0.10 339 9/9/2025

- Updated NuGets.