![]() |
VOOZH | about |
dotnet add package Vivet.AspNetCore.RequestVirusScan --version 10.0.4
NuGet\Install-Package Vivet.AspNetCore.RequestVirusScan -Version 10.0.4
<PackageReference Include="Vivet.AspNetCore.RequestVirusScan" Version="10.0.4" />
<PackageVersion Include="Vivet.AspNetCore.RequestVirusScan" Version="10.0.4" />Directory.Packages.props
<PackageReference Include="Vivet.AspNetCore.RequestVirusScan" />Project file
paket add Vivet.AspNetCore.RequestVirusScan --version 10.0.4
#r "nuget: Vivet.AspNetCore.RequestVirusScan, 10.0.4"
#:package Vivet.AspNetCore.RequestVirusScan@10.0.4
#addin nuget:?package=Vivet.AspNetCore.RequestVirusScan&version=10.0.4Install as a Cake Addin
#tool nuget:?package=Vivet.AspNetCore.RequestVirusScan&version=10.0.4Install as a Cake Tool
👁 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.
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. |
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. |
This package is not used by any popular GitHub repositories.
- Updated NuGets.