https://github.com/mlof/imagesharp.web.providers.storage
https://github.com/mlof/imagesharp.web.providers.storage
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mlof/imagesharp.web.providers.storage
- Owner: mlof
- Created: 2021-02-09T14:06:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-09T15:00:02.000Z (over 5 years ago)
- Last Synced: 2025-01-12T06:07:15.859Z (over 1 year ago)
- Language: C#
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ImageSharp.Web.Providers.Storage
## Getting started
```csharp
// register Storage.net provider in your IOC container
services.AddSingleton(provider => StorageFactory.Blobs.DirectoryFiles(directoryFullName: ""));
// remove the default ImageProvider, and add the StorageNetImageProvider.
services.AddImageSharp(options => { })
.RemoveProvider()
.AddProvider();
```