resource.vpress.vn

This commit is contained in:
thienqb123456
2024-09-03 09:23:03 +07:00
commit 6ae596376f
133 changed files with 7729 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
+87
View File
@@ -0,0 +1,87 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|d:\\workplace\\projects\\nsg_projects\\ngaoda\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|d:\\workplace\\projects\\nsg_projects\\ngaoda\\customresponseheadermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|solutionrelative:customresponseheadermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|d:\\workplace\\projects\\nsg_projects\\ngaoda\\controllers\\imageprocessingcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|solutionrelative:controllers\\imageprocessingcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|d:\\workplace\\projects\\nsg_projects\\ngaoda\\services\\imageprocessingservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EA57B75E-8D97-46E2-BABC-45341F484A3D}|ngaoda.csproj|solutionrelative:services\\imageprocessingservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 4,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{e1b7d1f8-9b3c-49b1-8f4f-bfc63a88835d}"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "CustomResponseHeaderMiddleware.cs",
"DocumentMoniker": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\CustomResponseHeaderMiddleware.cs",
"RelativeDocumentMoniker": "CustomResponseHeaderMiddleware.cs",
"ToolTip": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\CustomResponseHeaderMiddleware.cs",
"RelativeToolTip": "CustomResponseHeaderMiddleware.cs",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-08-23T08:42:55.872Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "ImageProcessingController.cs",
"DocumentMoniker": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Controllers\\ImageProcessingController.cs",
"RelativeDocumentMoniker": "Controllers\\ImageProcessingController.cs",
"ToolTip": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Controllers\\ImageProcessingController.cs",
"RelativeToolTip": "Controllers\\ImageProcessingController.cs",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-07-06T09:25:44.172Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "ImageProcessingService.cs",
"DocumentMoniker": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Services\\ImageProcessingService.cs",
"RelativeDocumentMoniker": "Services\\ImageProcessingService.cs",
"ToolTip": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Services\\ImageProcessingService.cs",
"RelativeToolTip": "Services\\ImageProcessingService.cs",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-07-04T02:44:03.868Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Program.cs",
"DocumentMoniker": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Program.cs",
"RelativeDocumentMoniker": "Program.cs",
"ToolTip": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\Program.cs",
"RelativeToolTip": "Program.cs",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-07-04T02:29:25.963Z",
"EditorCaption": ""
}
]
}
]
}
]
}
+24
View File
@@ -0,0 +1,24 @@
using Microsoft.AspNetCore.Mvc;
using ngaoda.Services;
namespace ngaoda.Controllers
{
public class ImageProcessingController(IImageProcessingService imageProcessingService) : Controller
{
[HttpGet("ImageProcessing")]
public IActionResult ProcessImage(string path, int w = 680, int h = 0, int q = 100, int dpr = 1, string fit = "fill")
{
try
{
var response = imageProcessingService.ProcessImage(path, w, h, q, dpr, fit);
return File(response.fileContent, response.contentType);
}
catch(Exception exception)
{
throw;
}
}
}
}
+25
View File
@@ -0,0 +1,25 @@
namespace ngaoda
{
public class CustomResponseHeaderMiddleware
{
private readonly RequestDelegate _next;
public CustomResponseHeaderMiddleware(RequestDelegate next)
{
_next = next;
}
public async Task InvokeAsync(HttpContext context)
{
context.Response.OnStarting(() =>
{
context.Response.Headers.Add("Access-Control-Allow-Origin", "*");
return Task.CompletedTask;
});
await _next(context);
}
}
}
+94
View File
@@ -0,0 +1,94 @@
using Microsoft.AspNetCore.Rewrite;
using NLog;
using System.Text.RegularExpressions;
using ILogger = NLog.ILogger;
namespace ngaoda
{
public class CustomRewriteRule() : IRule
{
private static readonly ILogger Logger = LogManager.GetCurrentClassLogger();
public void ApplyRule(RewriteContext context)
{
try
{
var request = context.HttpContext.Request;
var path = request.Path.ToString();
var query = request.QueryString.ToString();
// Pattern match URL
var regexPattern = @"\/resources\/(.+)\.(jpg|jpeg|png)";
//var conditionPattern = @"w=(\d+)&h=(\d+)&q=(\d+)&dpr=(\d+)&fit=(\w+)";
//var conditionPattern = @"(?:w=(\d+)|h=(\d+)|q=(\d+)|dpr=(\d+)|fit=(\w+))";
var conditionPattern = @"(?:w=(\d+)|h=(\d+)|q=(\d+)|dpr=(\d+)|fit=(\w+))(?:&|$)";
var match = Regex.Match(path, regexPattern);
var conditionMatches = Regex.Matches(query, conditionPattern);
//if (match.Success && conditionMatch.Success)
//{
// //var imagePath = match.Groups[1].Value + "." + match.Groups[3].Value;
// var width = conditionMatch.Groups[1].Value;
// var height = conditionMatch.Groups[2].Value;
// var quality = conditionMatch.Groups[3].Value;
// var dpr = conditionMatch.Groups[4].Value;
// var fit = conditionMatch.Groups[5].Value;
if (match.Success && conditionMatches.Count > 0)
{
var width = "";
var height = "";
var quality = "";
var dpr = "";
var fit = "";
foreach (Match conditionMatch in conditionMatches)
{
if (conditionMatch.Groups[1].Success)
{
width = conditionMatch.Groups[1].Value;
}
else if (conditionMatch.Groups[2].Success)
{
height = conditionMatch.Groups[2].Value;
}
else if (conditionMatch.Groups[3].Success)
{
quality = conditionMatch.Groups[3].Value;
}
else if (conditionMatch.Groups[4].Success)
{
dpr = conditionMatch.Groups[4].Value;
}
else if (conditionMatch.Groups[5].Success)
{
fit = conditionMatch.Groups[5].Value;
}
}
// Rewrite path internally
context.HttpContext.Request.Path = "/ImageProcessing"; // nhảy sang api trong ImageProcessingController
context.HttpContext.Request.QueryString = new QueryString($"?path={path.Substring(1)}&w={width}&h={height}&q={quality}&dpr={dpr}&fit={fit}");
Logger.Info("url-image-matched");
}
//context.Result = RuleResult.SkipRemainingRules; // Bỏ qua các quy tắc rewrite còn lại
}
catch (Exception ex)
{
// Xử lý exception tại đây
// Ví dụ: ghi log exception
Console.WriteLine($"Exception in ApplyRule middleware: {ex.Message}");
// Rethrow để cho phép ngoại lệ tiếp tục lan ra nếu cần thiết
throw;
}
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+139
View File
@@ -0,0 +1,139 @@
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.FileProviders;
using ngaoda;
using ngaoda.Services;
using NLog;
using NLog.Extensions.Logging;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
var configuration = builder.Configuration;
var webHostEnvironment = builder.Environment;
// Cấu hình Kestrel để thiết lập kích thước tối đa của request body
builder.WebHost.ConfigureKestrel(serverOptions =>
{
serverOptions.Limits.MaxRequestBodySize = 524288000; // 500 MB
});
builder.Services.Configure<IISServerOptions>(options =>
{
options.MaxRequestBodySize = 524288000; // 500 MB
});
builder.Services.Configure<FormOptions>(options =>
{
options.MultipartBodyLengthLimit = 524288000;
});
// NLog configuration
LogManager.Configuration = new NLogLoggingConfiguration(configuration.GetSection("NLog"));
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddLogging(loggingBuilder =>
{
//loggingBuilder.ClearProviders();
loggingBuilder.AddNLog();
});
builder.Services.AddScoped(typeof(IImageProcessingService), typeof(ImageProcessingService));
//builder.Services.AddCors(options =>
//{
// options.AddPolicy("AllowSpecificOrigins",
// builder =>
// {
// builder.WithOrigins(
// "http://localhost:4000",
// "http://127.0.0.1:4000",
// "http://localhost:5500",
// "http://127.0.0.1:5500",
// "https://acp.vpress.vn",
// "https://vpress.vn",
// "https://portal.vpress.vn",
// "https://uat-acp.vpress.vn"
// )
// .AllowAnyHeader()
// .AllowAnyMethod()
// .AllowCredentials();
// });
//});
//builder.Services.AddCors(options =>
//{
// options.AddPolicy("",
// builder =>
// {
// builder.AllowAnyOrigin()
// .AllowAnyHeader()
// .AllowAnyMethod();
// });
//});
builder.Services.AddCors(options =>
{
options.AddDefaultPolicy(builder =>
{
builder.WithOrigins("*") // Cho phép tất cả các nguồn gốc.
.AllowAnyHeader()
.AllowAnyMethod();
});
});
//// Configure the WebRootPath
//var newWebRootPath = "C:\\resources";
//builder.Environment.WebRootPath = newWebRootPath;
//builder.Environment.WebRootFileProvider = new PhysicalFileProvider(newWebRootPath);
builder.Services.AddControllers();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseRewriter(new RewriteOptions()
.Add(new CustomRewriteRule()));
app.UseHttpsRedirection();
app.UseStaticFiles(new StaticFileOptions
{
ServeUnknownFileTypes = true,
// Cấu hình phần mở rộng tệp tin và loại MIME tương ứng
ContentTypeProvider = new FileExtensionContentTypeProvider
{
// Thêm loại MIME cho tệp INDD
Mappings = { [".indd"] = "application/x-indesign" }
},
//FileProvider = new PhysicalFileProvider(newWebRootPath),
RequestPath = ""
//RequestPath = "/resources" // Đường dẫn URL để truy cập các tệp tĩnh
});
app.UseRouting();
//app.UseCors("AllowAll");
//app.UseCors(); // Thêm middleware CORS
// Trong Configure(IApplicationBuilder app, IWebHostEnvironment env)
//app.UseMiddleware<CustomResponseHeaderMiddleware>();
app.MapControllers();
app.Run();
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>C:\Users\ADMIN\Desktop\New folder (2)</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<_PublishTargetUrl>C:\Users\ADMIN\Desktop\New folder (2)</_PublishTargetUrl>
<History>True|2024-08-23T08:59:58.2808840Z||;True|2024-08-23T15:43:46.0808825+07:00||;True|2024-08-23T15:28:13.9801706+07:00||;True|2024-08-23T15:20:31.9733022+07:00||;True|2024-08-23T14:48:31.1629030+07:00||;True|2024-08-22T09:28:03.5068792+07:00||;True|2024-08-22T09:26:34.5561318+07:00||;True|2024-08-22T09:11:28.3929091+07:00||;True|2024-08-22T08:53:10.2570028+07:00||;True|2024-08-21T17:52:12.2850416+07:00||;True|2024-08-21T17:32:48.4849004+07:00||;True|2024-08-21T17:31:16.9694344+07:00||;True|2024-08-21T17:19:43.3178516+07:00||;True|2024-08-21T17:16:42.7722167+07:00||;True|2024-08-21T17:16:11.7541848+07:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>C:\Users\ADMIN\Desktop\Ngao-da-publish</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<_PublishTargetUrl>C:\Users\ADMIN\Desktop\Ngao-da-publish</_PublishTargetUrl>
<History>True|2024-07-04T02:37:41.2475087Z||;True|2024-07-04T09:35:02.3726712+07:00||;True|2024-07-03T11:28:09.6276715+07:00||;True|2024-07-01T16:42:01.2338695+07:00||;True|2024-07-01T16:36:17.2985052+07:00||;True|2024-07-01T16:21:46.3088429+07:00||;True|2024-06-22T16:27:40.9531711+07:00||;True|2024-06-21T17:51:32.8995539+07:00||;True|2024-06-21T17:46:17.7172971+07:00||;True|2024-06-21T16:43:53.2321970+07:00||;True|2024-06-21T10:03:46.7658941+07:00||;True|2024-06-21T09:27:15.4740244+07:00||;True|2024-06-21T09:22:41.1684625+07:00||;False|2024-06-21T09:22:28.3924438+07:00||;True|2024-06-21T02:02:53.5939600+07:00||;True|2024-06-21T02:02:41.1204612+07:00||;True|2024-06-21T02:01:05.7730058+07:00||;True|2024-06-21T01:57:57.7881246+07:00||;True|2024-06-21T01:40:09.1833296+07:00||;True|2024-06-21T01:33:39.8160979+07:00||;True|2024-06-21T01:20:21.0319785+07:00||;False|2024-06-21T01:20:00.5475629+07:00||;True|2024-06-21T00:53:39.2196137+07:00||;True|2024-06-21T00:29:21.2794192+07:00||;True|2024-06-21T00:16:36.6135976+07:00||;True|2024-06-20T23:49:13.3040881+07:00||;True|2024-06-20T23:08:31.4510444+07:00||;True|2024-06-20T22:42:10.5516357+07:00||;False|2024-06-20T17:49:12.2640206+07:00||;True|2024-06-20T17:34:54.2843030+07:00||;True|2024-06-20T11:17:24.8692068+07:00||;True|2024-06-20T10:48:19.9229068+07:00||;True|2024-06-20T09:19:28.4508524+07:00||;True|2024-06-20T09:17:59.0966426+07:00||;True|2024-06-20T00:44:21.2234826+07:00||;True|2024-06-20T00:26:28.6058752+07:00||;True|2024-06-19T23:43:59.1985248+07:00||;True|2024-06-19T23:43:20.0347023+07:00||;True|2024-06-19T23:24:40.3337080+07:00||;True|2024-06-19T17:42:17.2243866+07:00||;True|2024-06-19T11:10:10.2896342+07:00||;True|2024-06-19T10:17:48.9593830+07:00||;True|2024-06-19T09:54:57.7087207+07:00||;False|2024-06-19T09:54:33.9444662+07:00||;True|2024-05-17T16:25:07.6205622+07:00||;True|2024-05-17T16:05:14.7597975+07:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>
+41
View File
@@ -0,0 +1,41 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:14478",
"sslPort": 44388
}
},
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5086",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:7065;http://localhost:5086",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
+7
View File
@@ -0,0 +1,7 @@
namespace ngaoda.Services
{
public interface IImageProcessingService
{
(byte[] fileContent, string contentType) ProcessImage(string path, int w = 680, int h = 0, int q = 100, int dpr = 1, string fit = "fill");
}
}
+76
View File
@@ -0,0 +1,76 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Processing;
namespace ngaoda.Services
{
public class ImageProcessingService(ILogger<ImageProcessingService> logger, IWebHostEnvironment webHostEnvironment) : IImageProcessingService
{
public (byte[] fileContent, string contentType) ProcessImage(string path, int w = 680, int h = 0, int q = 100, int dpr = 1, string fit = "fill")
{
try
{
var resourcePath = webHostEnvironment.WebRootPath;
// Đường dẫn đến tệp hình ảnh gốc
string imagePath = Path.Combine(resourcePath, path).Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar);
// Kiểm tra xem tệp hình ảnh có tồn tại không
if (!File.Exists(imagePath)) throw new Exception("File is not Exist");
// Xác định định dạng tệp hình ảnh dựa trên phần mở rộng
IImageFormat format = Image.DetectFormat(imagePath) ?? throw new Exception("Unsupported file format.");
// Load hình ảnh gốc
using (Image image = Image.Load(imagePath))
{
// Chỉnh sửa hình ảnh theo tham số fit
switch (fit.ToLowerInvariant())
{
case "fill":
image.Mutate(x => x.Resize(new ResizeOptions
{
Mode = ResizeMode.Crop,
Size = new Size(w * dpr, h * dpr)
}));
break;
case "contain":
image.Mutate(x => x.Resize(new ResizeOptions
{
Mode = ResizeMode.Pad,
Size = new Size(w * dpr, h * dpr)
}));
break;
default:
throw new Exception("Invalid fit parameter.");
}
// Lưu hình ảnh đã chỉnh sửa vào MemoryStream
using (MemoryStream outputStream = new MemoryStream())
{
// Lưu hình ảnh dưới định dạng đã xác định
image.Save(outputStream, format);
// Đặt vị trí của MemoryStream về đầu
outputStream.Seek(0, SeekOrigin.Begin);
// Trả về hình ảnh đã xử lý dưới dạng FileResult
return (outputStream.ToArray(), format.DefaultMimeType);
}
}
}
catch (Exception exception)
{
logger.LogError(exception, "ImageProcessingService.ProcessImage");
throw;
}
}
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"NLog": {
"extensions": [
{ "assembly": "NLog.Extensions.Logging" }
],
"targets": {
"file": {
"type": "File",
"fileName": "${currentDir}/Logs/Log-${shortdate}.log",
"layout": "${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${callsite}: ${message}${newline:when=length('${exception}')>0}${exception:format=tostring}"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "file"
}
]
},
"AllowedHosts": "*"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"NLog": {
"extensions": [
{ "assembly": "NLog.Extensions.Logging" }
],
"targets": {
"file": {
"type": "File",
"fileName": "${currentDir}/Logs/Log-${shortdate}.log",
"layout": "${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${callsite}: ${message}${newline:when=length('${exception}')>0}${exception:format=tostring}"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "file"
}
]
},
"AllowedHosts": "*"
}
+247
View File
@@ -0,0 +1,247 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"ngaoda/1.0.0": {
"dependencies": {
"NLog": "5.3.2",
"NLog.Extensions.Logging": "5.3.11",
"SixLabors.ImageSharp": "3.1.4",
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"ngaoda.dll": {}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {},
"Microsoft.Extensions.Logging/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Options": "8.0.0"
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.Options/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Primitives/8.0.0": {},
"Microsoft.OpenApi/1.2.3": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "1.2.3.0",
"fileVersion": "1.2.3.0"
}
}
},
"NLog/5.3.2": {
"runtime": {
"lib/netstandard2.0/NLog.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.2.2526"
}
}
},
"NLog.Extensions.Logging/5.3.11": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging": "8.0.0",
"NLog": "5.3.2"
},
"runtime": {
"lib/net8.0/NLog.Extensions.Logging.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.11.526"
}
}
},
"SixLabors.ImageSharp/3.1.4": {
"runtime": {
"lib/net6.0/SixLabors.ImageSharp.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.1.4.0"
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
}
}
},
"libraries": {
"ngaoda/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
"path": "microsoft.extensions.apidescription.server/6.0.5",
"hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==",
"path": "microsoft.extensions.configuration.abstractions/8.0.0",
"hashPath": "microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==",
"path": "microsoft.extensions.dependencyinjection/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==",
"path": "microsoft.extensions.logging/8.0.0",
"hashPath": "microsoft.extensions.logging.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"path": "microsoft.extensions.logging.abstractions/8.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==",
"path": "microsoft.extensions.options/8.0.0",
"hashPath": "microsoft.extensions.options.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==",
"path": "microsoft.extensions.primitives/8.0.0",
"hashPath": "microsoft.extensions.primitives.8.0.0.nupkg.sha512"
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"path": "microsoft.openapi/1.2.3",
"hashPath": "microsoft.openapi.1.2.3.nupkg.sha512"
},
"NLog/5.3.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cQRQZuDMjSyMe9EQBnI9v55YAMMz8GAfFd6fFJ6tc/kXnG7Hze8p1I8MgvWSBG6E36wA8vSxRrlm8uSIG+SENg==",
"path": "nlog/5.3.2",
"hashPath": "nlog.5.3.2.nupkg.sha512"
},
"NLog.Extensions.Logging/5.3.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C3Rg6jmOkM7fNBX9jAoVlYzOwsrxdQzl9sYDK1EpRc7RCdjgs8FC9ivJCSsCu/m4l0w83xiTNz7Y1CzmD3BwZg==",
"path": "nlog.extensions.logging/5.3.11",
"hashPath": "nlog.extensions.logging.5.3.11.nupkg.sha512"
},
"SixLabors.ImageSharp/3.1.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lFIdxgGDA5iYkUMRFOze7BGLcdpoLFbR+a20kc1W7NepvzU7ejtxtWOg9RvgG7kb9tBoJ3ONYOK6kLil/dgF1w==",
"path": "sixlabors.imagesharp/3.1.4",
"hashPath": "sixlabors.imagesharp.3.1.4.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,21 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Globalization.Invariant": true,
"System.Globalization.PredefinedCulturesOnly": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -0,0 +1 @@
{"ContentRoots":["D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\wwwroot\\"],"Root":{"Children":null,"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"NLog": {
"extensions": [
{ "assembly": "NLog.Extensions.Logging" }
],
"targets": {
"file": {
"type": "File",
"fileName": "${currentDir}/Logs/Log-${shortdate}.log",
"layout": "${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${callsite}: ${message}${newline:when=length('${exception}')>0}${exception:format=tostring}"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "file"
}
]
},
"AllowedHosts": "*"
}
+247
View File
@@ -0,0 +1,247 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"ngaoda/1.0.0": {
"dependencies": {
"NLog": "5.3.2",
"NLog.Extensions.Logging": "5.3.11",
"SixLabors.ImageSharp": "3.1.4",
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"ngaoda.dll": {}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {},
"Microsoft.Extensions.Logging/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Options": "8.0.0"
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.Options/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Primitives/8.0.0": {},
"Microsoft.OpenApi/1.2.3": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "1.2.3.0",
"fileVersion": "1.2.3.0"
}
}
},
"NLog/5.3.2": {
"runtime": {
"lib/netstandard2.0/NLog.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.2.2526"
}
}
},
"NLog.Extensions.Logging/5.3.11": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging": "8.0.0",
"NLog": "5.3.2"
},
"runtime": {
"lib/net8.0/NLog.Extensions.Logging.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.11.526"
}
}
},
"SixLabors.ImageSharp/3.1.4": {
"runtime": {
"lib/net6.0/SixLabors.ImageSharp.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.1.4.0"
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
}
}
},
"libraries": {
"ngaoda/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
"path": "microsoft.extensions.apidescription.server/6.0.5",
"hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==",
"path": "microsoft.extensions.configuration.abstractions/8.0.0",
"hashPath": "microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==",
"path": "microsoft.extensions.dependencyinjection/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==",
"path": "microsoft.extensions.logging/8.0.0",
"hashPath": "microsoft.extensions.logging.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"path": "microsoft.extensions.logging.abstractions/8.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==",
"path": "microsoft.extensions.options/8.0.0",
"hashPath": "microsoft.extensions.options.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==",
"path": "microsoft.extensions.primitives/8.0.0",
"hashPath": "microsoft.extensions.primitives.8.0.0.nupkg.sha512"
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"path": "microsoft.openapi/1.2.3",
"hashPath": "microsoft.openapi.1.2.3.nupkg.sha512"
},
"NLog/5.3.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cQRQZuDMjSyMe9EQBnI9v55YAMMz8GAfFd6fFJ6tc/kXnG7Hze8p1I8MgvWSBG6E36wA8vSxRrlm8uSIG+SENg==",
"path": "nlog/5.3.2",
"hashPath": "nlog.5.3.2.nupkg.sha512"
},
"NLog.Extensions.Logging/5.3.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C3Rg6jmOkM7fNBX9jAoVlYzOwsrxdQzl9sYDK1EpRc7RCdjgs8FC9ivJCSsCu/m4l0w83xiTNz7Y1CzmD3BwZg==",
"path": "nlog.extensions.logging/5.3.11",
"hashPath": "nlog.extensions.logging.5.3.11.nupkg.sha512"
},
"SixLabors.ImageSharp/3.1.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lFIdxgGDA5iYkUMRFOze7BGLcdpoLFbR+a20kc1W7NepvzU7ejtxtWOg9RvgG7kb9tBoJ3ONYOK6kLil/dgF1w==",
"path": "sixlabors.imagesharp/3.1.4",
"hashPath": "sixlabors.imagesharp.3.1.4.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Globalization.Invariant": true,
"System.Globalization.PredefinedCulturesOnly": true,
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
@@ -0,0 +1 @@
{"ContentRoots":["D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\wwwroot\\"],"Root":{"Children":null,"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
+21
View File
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<None Remove="processimage.ashx" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="5.3.2" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.11" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
</ItemGroup>
</Project>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>https</ActiveDebugProfile>
<NameOfLastUsedPublishProfile>D:\workplace\Projects\NSG_Projects\ngaoda\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
</PropertyGroup>
</Project>
+6
View File
@@ -0,0 +1,6 @@
@ngaoda_HostAddress = http://localhost:5086
GET {{ngaoda_HostAddress}}/weatherforecast/
Accept: application/json
###
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34310.174
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ngaoda", "ngaoda.csproj", "{EA57B75E-8D97-46E2-BABC-45341F484A3D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EA57B75E-8D97-46E2-BABC-45341F484A3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA57B75E-8D97-46E2-BABC-45341F484A3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA57B75E-8D97-46E2-BABC-45341F484A3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA57B75E-8D97-46E2-BABC-45341F484A3D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3A8474DB-877A-4FC4-93EE-8E1387C61C26}
EndGlobalSection
EndGlobal
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
+43
View File
@@ -0,0 +1,43 @@
[
{
"ContainingType": "ngaoda.Controllers.ImageProcessingController",
"Method": "ProcessImage",
"RelativePath": "ImageProcessing",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "path",
"Type": "System.String",
"IsRequired": false
},
{
"Name": "w",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "h",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "q",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "dpr",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "fit",
"Type": "System.String",
"IsRequired": false
}
],
"ReturnTypes": []
}
]
Binary file not shown.
+23
View File
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ngaoda")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("ngaoda")]
[assembly: System.Reflection.AssemblyTitleAttribute("ngaoda")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
@@ -0,0 +1 @@
7db67194ec7d83859475f1c7bea061aa0d6271e99009403857aba4a45e6d5c63
@@ -0,0 +1,19 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization = true
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ngaoda
build_property.RootNamespace = ngaoda
build_property.ProjectDir = D:\workplace\Projects\NSG_Projects\ngaoda\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = D:\workplace\Projects\NSG_Projects\ngaoda
build_property._RazorSourceGeneratorDebug =
+17
View File
@@ -0,0 +1,17 @@
// <auto-generated/>
global using global::Microsoft.AspNetCore.Builder;
global using global::Microsoft.AspNetCore.Hosting;
global using global::Microsoft.AspNetCore.Http;
global using global::Microsoft.AspNetCore.Routing;
global using global::Microsoft.Extensions.Configuration;
global using global::Microsoft.Extensions.DependencyInjection;
global using global::Microsoft.Extensions.Hosting;
global using global::Microsoft.Extensions.Logging;
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Net.Http.Json;
global using global::System.Threading;
global using global::System.Threading.Tasks;
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")]
// Generated by the MSBuild WriteCodeFragment class.
Binary file not shown.
@@ -0,0 +1 @@
d3c85d555cd2698b5a8500e0ccb48bd692b472e9f350ec368f78885495a59ff6
@@ -0,0 +1,72 @@
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\appsettings.Development.json
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\appsettings.json
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.exe
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.deps.json
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.runtimeconfig.json
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.pdb
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\Microsoft.OpenApi.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.AssemblyReference.cache
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.GeneratedMSBuildEditorConfig.editorconfig
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.AssemblyInfoInputs.cache
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.AssemblyInfo.cs
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.CoreCompileInputs.cache
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.MvcApplicationPartsAssemblyInfo.cs
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.MvcApplicationPartsAssemblyInfo.cache
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets.build.json
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets.development.json
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.ngaoda.Microsoft.AspNetCore.StaticWebAssets.props
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.build.ngaoda.props
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.buildMultiTargeting.ngaoda.props
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.buildTransitive.ngaoda.props
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\staticwebassets.pack.json
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\scopedcss\bundle\ngaoda.styles.css
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.dll
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\refint\ngaoda.dll
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.pdb
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.genruntimeconfig.cache
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ref\ngaoda.dll
D:\workplace\Projects\PersonalProjects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.Up2Date
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\SixLabors.ImageSharp.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\NLog.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\NLog.Extensions.Logging.dll
D:\workplace\Projects\PersonalProjects\ngaoda\bin\Debug\net8.0\ngaoda.staticwebassets.runtime.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\appsettings.Development.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\appsettings.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.staticwebassets.runtime.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.exe
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.deps.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.runtimeconfig.json
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\ngaoda.pdb
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\Microsoft.OpenApi.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\NLog.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\NLog.Extensions.Logging.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\SixLabors.ImageSharp.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll
D:\workplace\Projects\NSG_Projects\ngaoda\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.AssemblyReference.cache
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.GeneratedMSBuildEditorConfig.editorconfig
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.AssemblyInfoInputs.cache
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.AssemblyInfo.cs
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.CoreCompileInputs.cache
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.MvcApplicationPartsAssemblyInfo.cs
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.MvcApplicationPartsAssemblyInfo.cache
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets.build.json
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets.development.json
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.ngaoda.Microsoft.AspNetCore.StaticWebAssets.props
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.build.ngaoda.props
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.buildMultiTargeting.ngaoda.props
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets\msbuild.buildTransitive.ngaoda.props
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\staticwebassets.pack.json
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\scopedcss\bundle\ngaoda.styles.css
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.csproj.Up2Date
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.dll
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\refint\ngaoda.dll
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.pdb
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ngaoda.genruntimeconfig.cache
D:\workplace\Projects\NSG_Projects\ngaoda\obj\Debug\net8.0\ref\ngaoda.dll
Binary file not shown.
@@ -0,0 +1 @@
6d052a3d58f988611edc6d5d761b5d6989978642272dfab91ea401bfba03573f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
{
"Version": 1,
"Hash": "5apJpkhI/tOwYZ4QB+T1EAaSRM8EFibY8hxyV/Eq1ts=",
"Source": "ngaoda",
"BasePath": "_content/ngaoda",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [
{
"Name": "ngaoda\\wwwroot",
"Source": "ngaoda",
"ContentRoot": "D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\wwwroot\\",
"BasePath": "_content/ngaoda",
"Pattern": "**"
}
],
"Assets": []
}
@@ -0,0 +1 @@
{"ContentRoots":["D:\\workplace\\Projects\\NSG_Projects\\ngaoda\\wwwroot\\"],"Root":{"Children":null,"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
@@ -0,0 +1,3 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>
@@ -0,0 +1,3 @@
<Project>
<Import Project="..\build\ngaoda.props" />
</Project>
@@ -0,0 +1,3 @@
<Project>
<Import Project="..\buildMultiTargeting\ngaoda.props" />
</Project>
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
@@ -0,0 +1,28 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"NLog": {
"extensions": [
{ "assembly": "NLog.Extensions.Logging" }
],
"targets": {
"file": {
"type": "File",
"fileName": "${currentDir}/Logs/Log-${shortdate}.log",
"layout": "${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${callsite}: ${message}${newline:when=length('${exception}')>0}${exception:format=tostring}"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "file"
}
]
},
"AllowedHosts": "*"
}
@@ -0,0 +1,247 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"ngaoda/1.0.0": {
"dependencies": {
"NLog": "5.3.2",
"NLog.Extensions.Logging": "5.3.11",
"SixLabors.ImageSharp": "3.1.4",
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"ngaoda.dll": {}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {},
"Microsoft.Extensions.Logging/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Options": "8.0.0"
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.Options/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Primitives/8.0.0": {},
"Microsoft.OpenApi/1.2.3": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "1.2.3.0",
"fileVersion": "1.2.3.0"
}
}
},
"NLog/5.3.2": {
"runtime": {
"lib/netstandard2.0/NLog.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.2.2526"
}
}
},
"NLog.Extensions.Logging/5.3.11": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging": "8.0.0",
"NLog": "5.3.2"
},
"runtime": {
"lib/net8.0/NLog.Extensions.Logging.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.3.11.526"
}
}
},
"SixLabors.ImageSharp/3.1.4": {
"runtime": {
"lib/net6.0/SixLabors.ImageSharp.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.1.4.0"
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
}
}
},
"libraries": {
"ngaoda/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
"path": "microsoft.extensions.apidescription.server/6.0.5",
"hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==",
"path": "microsoft.extensions.configuration.abstractions/8.0.0",
"hashPath": "microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==",
"path": "microsoft.extensions.dependencyinjection/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==",
"path": "microsoft.extensions.logging/8.0.0",
"hashPath": "microsoft.extensions.logging.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"path": "microsoft.extensions.logging.abstractions/8.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==",
"path": "microsoft.extensions.options/8.0.0",
"hashPath": "microsoft.extensions.options.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==",
"path": "microsoft.extensions.primitives/8.0.0",
"hashPath": "microsoft.extensions.primitives.8.0.0.nupkg.sha512"
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"path": "microsoft.openapi/1.2.3",
"hashPath": "microsoft.openapi.1.2.3.nupkg.sha512"
},
"NLog/5.3.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cQRQZuDMjSyMe9EQBnI9v55YAMMz8GAfFd6fFJ6tc/kXnG7Hze8p1I8MgvWSBG6E36wA8vSxRrlm8uSIG+SENg==",
"path": "nlog/5.3.2",
"hashPath": "nlog.5.3.2.nupkg.sha512"
},
"NLog.Extensions.Logging/5.3.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C3Rg6jmOkM7fNBX9jAoVlYzOwsrxdQzl9sYDK1EpRc7RCdjgs8FC9ivJCSsCu/m4l0w83xiTNz7Y1CzmD3BwZg==",
"path": "nlog.extensions.logging/5.3.11",
"hashPath": "nlog.extensions.logging.5.3.11.nupkg.sha512"
},
"SixLabors.ImageSharp/3.1.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lFIdxgGDA5iYkUMRFOze7BGLcdpoLFbR+a20kc1W7NepvzU7ejtxtWOg9RvgG7kb9tBoJ3ONYOK6kLil/dgF1w==",
"path": "sixlabors.imagesharp/3.1.4",
"hashPath": "sixlabors.imagesharp.3.1.4.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
}
}
}
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More