{"id":23061086,"url":"https://github.com/syncfusionexamples/amazon-s3-aspcore-file-provider","last_synced_at":"2025-08-02T12:04:19.132Z","repository":{"id":37701355,"uuid":"217301300","full_name":"SyncfusionExamples/amazon-s3-aspcore-file-provider","owner":"SyncfusionExamples","description":"This repo contains the ej2-amazon-s3-aspcore-file-provider to access the file system from amazon-s3 to ej-file-manager using asp.net core ","archived":false,"fork":false,"pushed_at":"2025-03-21T13:10:45.000Z","size":59,"stargazers_count":16,"open_issues_count":8,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-22T07:45:51.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyncfusionExamples.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-24T13:05:50.000Z","updated_at":"2025-04-09T10:14:54.000Z","dependencies_parsed_at":"2023-02-14T10:17:06.227Z","dependency_job_id":"feecf4e0-b182-4bbb-9abd-1b7a1519e4a9","html_url":"https://github.com/SyncfusionExamples/amazon-s3-aspcore-file-provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyncfusionExamples/amazon-s3-aspcore-file-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2Famazon-s3-aspcore-file-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2Famazon-s3-aspcore-file-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2Famazon-s3-aspcore-file-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2Famazon-s3-aspcore-file-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyncfusionExamples","download_url":"https://codeload.github.com/SyncfusionExamples/amazon-s3-aspcore-file-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2Famazon-s3-aspcore-file-provider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268385711,"owners_count":24242100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T03:16:10.478Z","updated_at":"2025-08-02T12:04:18.956Z","avatar_url":"https://github.com/SyncfusionExamples.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amazon-s3-aspcore-file-provider\n\nThis repository contains the Amazon S3 bucket file system provider in ASP.NET Core for the Syncfusion File Manager component.\n\n## Key Features\n\nThe following actions can be performed with Amazon S3 bucket file system provider:\n\n| **Actions** | **Description** |\n| --- | --- |\n| Read         | Reads the files from Amazon S3 bucket. |\n| Details      | Gets the file's details like Type, Size, Location, and Modified date. |\n| Download     | Downloads the selected file or folder from the Amazon S3 bucket. |\n| Upload       | Uploads a file to the Amazon S3 bucket. It accepts uploaded media with the following characteristics: \u003cul\u003e\u003cli\u003eMaximum file size:  30MB\u003c/li\u003e\u003cli\u003eAccepted Media MIME types: `*/*` \u003c/li\u003e\u003c/ul\u003e |\n| Create       | Creates a new folder. |\n| Delete       | Deletes a folder or file. |\n| Copy         | Copies the selected files from target. |\n| Move         | Pastes the copied files to the desired location. |\n| Rename       | Renames a folder or file. |\n| Search       | Full-text queries perform linguistic searches against text data in full-text indexes by operating on words and phrases. |\n\n## Prerequisites\n\nTo run the service, create an Amazon S3 bucket in one of the AWS Regions for accessing and storing the S3 objects as files or folders. Create an [Amazon S3 account](https://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) and then create S3 bucket to perform the file operations. Then, open the `AmazonS3FileProvider` and register your Amazon S3 client account details like awsAccessKeyId, awsSecretAccessKey, bucketRegion, and bucketName details in `RegisterAmazonS3` method to perform the file operations. \n\n```\n  void RegisterAmazonS3(string bucketName, string awsAccessKeyId, string awsSecretAccessKey, string bucketRegion);\n```\n\n## How to run this application\n\nTo run this application, clone the [`amazon-s3-aspcore-file-provider`](https://github.com/SyncfusionExamples/amazon-s3-aspcore-file-provider) repository and then navigate to its appropriate path where it has been located in your system.\n\nTo do so, open the command prompt and run the following commands one after the other.\n\n```\ngit clone https://github.com/SyncfusionExamples/amazon-s3-aspcore-file-provider\n\ncd amazon-s3-aspcore-file-provider\n```\n## Restore the NuGet package and build the application\n\nTo restore the NuGet package, run the following command in root folder of the application.\n\n```\ndotnet restore\n```\n\nTo build the application, run the following command.\n\n```\ndotnet build\n```\n\n## Running application\n\nAfter successful compilation, run the following command to run the application.\n\n```\ndotnet run\n```\n\nNow, the project will be hosted in http://localhost. To ensure the Amazon-s3-service, map the following URL in your browser.\n\n```\nhttp://localhost:\u003cport-number\u003e/api/test\n```\n\n## File Manager AjaxSettings\n\nTo access the basic actions such as Read, Delete, Copy, Move, Rename, Search, and Get Details of File Manager using Amazon s3 service, just map the following code snippet in the Ajaxsettings property of File Manager.\n\nHere, the `hostUrl` will be your locally hosted port number.\n\n```\n  var hostUrl = http://localhost:62870/;\n  ajaxSettings: {\n        url: hostUrl + 'api/AmazonS3Provider/AmazonS3FileOperations'\n  }\n```\n\n## File download AjaxSettings\n\nTo perform download operation, initialize the `downloadUrl` property in ajaxSettings of the File Manager component.\n\n```\n  var hostUrl = http://localhost:62870/;\n  ajaxSettings: {\n        url: hostUrl + 'api/AmazonS3Provider/AmazonS3FileOperations',\n        downloadUrl: hostUrl + 'api/AmazonS3Provider/AmazonS3Download'\n  }\n```\n\n## File upload AjaxSettings\n\nTo perform upload operation, initialize the `uploadUrl` property in ajaxSettings of the File Manager component.\n\n```\n  var hostUrl = http://localhost:62870/;\n  ajaxSettings: {\n        url: hostUrl + 'api/AmazonS3Provider/AmazonS3FileOperations',\n        uploadUrl: hostUrl + 'api/AmazonS3Provider/AmazonS3Upload'\n  }\n```\n\n## File image preview AjaxSettings\n\nTo perform image preview support in the File Manager component, initialize the `getImageUrl` property in ajaxSettings of the File Manager component.\n\n```\n  var hostUrl = http://localhost:62870/;\n  ajaxSettings: {\n        url: hostUrl + 'api/AmazonS3Provider/AmazonS3FileOperations',\n         getImageUrl: hostUrl + 'api/AmazonS3Provider/AmazonS3GetImage'\n  }\n```\n\nThe FileManager will be rendered as the following.\n\n![File Manager](https://ej2.syncfusion.com/products/images/file-manager/readme.gif)\n\n## Support\n\nProduct support is available through the following mediums:\n\n* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm\u0026utm_campaign=filemanager) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm\u0026utm_campaign=filemanager).\n\n* New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new).\n\n* Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm\u0026utm_campaign=filemanager) with tag `syncfusion` and `ej2`.\n\n## License\n\nCheck the license details [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license).\n\n## Changelog\n\nCheck the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/filemanager/CHANGELOG.md)\n\n© Copyright 2020 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Famazon-s3-aspcore-file-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncfusionexamples%2Famazon-s3-aspcore-file-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Famazon-s3-aspcore-file-provider/lists"}