EasilyNET.MongoGridFS.AspNetCore
1.6.8
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.8
NuGet\Install-Package EasilyNET.MongoGridFS.AspNetCore -Version 1.6.8
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.8" />
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.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasilyNET.MongoGridFS.AspNetCore, 1.6.8"
#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.8 // Install EasilyNET.MongoGridFS.AspNetCore as a Cake Tool #tool nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=1.6.8
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 | 76 | 10/16/2024 |
3.24.1016.161 | 79 | 10/16/2024 |
3.24.1015.231 | 76 | 10/15/2024 |
3.24.1015.14 | 82 | 10/14/2024 |
3.24.1012.114 | 85 | 10/12/2024 |
3.24.1009.115 | 80 | 10/9/2024 |
3.24.1008.160 | 76 | 10/8/2024 |
3.24.1008.133 | 74 | 10/8/2024 |
3.24.1007.185 | 79 | 10/7/2024 |
3.24.1003.33 | 80 | 10/2/2024 |
3.24.1002.162 | 86 | 10/2/2024 |
3.24.929.143 | 88 | 9/29/2024 |
3.24.929.141 | 90 | 9/29/2024 |
3.24.929.131 | 95 | 9/29/2024 |
3.24.929.122 | 104 | 9/29/2024 |
3.24.926.184 | 97 | 9/26/2024 |
3.24.926.182 | 84 | 9/26/2024 |
3.24.926.175 | 106 | 9/26/2024 |
3.24.924.160 | 75 | 9/24/2024 |
3.24.924.133 | 86 | 9/24/2024 |
3.24.924.124 | 89 | 9/24/2024 |
3.24.924.10 | 81 | 9/23/2024 |
3.24.924.1 | 73 | 9/23/2024 |
3.24.923.234 | 71 | 9/23/2024 |
3.24.923.232 | 79 | 9/23/2024 |
3.24.923.155 | 80 | 9/23/2024 |
3.24.919.92 | 83 | 9/19/2024 |
3.24.914.125 | 105 | 9/14/2024 |
3.24.914.115 | 100 | 9/14/2024 |
3.24.914.111 | 97 | 9/14/2024 |
3.24.911.95 | 96 | 9/11/2024 |
3.24.908.215 | 82 | 9/8/2024 |
3.24.904.200 | 88 | 9/4/2024 |
3.24.828.163 | 97 | 8/28/2024 |
3.24.820.173 | 105 | 8/20/2024 |
3.24.814.92 | 102 | 8/14/2024 |
3.24.812.115 | 110 | 8/12/2024 |
3.24.802.100 | 80 | 8/2/2024 |
3.24.801.162 | 89 | 8/1/2024 |
3.24.801.160 | 87 | 8/1/2024 |
3.24.801.155 | 89 | 8/1/2024 |
3.24.730.164 | 49 | 7/30/2024 |
3.24.730.91 | 49 | 7/30/2024 |
3.24.724.91 | 75 | 7/24/2024 |
3.24.718.105 | 92 | 7/18/2024 |
3.24.716.95 | 91 | 7/16/2024 |
3.24.712.94 | 85 | 7/12/2024 |
3.24.710.14 | 96 | 7/9/2024 |
3.24.709.105 | 100 | 7/9/2024 |
3.24.704.94 | 110 | 7/4/2024 |
3.24.701.90 | 101 | 7/1/2024 |
3.24.628.114 | 118 | 6/28/2024 |
3.24.627.145 | 104 | 6/27/2024 |
3.24.620.160 | 99 | 6/20/2024 |
3.24.613.115 | 91 | 6/13/2024 |
3.24.612.95 | 86 | 6/12/2024 |
3.24.528.90 | 93 | 5/28/2024 |
3.24.522.84 | 108 | 5/22/2024 |
3.24.512.213 | 88 | 5/12/2024 |
3.24.508.112 | 116 | 5/8/2024 |
2.2024.428.71 | 110 | 4/28/2024 |
2.2024.427.1128 | 121 | 4/27/2024 |
2.2.72 | 182 | 4/14/2024 |
2.2.71 | 109 | 4/12/2024 |
2.2.8 | 108 | 4/26/2024 |
2.2.6 | 104 | 4/10/2024 |
2.2.5 | 138 | 3/26/2024 |
2.2.4 | 140 | 3/25/2024 |
2.2.3 | 139 | 3/24/2024 |
2.2.2 | 139 | 3/21/2024 |
2.2.1 | 154 | 3/20/2024 |
2.2.0 | 178 | 3/13/2024 |
2.1.9 | 243 | 2/21/2024 |
2.1.8 | 230 | 2/18/2024 |
2.1.7 | 234 | 2/16/2024 |
2.1.6 | 264 | 2/14/2024 |
2.1.5 | 249 | 2/14/2024 |
2.1.4 | 263 | 2/9/2024 |
2.1.3 | 258 | 2/8/2024 |
2.1.2 | 270 | 2/5/2024 |
2.1.1.2 | 426 | 12/26/2023 |
2.1.1.1 | 358 | 12/26/2023 |
2.1.1 | 414 | 12/25/2023 |
2.1.0 | 423 | 12/17/2023 |
2.0.11 | 492 | 12/6/2023 |
2.0.1 | 492 | 11/15/2023 |
2.0.0 | 455 | 11/14/2023 |
1.9.1 | 483 | 11/1/2023 |
1.9.0 | 485 | 10/19/2023 |
1.9.0-preview2 | 464 | 10/12/2023 |
1.9.0-preview1 | 496 | 10/12/2023 |
1.8.9 | 513 | 10/11/2023 |
1.8.8 | 512 | 10/11/2023 |
1.8.7-rc2 | 506 | 9/21/2023 |
1.8.7-rc1 | 546 | 9/12/2023 |
1.8.6 | 620 | 8/31/2023 |
1.8.5 | 616 | 8/25/2023 |
1.8.4 | 635 | 8/24/2023 |
1.8.3 | 599 | 8/23/2023 |
1.8.2 | 640 | 8/22/2023 |
1.8.1 | 597 | 8/18/2023 |
1.8.0 | 627 | 8/15/2023 |
1.7.9 | 638 | 8/11/2023 |
1.7.8 | 645 | 8/11/2023 |
1.7.7 | 667 | 8/10/2023 |
1.7.6 | 636 | 8/9/2023 |
1.7.5 | 662 | 8/9/2023 |
1.7.4 | 657 | 8/3/2023 |
1.7.3 | 699 | 8/1/2023 |
1.7.2 | 654 | 7/31/2023 |
1.7.1 | 682 | 7/27/2023 |
1.7.0 | 716 | 7/25/2023 |
1.6.9 | 675 | 7/25/2023 |
1.6.8 | 693 | 7/24/2023 |
1.6.7 | 673 | 7/20/2023 |
1.6.6 | 695 | 7/19/2023 |
1.6.5 | 662 | 7/19/2023 |
1.6.4 | 675 | 7/17/2023 |
1.6.3 | 696 | 7/17/2023 |
1.6.2 | 692 | 7/12/2023 |
1.6.1 | 657 | 6/30/2023 |
1.6.0 | 667 | 6/30/2023 |