A simple ASP.NET Core Web API to make CRUD operations against a Azure Storage Container for interacting with Azure Blobs.
You can find the fill guide on how this API was made with detailed instructions for configuration of Azure + API here: How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files.
- Clone project to local machine
- Open solution file
- Choose to start the
docker-compose
launch settings
N'joy :-)
The above steps will start Azurite storage emulator, Seq log server and the API. The services will be started by the definitions in the docker-compose.yml file
All Docker container logs will also be sent to the Seq log server.
To see all logs, open http://localhost:5341/
Running Docker requires that you have installed Docker Desktop for Windows.
Azure:
- Create Storage Account
- Create Container
- Get Connection String from Access Keys in Storage Account
API:
- Fork project or copy code
- Change Connection String with the one from your Azure Storage Account in appsettings.json
- Run the Application
- Upload file
- Get Files
- Download file
- Delete file
- 0.1.0
- Update Readme
- Added Readme
- 0.0.1
- Initial Commit
Christian Schou – My tech blog. Feel free to connect with me on LinkedIn as well.
Distributed under the MIT license. See LICENSE
for more information.
[https://github.com/Christian-Schou/](Follow me on Github)