EasilyNET.MongoGridFS.AspNetCore
1.7.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EasilyNET.MongoGridFS.AspNetCore --version 1.7.7
NuGet\Install-Package EasilyNET.MongoGridFS.AspNetCore -Version 1.7.7
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="EasilyNET.MongoGridFS.AspNetCore" Version="1.7.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasilyNET.MongoGridFS.AspNetCore --version 1.7.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasilyNET.MongoGridFS.AspNetCore, 1.7.7"
#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.
// Install EasilyNET.MongoGridFS.AspNetCore as a Cake Addin
#addin nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=1.7.7
// Install EasilyNET.MongoGridFS.AspNetCore as a Cake Tool
#tool nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=1.7.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EasilyNET.MongoGridFS.AspNetCore
- 从 Minio.AspNetCore 得到灵感.创建一个 MongoDBGridFS 的服务注册方案.
使用方法
- 注册服务
var db = builder.Services.GetService<IMongoDatabase>() ?? throw new("请先注册IMongoDatabase服务");
builder.Services.AddMongoGridFS(db);
- 使用依赖注入获取 GridFSBucket 操作 GridFS
public class YourClass(IGridFSBucket bucket)
{
private readonly IGridFSBucket _bucket = bucket;
public void DoSomething()
{
_bucket.XXXXXX();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- MongoDB.Driver.GridFS (>= 2.20.0)
-
net7.0
- MongoDB.Driver.GridFS (>= 2.20.0)
-
net8.0
- MongoDB.Driver.GridFS (>= 2.20.0)
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 |
---|---|---|
3.24.701.90 | 62 | 7/1/2024 |
3.24.628.114 | 81 | 6/28/2024 |
3.24.627.145 | 62 | 6/27/2024 |
3.24.620.160 | 71 | 6/20/2024 |
3.24.613.115 | 65 | 6/13/2024 |
3.24.612.95 | 63 | 6/12/2024 |
3.24.528.90 | 69 | 5/28/2024 |
3.24.522.84 | 84 | 5/22/2024 |
3.24.512.213 | 62 | 5/12/2024 |
3.24.508.112 | 93 | 5/8/2024 |
2.2024.428.71 | 85 | 4/28/2024 |
2.2024.427.1128 | 86 | 4/27/2024 |
2.2.72 | 159 | 4/14/2024 |
2.2.71 | 80 | 4/12/2024 |
2.2.8 | 73 | 4/26/2024 |
2.2.6 | 75 | 4/10/2024 |
2.2.5 | 115 | 3/26/2024 |
2.2.4 | 110 | 3/25/2024 |
2.2.3 | 111 | 3/24/2024 |
2.2.2 | 112 | 3/21/2024 |
2.2.1 | 128 | 3/20/2024 |
2.2.0 | 157 | 3/13/2024 |
2.1.9 | 218 | 2/21/2024 |
2.1.8 | 203 | 2/18/2024 |
2.1.7 | 213 | 2/16/2024 |
2.1.6 | 238 | 2/14/2024 |
2.1.5 | 228 | 2/14/2024 |
2.1.4 | 238 | 2/9/2024 |
2.1.3 | 233 | 2/8/2024 |
2.1.2 | 244 | 2/5/2024 |
2.1.1.2 | 407 | 12/26/2023 |
2.1.1.1 | 333 | 12/26/2023 |
2.1.1 | 394 | 12/25/2023 |
2.1.0 | 402 | 12/17/2023 |
2.0.11 | 465 | 12/6/2023 |
2.0.1 | 468 | 11/15/2023 |
2.0.0 | 426 | 11/14/2023 |
1.9.1 | 455 | 11/1/2023 |
1.9.0 | 461 | 10/19/2023 |
1.9.0-preview2 | 442 | 10/12/2023 |
1.9.0-preview1 | 474 | 10/12/2023 |
1.8.9 | 489 | 10/11/2023 |
1.8.8 | 486 | 10/11/2023 |
1.8.7-rc2 | 482 | 9/21/2023 |
1.8.7-rc1 | 517 | 9/12/2023 |
1.8.6 | 596 | 8/31/2023 |
1.8.5 | 590 | 8/25/2023 |
1.8.4 | 606 | 8/24/2023 |
1.8.3 | 570 | 8/23/2023 |
1.8.2 | 611 | 8/22/2023 |
1.8.1 | 576 | 8/18/2023 |
1.8.0 | 603 | 8/15/2023 |
1.7.9 | 615 | 8/11/2023 |
1.7.8 | 618 | 8/11/2023 |
1.7.7 | 639 | 8/10/2023 |
1.7.6 | 609 | 8/9/2023 |
1.7.5 | 634 | 8/9/2023 |
1.7.4 | 631 | 8/3/2023 |
1.7.3 | 672 | 8/1/2023 |
1.7.2 | 626 | 7/31/2023 |
1.7.1 | 651 | 7/27/2023 |
1.7.0 | 685 | 7/25/2023 |
1.6.9 | 645 | 7/25/2023 |
1.6.8 | 664 | 7/24/2023 |
1.6.7 | 642 | 7/20/2023 |
1.6.6 | 674 | 7/19/2023 |
1.6.5 | 638 | 7/19/2023 |
1.6.4 | 650 | 7/17/2023 |
1.6.3 | 666 | 7/17/2023 |
1.6.2 | 670 | 7/12/2023 |
1.6.1 | 633 | 6/30/2023 |
1.6.0 | 639 | 6/30/2023 |