# aliossnet6 **Repository Path**: catzhou/aliossnet6 ## Basic Information - **Project Name**: aliossnet6 - **Description**: ASP.Net6.0 阿里云Oss Api封装 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-24 - **Last Updated**: 2022-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # aliossnet6 #### 介绍 ASP.Net6.0 阿里云Oss Api封装 #### 安装说明 1. Prgoram.cs ``` builder.Services.AddHttpClient(); builder.Services.AddSingleton(); ``` 2. appsettings.json ``` "Oss": { "EndPoint": "oss-cn-hangzhou.aliyuncs.com", "Key": "key", "AccessKeyId": "accessKeyId" } ``` 3. xxxx #### 使用说明 ``` public async Task OnGetAsync([FromServices] IOss oss) ```