EasilyNET.MongoGridFS.AspNetCore
1.6.4
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.6.4
NuGet\Install-Package EasilyNET.MongoGridFS.AspNetCore -Version 1.6.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="EasilyNET.MongoGridFS.AspNetCore" Version="1.6.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasilyNET.MongoGridFS.AspNetCore --version 1.6.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasilyNET.MongoGridFS.AspNetCore, 1.6.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.
// Install EasilyNET.MongoGridFS.AspNetCore as a Cake Addin #addin nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=1.6.4 // Install EasilyNET.MongoGridFS.AspNetCore as a Cake Tool #tool nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=1.6.4
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.1017.42 | 71 | 10/16/2024 |
3.24.1016.161 | 74 | 10/16/2024 |
3.24.1015.231 | 71 | 10/15/2024 |
3.24.1015.14 | 77 | 10/14/2024 |
3.24.1012.114 | 80 | 10/12/2024 |
3.24.1009.115 | 75 | 10/9/2024 |
3.24.1008.160 | 71 | 10/8/2024 |
3.24.1008.133 | 69 | 10/8/2024 |
3.24.1007.185 | 74 | 10/7/2024 |
3.24.1003.33 | 75 | 10/2/2024 |
3.24.1002.162 | 81 | 10/2/2024 |
3.24.929.143 | 85 | 9/29/2024 |
3.24.929.141 | 87 | 9/29/2024 |
3.24.929.131 | 92 | 9/29/2024 |
3.24.929.122 | 101 | 9/29/2024 |
3.24.926.184 | 94 | 9/26/2024 |
3.24.926.182 | 81 | 9/26/2024 |
3.24.926.175 | 103 | 9/26/2024 |
3.24.924.160 | 72 | 9/24/2024 |
3.24.924.133 | 83 | 9/24/2024 |
3.24.924.124 | 86 | 9/24/2024 |
3.24.924.10 | 78 | 9/23/2024 |
3.24.924.1 | 70 | 9/23/2024 |
3.24.923.234 | 68 | 9/23/2024 |
3.24.923.232 | 76 | 9/23/2024 |
3.24.923.155 | 77 | 9/23/2024 |
3.24.919.92 | 80 | 9/19/2024 |
3.24.914.125 | 102 | 9/14/2024 |
3.24.914.115 | 97 | 9/14/2024 |
3.24.914.111 | 94 | 9/14/2024 |
3.24.911.95 | 93 | 9/11/2024 |
3.24.908.215 | 79 | 9/8/2024 |
3.24.904.200 | 85 | 9/4/2024 |
3.24.828.163 | 94 | 8/28/2024 |
3.24.820.173 | 102 | 8/20/2024 |
3.24.814.92 | 99 | 8/14/2024 |
3.24.812.115 | 107 | 8/12/2024 |
3.24.802.100 | 77 | 8/2/2024 |
3.24.801.162 | 86 | 8/1/2024 |
3.24.801.160 | 84 | 8/1/2024 |
3.24.801.155 | 86 | 8/1/2024 |
3.24.730.164 | 46 | 7/30/2024 |
3.24.730.91 | 46 | 7/30/2024 |
3.24.724.91 | 72 | 7/24/2024 |
3.24.718.105 | 89 | 7/18/2024 |
3.24.716.95 | 88 | 7/16/2024 |
3.24.712.94 | 82 | 7/12/2024 |
3.24.710.14 | 93 | 7/9/2024 |
3.24.709.105 | 97 | 7/9/2024 |
3.24.704.94 | 107 | 7/4/2024 |
3.24.701.90 | 98 | 7/1/2024 |
3.24.628.114 | 115 | 6/28/2024 |
3.24.627.145 | 101 | 6/27/2024 |
3.24.620.160 | 96 | 6/20/2024 |
3.24.613.115 | 88 | 6/13/2024 |
3.24.612.95 | 83 | 6/12/2024 |
3.24.528.90 | 90 | 5/28/2024 |
3.24.522.84 | 105 | 5/22/2024 |
3.24.512.213 | 85 | 5/12/2024 |
3.24.508.112 | 113 | 5/8/2024 |
2.2024.428.71 | 107 | 4/28/2024 |
2.2024.427.1128 | 116 | 4/27/2024 |
2.2.72 | 179 | 4/14/2024 |
2.2.71 | 106 | 4/12/2024 |
2.2.8 | 105 | 4/26/2024 |
2.2.6 | 101 | 4/10/2024 |
2.2.5 | 135 | 3/26/2024 |
2.2.4 | 137 | 3/25/2024 |
2.2.3 | 136 | 3/24/2024 |
2.2.2 | 136 | 3/21/2024 |
2.2.1 | 151 | 3/20/2024 |
2.2.0 | 175 | 3/13/2024 |
2.1.9 | 240 | 2/21/2024 |
2.1.8 | 227 | 2/18/2024 |
2.1.7 | 231 | 2/16/2024 |
2.1.6 | 261 | 2/14/2024 |
2.1.5 | 246 | 2/14/2024 |
2.1.4 | 260 | 2/9/2024 |
2.1.3 | 255 | 2/8/2024 |
2.1.2 | 267 | 2/5/2024 |
2.1.1.2 | 423 | 12/26/2023 |
2.1.1.1 | 355 | 12/26/2023 |
2.1.1 | 409 | 12/25/2023 |
2.1.0 | 420 | 12/17/2023 |
2.0.11 | 489 | 12/6/2023 |
2.0.1 | 487 | 11/15/2023 |
2.0.0 | 452 | 11/14/2023 |
1.9.1 | 478 | 11/1/2023 |
1.9.0 | 482 | 10/19/2023 |
1.9.0-preview2 | 461 | 10/12/2023 |
1.9.0-preview1 | 493 | 10/12/2023 |
1.8.9 | 510 | 10/11/2023 |
1.8.8 | 509 | 10/11/2023 |
1.8.7-rc2 | 503 | 9/21/2023 |
1.8.7-rc1 | 543 | 9/12/2023 |
1.8.6 | 617 | 8/31/2023 |
1.8.5 | 613 | 8/25/2023 |
1.8.4 | 630 | 8/24/2023 |
1.8.3 | 596 | 8/23/2023 |
1.8.2 | 635 | 8/22/2023 |
1.8.1 | 594 | 8/18/2023 |
1.8.0 | 624 | 8/15/2023 |
1.7.9 | 635 | 8/11/2023 |
1.7.8 | 642 | 8/11/2023 |
1.7.7 | 664 | 8/10/2023 |
1.7.6 | 633 | 8/9/2023 |
1.7.5 | 659 | 8/9/2023 |
1.7.4 | 654 | 8/3/2023 |
1.7.3 | 696 | 8/1/2023 |
1.7.2 | 651 | 7/31/2023 |
1.7.1 | 679 | 7/27/2023 |
1.7.0 | 713 | 7/25/2023 |
1.6.9 | 672 | 7/25/2023 |
1.6.8 | 688 | 7/24/2023 |
1.6.7 | 670 | 7/20/2023 |
1.6.6 | 692 | 7/19/2023 |
1.6.5 | 659 | 7/19/2023 |
1.6.4 | 670 | 7/17/2023 |
1.6.3 | 693 | 7/17/2023 |
1.6.2 | 689 | 7/12/2023 |
1.6.1 | 652 | 6/30/2023 |
1.6.0 | 662 | 6/30/2023 |