EasilyNET.MongoGridFS.AspNetCore
2.1.1.1
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 2.1.1.1
NuGet\Install-Package EasilyNET.MongoGridFS.AspNetCore -Version 2.1.1.1
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="2.1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasilyNET.MongoGridFS.AspNetCore --version 2.1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasilyNET.MongoGridFS.AspNetCore, 2.1.1.1"
#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=2.1.1.1 // Install EasilyNET.MongoGridFS.AspNetCore as a Cake Tool #tool nuget:?package=EasilyNET.MongoGridFS.AspNetCore&version=2.1.1.1
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.23.1)
-
net7.0
- MongoDB.Driver.GridFS (>= 2.23.1)
-
net8.0
- MongoDB.Driver.GridFS (>= 2.23.1)
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 | 69 | 10/16/2024 |
3.24.1016.161 | 72 | 10/16/2024 |
3.24.1015.231 | 69 | 10/15/2024 |
3.24.1015.14 | 76 | 10/14/2024 |
3.24.1012.114 | 79 | 10/12/2024 |
3.24.1009.115 | 74 | 10/9/2024 |
3.24.1008.160 | 70 | 10/8/2024 |
3.24.1008.133 | 68 | 10/8/2024 |
3.24.1007.185 | 73 | 10/7/2024 |
3.24.1003.33 | 74 | 10/2/2024 |
3.24.1002.162 | 80 | 10/2/2024 |
3.24.929.143 | 84 | 9/29/2024 |
3.24.929.141 | 86 | 9/29/2024 |
3.24.929.131 | 91 | 9/29/2024 |
3.24.929.122 | 100 | 9/29/2024 |
3.24.926.184 | 93 | 9/26/2024 |
3.24.926.182 | 80 | 9/26/2024 |
3.24.926.175 | 102 | 9/26/2024 |
3.24.924.160 | 71 | 9/24/2024 |
3.24.924.133 | 82 | 9/24/2024 |
3.24.924.124 | 85 | 9/24/2024 |
3.24.924.10 | 77 | 9/23/2024 |
3.24.924.1 | 69 | 9/23/2024 |
3.24.923.234 | 67 | 9/23/2024 |
3.24.923.232 | 75 | 9/23/2024 |
3.24.923.155 | 76 | 9/23/2024 |
3.24.919.92 | 78 | 9/19/2024 |
3.24.914.125 | 98 | 9/14/2024 |
3.24.914.115 | 93 | 9/14/2024 |
3.24.914.111 | 90 | 9/14/2024 |
3.24.911.95 | 89 | 9/11/2024 |
3.24.908.215 | 76 | 9/8/2024 |
3.24.904.200 | 84 | 9/4/2024 |
3.24.828.163 | 93 | 8/28/2024 |
3.24.820.173 | 101 | 8/20/2024 |
3.24.814.92 | 98 | 8/14/2024 |
3.24.812.115 | 106 | 8/12/2024 |
3.24.802.100 | 76 | 8/2/2024 |
3.24.801.162 | 85 | 8/1/2024 |
3.24.801.160 | 83 | 8/1/2024 |
3.24.801.155 | 85 | 8/1/2024 |
3.24.730.164 | 45 | 7/30/2024 |
3.24.730.91 | 45 | 7/30/2024 |
3.24.724.91 | 72 | 7/24/2024 |
3.24.718.105 | 88 | 7/18/2024 |
3.24.716.95 | 87 | 7/16/2024 |
3.24.712.94 | 81 | 7/12/2024 |
3.24.710.14 | 92 | 7/9/2024 |
3.24.709.105 | 96 | 7/9/2024 |
3.24.704.94 | 106 | 7/4/2024 |
3.24.701.90 | 97 | 7/1/2024 |
3.24.628.114 | 114 | 6/28/2024 |
3.24.627.145 | 100 | 6/27/2024 |
3.24.620.160 | 95 | 6/20/2024 |
3.24.613.115 | 88 | 6/13/2024 |
3.24.612.95 | 82 | 6/12/2024 |
3.24.528.90 | 87 | 5/28/2024 |
3.24.522.84 | 104 | 5/22/2024 |
3.24.512.213 | 84 | 5/12/2024 |
3.24.508.112 | 112 | 5/8/2024 |
2.2024.428.71 | 107 | 4/28/2024 |
2.2024.427.1128 | 115 | 4/27/2024 |
2.2.72 | 178 | 4/14/2024 |
2.2.71 | 105 | 4/12/2024 |
2.2.8 | 104 | 4/26/2024 |
2.2.6 | 100 | 4/10/2024 |
2.2.5 | 134 | 3/26/2024 |
2.2.4 | 136 | 3/25/2024 |
2.2.3 | 135 | 3/24/2024 |
2.2.2 | 135 | 3/21/2024 |
2.2.1 | 151 | 3/20/2024 |
2.2.0 | 174 | 3/13/2024 |
2.1.9 | 239 | 2/21/2024 |
2.1.8 | 226 | 2/18/2024 |
2.1.7 | 230 | 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 | 254 | 2/8/2024 |
2.1.2 | 267 | 2/5/2024 |
2.1.1.2 | 422 | 12/26/2023 |
2.1.1.1 | 352 | 12/26/2023 |
2.1.1 | 409 | 12/25/2023 |
2.1.0 | 419 | 12/17/2023 |
2.0.11 | 488 | 12/6/2023 |
2.0.1 | 486 | 11/15/2023 |
2.0.0 | 452 | 11/14/2023 |
1.9.1 | 477 | 11/1/2023 |
1.9.0 | 482 | 10/19/2023 |
1.9.0-preview2 | 460 | 10/12/2023 |
1.9.0-preview1 | 493 | 10/12/2023 |
1.8.9 | 509 | 10/11/2023 |
1.8.8 | 508 | 10/11/2023 |
1.8.7-rc2 | 502 | 9/21/2023 |
1.8.7-rc1 | 542 | 9/12/2023 |
1.8.6 | 616 | 8/31/2023 |
1.8.5 | 612 | 8/25/2023 |
1.8.4 | 629 | 8/24/2023 |
1.8.3 | 595 | 8/23/2023 |
1.8.2 | 634 | 8/22/2023 |
1.8.1 | 593 | 8/18/2023 |
1.8.0 | 624 | 8/15/2023 |
1.7.9 | 634 | 8/11/2023 |
1.7.8 | 641 | 8/11/2023 |
1.7.7 | 663 | 8/10/2023 |
1.7.6 | 632 | 8/9/2023 |
1.7.5 | 658 | 8/9/2023 |
1.7.4 | 653 | 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 | 711 | 7/25/2023 |
1.6.9 | 671 | 7/25/2023 |
1.6.8 | 687 | 7/24/2023 |
1.6.7 | 669 | 7/20/2023 |
1.6.6 | 691 | 7/19/2023 |
1.6.5 | 658 | 7/19/2023 |
1.6.4 | 669 | 7/17/2023 |
1.6.3 | 692 | 7/17/2023 |
1.6.2 | 688 | 7/12/2023 |
1.6.1 | 651 | 6/30/2023 |
1.6.0 | 661 | 6/30/2023 |