All Projects → appany → Minio.AspNetCore

appany / Minio.AspNetCore

Licence: MIT license
AspNetCore integration for Minio client

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Minio.AspNetCore

AspNetCore6Experiments
ASP.NET Core Blazor BFF with Azure AD and Razor page
Stars: ✭ 43 (-44.16%)
Mutual labels:  aspnetcore
StartupModules
Startup modules for ASP.NET Core.
Stars: ✭ 33 (-57.14%)
Mutual labels:  aspnetcore
pokeR
Planning poker with SignalR
Stars: ✭ 37 (-51.95%)
Mutual labels:  aspnetcore
dotnet-minimal-api-integration-testing
An example of integration testing ASP.NET Core Minimal hosting and APIs
Stars: ✭ 237 (+207.79%)
Mutual labels:  aspnetcore
Home
Home for Blazor Extensions
Stars: ✭ 51 (-33.77%)
Mutual labels:  aspnetcore
AspNetCoreIdentityEncryption
How to do manual encryption for ASP.NET Core Identity 2.1. Not that you should be doing it.
Stars: ✭ 51 (-33.77%)
Mutual labels:  aspnetcore
POS---Point-Of-Sales
Point of sales proof of concept developed using Asp.Net Core 2.2. Features: Customer, Vendor, Product, Purchase Order, Goods Receive, Sales Order, Inventory Transactions and POS form.
Stars: ✭ 120 (+55.84%)
Mutual labels:  aspnetcore
servicestack-nuxt-example
A simple example of using nuxt for front-end development and ServiceStack for backend development
Stars: ✭ 48 (-37.66%)
Mutual labels:  aspnetcore
pineblog
A light-weight blogging engine written in ASP.NET Core MVC Razor Pages, using Entity Framework Core or MongoDb.
Stars: ✭ 60 (-22.08%)
Mutual labels:  aspnetcore
GatewayService
GatewayService (Ocelot).
Stars: ✭ 19 (-75.32%)
Mutual labels:  aspnetcore
AspNetCore
App Metrics Extensions for AspNet Core
Stars: ✭ 52 (-32.47%)
Mutual labels:  aspnetcore
MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+102.6%)
Mutual labels:  aspnetcore
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (+0%)
Mutual labels:  aspnetcore
NHibernate.AspNetCore.Identity
ASP.NET Core Identity Provider for NHibernate
Stars: ✭ 54 (-29.87%)
Mutual labels:  aspnetcore
backup-repository
Backup storage for E2E GPG-encrypted files, with multi-user, quotas, versioning, using a object storage (S3/Min.io/GCS etc.) and deployed on Kubernetes or standalone.
Stars: ✭ 21 (-72.73%)
Mutual labels:  minio
frame-backend
Frame API Build on JSON Web Tokens
Stars: ✭ 15 (-80.52%)
Mutual labels:  minio
k3s-minio-deployment
Instructions and manifest files for deploying MinIO Object Storage on K3s.
Stars: ✭ 46 (-40.26%)
Mutual labels:  minio
profiler-api
The portable version of JetBrains profiler API for .NET Framework / .NET Core / .NET / .NET Standard / Mono
Stars: ✭ 21 (-72.73%)
Mutual labels:  aspnetcore
mindav
A self-hosted file backup server which bridges WebDAV protocol with @minio written in @totoval. Webdav ❤️ Minio
Stars: ✭ 64 (-16.88%)
Mutual labels:  minio
aspnetcore-authentication-apikey
Easy to use and very light weight Microsoft style API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key in Header, Authorization Header, QueryParams or HeaderOrQueryParams.
Stars: ✭ 215 (+179.22%)
Mutual labels:  aspnetcore

💥 Minio.AspNetCore 💥

License Nuget Downloads Tests codecov

⚡️ Microsoft.Extensions.DependencyInjection and HealthChecks extensions for Minio client ⚡️

🔧 Installation 🔧

$> dotnet add package Minio.AspNetCore

🎨 Usage 🎨

Add MinioClient

services.AddMinio(options =>
{
  options.Endpoint = "endpoint";
  // ...
  options.ConfigureClient(client =>
  {
    client.WithSSL();
  });
});

// Url based configuration
services.AddMinio(new Uri("s3://accessKey:secretKey@localhost:9000/region"));

// Get or inject
var client = serviceProvider.GetRequiredService<MinioClient>();

// Create new from factory
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient();

Multiple clients support using named options

services.AddMinio(options =>
{
  options.Endpoint = "endpoint1";
  // ...
  options.ConfigureClient(client =>
  {
    client.WithSSL();
  });
});

// Named extension overload
services.AddMinio("minio2", options =>
{
  options.Endpoint = "endpoint2";
  // ...
  options.ConfigureClient(client =>
  {
    client.WithSSL().WithTimeout(...);
  });
});

// Explicit named Configure
services.AddMinio()
  .Configure<MinioOptions>("minio3", options =>
  {
    options.Endpoint = "endpoint3";
    // ...
  });

// Get or inject first minio client
var client = serviceProvider.GetRequiredService<MinioClient>();

// Create new minio2
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient("minio2");

// Create new minio3
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient("minio3");

🚑 HealthChecks 🚑

// Minio.AspNetCore.HealthChecks package

services.AddHealthChecks()
  .AddMinio(sp => sp.GetRequiredService<MinioClient>());

services.AddHealthChecks()
  .AddMinio(sp => sp.GetRequiredService<MinioClient>())
  .AddMinio(sp => /* Get named client from cache or create new */);

Breaking changes

  • From 3.x to 4.x
    • Minio upgraded to 4.0.0
    • options.OnClientConfiguration replaced with options.ConfigureClient(...)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].