diff --git a/Docs/说明.md b/Docs/说明.md
new file mode 100644
index 0000000..0c4f5e3
--- /dev/null
+++ b/Docs/说明.md
@@ -0,0 +1,3 @@
+Ŀ˵
+========
+ĿMinIOֲʽ洢ѧϰĿ
diff --git a/MinioStudy.CApp/MinioStudy.CApp.csproj b/MinioStudy.CApp/MinioStudy.CApp.csproj
new file mode 100644
index 0000000..ee20976
--- /dev/null
+++ b/MinioStudy.CApp/MinioStudy.CApp.csproj
@@ -0,0 +1,14 @@
+
+
+
+ Exe
+ net7.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/MinioStudy.CApp/Program.cs b/MinioStudy.CApp/Program.cs
new file mode 100644
index 0000000..08408db
--- /dev/null
+++ b/MinioStudy.CApp/Program.cs
@@ -0,0 +1,10 @@
+namespace MinioStudy.CApp
+{
+ internal class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("Hello, World!");
+ }
+ }
+}
\ No newline at end of file
diff --git a/MinioStudy.Core/MinioConfig.json b/MinioStudy.Core/MinioConfig.json
new file mode 100644
index 0000000..6c5ccdf
--- /dev/null
+++ b/MinioStudy.Core/MinioConfig.json
@@ -0,0 +1,8 @@
+{
+ "Description": "MinIO配置项",
+ "Server": "loclhost",
+ "Port": 9000,
+ "AccessToken": "sdfsdf",
+ "Srcirt0": "sss"
+
+}
diff --git a/MinioStudy.Core/MinioOption.cs b/MinioStudy.Core/MinioOption.cs
new file mode 100644
index 0000000..2169467
--- /dev/null
+++ b/MinioStudy.Core/MinioOption.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace MinioStudy.Core
+{
+ ///
+ /// MinIO 配置项
+ ///
+ public class MinioOption
+ {
+
+ }
+}
diff --git a/MinioStudy.Core/MinioStudy.Core.csproj b/MinioStudy.Core/MinioStudy.Core.csproj
new file mode 100644
index 0000000..fe6f3d0
--- /dev/null
+++ b/MinioStudy.Core/MinioStudy.Core.csproj
@@ -0,0 +1,12 @@
+
+
+
+ netstandard2.1
+ enable
+
+
+
+
+
+
+
diff --git a/MinioStudy.CoreTest/MinioStudy.CoreTest.csproj b/MinioStudy.CoreTest/MinioStudy.CoreTest.csproj
new file mode 100644
index 0000000..8b3a005
--- /dev/null
+++ b/MinioStudy.CoreTest/MinioStudy.CoreTest.csproj
@@ -0,0 +1,29 @@
+
+
+
+ net7.0
+ enable
+ enable
+
+ false
+ true
+
+
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+
+
+
+
+
+
diff --git a/MinioStudy.CoreTest/UseXunit.cs b/MinioStudy.CoreTest/UseXunit.cs
new file mode 100644
index 0000000..5b87095
--- /dev/null
+++ b/MinioStudy.CoreTest/UseXunit.cs
@@ -0,0 +1,11 @@
+namespace MinioStudy.CoreTest
+{
+ public class UseXunit
+ {
+ [Fact]
+ public void Test1()
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/MinioStudy.CoreTest/Usings.cs b/MinioStudy.CoreTest/Usings.cs
new file mode 100644
index 0000000..8c927eb
--- /dev/null
+++ b/MinioStudy.CoreTest/Usings.cs
@@ -0,0 +1 @@
+global using Xunit;
\ No newline at end of file
diff --git a/MinioStudy.WebApp/Controllers/WeatherForecastController.cs b/MinioStudy.WebApp/Controllers/WeatherForecastController.cs
new file mode 100644
index 0000000..b3ab982
--- /dev/null
+++ b/MinioStudy.WebApp/Controllers/WeatherForecastController.cs
@@ -0,0 +1,33 @@
+using Microsoft.AspNetCore.Mvc;
+
+namespace MinioStudy.WebApp.Controllers
+{
+ [ApiController]
+ [Route("[controller]")]
+ public class WeatherForecastController : ControllerBase
+ {
+ private static readonly string[] Summaries = new[]
+ {
+ "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
+ };
+
+ private readonly ILogger _logger;
+
+ public WeatherForecastController(ILogger logger)
+ {
+ _logger = logger;
+ }
+
+ [HttpGet(Name = "GetWeatherForecast")]
+ public IEnumerable Get()
+ {
+ return Enumerable.Range(1, 5).Select(index => new WeatherForecast
+ {
+ Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
+ TemperatureC = Random.Shared.Next(-20, 55),
+ Summary = Summaries[Random.Shared.Next(Summaries.Length)]
+ })
+ .ToArray();
+ }
+ }
+}
\ No newline at end of file
diff --git a/MinioStudy.WebApp/MinioStudy.WebApp.csproj b/MinioStudy.WebApp/MinioStudy.WebApp.csproj
new file mode 100644
index 0000000..6844424
--- /dev/null
+++ b/MinioStudy.WebApp/MinioStudy.WebApp.csproj
@@ -0,0 +1,23 @@
+
+
+
+ net7.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MinioStudy.WebApp/Program.cs b/MinioStudy.WebApp/Program.cs
new file mode 100644
index 0000000..89fbe25
--- /dev/null
+++ b/MinioStudy.WebApp/Program.cs
@@ -0,0 +1,34 @@
+
+namespace MinioStudy.WebApp
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ var builder = WebApplication.CreateBuilder(args);
+
+ // Add services to the container.
+
+ builder.Services.AddControllers();
+ // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
+ builder.Services.AddEndpointsApiExplorer();
+ builder.Services.AddSwaggerGen();
+
+ var app = builder.Build();
+
+ // Configure the HTTP request pipeline.
+ if (app.Environment.IsDevelopment())
+ {
+ app.UseSwagger();
+ app.UseSwaggerUI();
+ }
+
+ app.UseAuthorization();
+
+
+ app.MapControllers();
+
+ app.Run();
+ }
+ }
+}
\ No newline at end of file
diff --git a/MinioStudy.WebApp/Properties/launchSettings.json b/MinioStudy.WebApp/Properties/launchSettings.json
new file mode 100644
index 0000000..a0df02a
--- /dev/null
+++ b/MinioStudy.WebApp/Properties/launchSettings.json
@@ -0,0 +1,31 @@
+{
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:40635",
+ "sslPort": 0
+ }
+ },
+ "profiles": {
+ "http": {
+ "commandName": "Project",
+ "dotnetRunMessages": true,
+ "launchBrowser": true,
+ "launchUrl": "swagger",
+ "applicationUrl": "http://localhost:5015",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "IIS Express": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "launchUrl": "swagger",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ }
+ }
+}
diff --git a/MinioStudy.WebApp/WeatherForecast.cs b/MinioStudy.WebApp/WeatherForecast.cs
new file mode 100644
index 0000000..e91172e
--- /dev/null
+++ b/MinioStudy.WebApp/WeatherForecast.cs
@@ -0,0 +1,13 @@
+namespace MinioStudy.WebApp
+{
+ public class WeatherForecast
+ {
+ public DateOnly Date { get; set; }
+
+ public int TemperatureC { get; set; }
+
+ public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
+
+ public string? Summary { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/MinioStudy.WebApp/appsettings.Development.json b/MinioStudy.WebApp/appsettings.Development.json
new file mode 100644
index 0000000..0c208ae
--- /dev/null
+++ b/MinioStudy.WebApp/appsettings.Development.json
@@ -0,0 +1,8 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ }
+}
diff --git a/MinioStudy.WebApp/appsettings.json b/MinioStudy.WebApp/appsettings.json
new file mode 100644
index 0000000..10f68b8
--- /dev/null
+++ b/MinioStudy.WebApp/appsettings.json
@@ -0,0 +1,9 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ },
+ "AllowedHosts": "*"
+}
diff --git a/MinioStudy.sln b/MinioStudy.sln
new file mode 100644
index 0000000..3b5bbb7
--- /dev/null
+++ b/MinioStudy.sln
@@ -0,0 +1,58 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.6.33829.357
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinioStudy.Core", "MinioStudy.Core\MinioStudy.Core.csproj", "{89E5003D-17F8-4748-8CF6-BAA338979385}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinioStudy.CoreTest", "MinioStudy.CoreTest\MinioStudy.CoreTest.csproj", "{51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{54C09CE6-0822-449C-9FB3-5A2069CF54FF}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{6BDA1DB1-130F-4891-961A-2F658EF98E0C}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{008B9CAF-135A-48F3-AA9E-1B59AF4D681E}"
+ ProjectSection(SolutionItems) = preProject
+ Docs\说明.md = Docs\说明.md
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinioStudy.WebApp", "MinioStudy.WebApp\MinioStudy.WebApp.csproj", "{A36D7791-D6F3-4806-A17B-82CEC32B35FC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinioStudy.CApp", "MinioStudy.CApp\MinioStudy.CApp.csproj", "{FD675BC2-CF35-431E-B38A-E2E7005BC5FC}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {89E5003D-17F8-4748-8CF6-BAA338979385}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {89E5003D-17F8-4748-8CF6-BAA338979385}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {89E5003D-17F8-4748-8CF6-BAA338979385}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {89E5003D-17F8-4748-8CF6-BAA338979385}.Release|Any CPU.Build.0 = Release|Any CPU
+ {51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A36D7791-D6F3-4806-A17B-82CEC32B35FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A36D7791-D6F3-4806-A17B-82CEC32B35FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A36D7791-D6F3-4806-A17B-82CEC32B35FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A36D7791-D6F3-4806-A17B-82CEC32B35FC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FD675BC2-CF35-431E-B38A-E2E7005BC5FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FD675BC2-CF35-431E-B38A-E2E7005BC5FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FD675BC2-CF35-431E-B38A-E2E7005BC5FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FD675BC2-CF35-431E-B38A-E2E7005BC5FC}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {89E5003D-17F8-4748-8CF6-BAA338979385} = {54C09CE6-0822-449C-9FB3-5A2069CF54FF}
+ {51F4906C-6B10-4DDC-A544-ABB2ABFA8CD8} = {6BDA1DB1-130F-4891-961A-2F658EF98E0C}
+ {A36D7791-D6F3-4806-A17B-82CEC32B35FC} = {54C09CE6-0822-449C-9FB3-5A2069CF54FF}
+ {FD675BC2-CF35-431E-B38A-E2E7005BC5FC} = {54C09CE6-0822-449C-9FB3-5A2069CF54FF}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {7EE68A77-C860-4FAA-B16D-1486BC090795}
+ EndGlobalSection
+EndGlobal