This commit is contained in:
student 2024-10-04 16:00:40 +03:00
commit 26d4873407
50 changed files with 462 additions and 0 deletions

9
EndPointTrade.csproj Normal file
View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

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>http</ActiveDebugProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>

BIN
Images/A346R4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
Images/A543T6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
Images/B730E2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
Images/D419T7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
Images/F719R5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
Images/G278R6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
Images/H452A3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
Images/R259E6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
Images/T564P5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
Images/default.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
Images/А112Т4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

15
Program.cs Normal file
View File

@ -0,0 +1,15 @@
using Microsoft.Extensions.FileProviders;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.UseStaticFiles( new StaticFileOptions {
FileProvider = new PhysicalFileProvider(
Path.Combine(builder.Environment.ContentRootPath, "Images")),
RequestPath = "/images"
}
);
app.Run();

View File

@ -0,0 +1,38 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:51138",
"sslPort": 44373
}
},
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:5025",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:7218;http://localhost:5025",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

9
appsettings.json Normal file
View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"EndPointTrade/1.0.0": {
"runtime": {
"EndPointTrade.dll": {}
}
}
}
},
"libraries": {
"EndPointTrade/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
{
"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.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

View File

@ -0,0 +1,20 @@
[
{
"ContainingType": "Program\u002B\u003C\u003Ec",
"Method": "\u003C\u003CMain\u003E$\u003Eb__0_0",
"RelativePath": "",
"HttpMethod": "GET",
"IsController": false,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.String",
"MediaTypes": [
"text/plain"
],
"StatusCode": 200
}
]
}
]

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("EndPointTrade")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("EndPointTrade")]
[assembly: System.Reflection.AssemblyTitleAttribute("EndPointTrade")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@ -0,0 +1 @@
a301e0efba2e696d399c0254c81379e11047932a685219f57da943f5e369a3e9

View File

@ -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 =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = EndPointTrade
build_property.RootNamespace = EndPointTrade
build_property.ProjectDir = C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = C:\Users\Student\source\repos\EndPointTrade\EndPointTrade
build_property._RazorSourceGeneratorDebug =

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;

Binary file not shown.

View File

@ -0,0 +1 @@
1f7bca95c8ea261eacbeeac9c0423d3bb2a073324b25f750906ebe99f2e8c989

View File

@ -0,0 +1,25 @@
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\appsettings.Development.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\appsettings.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\EndPointTrade.exe
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\EndPointTrade.deps.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\EndPointTrade.runtimeconfig.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\EndPointTrade.dll
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\bin\Debug\net8.0\EndPointTrade.pdb
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.AssemblyInfoInputs.cache
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.AssemblyInfo.cs
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.csproj.CoreCompileInputs.cache
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.MvcApplicationPartsAssemblyInfo.cache
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets.build.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets.development.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets\msbuild.EndPointTrade.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets\msbuild.build.EndPointTrade.props
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets\msbuild.buildMultiTargeting.EndPointTrade.props
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets\msbuild.buildTransitive.EndPointTrade.props
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\staticwebassets.pack.json
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\scopedcss\bundle\EndPointTrade.styles.css
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.dll
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\refint\EndPointTrade.dll
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.pdb
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\EndPointTrade.genruntimeconfig.cache
C:\Users\Student\source\repos\EndPointTrade\EndPointTrade\obj\Debug\net8.0\ref\EndPointTrade.dll

Binary file not shown.

View File

@ -0,0 +1 @@
73c1c25b536e533c390518d991adc83ebdbfceee643edfa460a609d2ce071701

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,11 @@
{
"Version": 1,
"Hash": "vdC9HSlpVfjV7RtlXQaw+OkzZUOb5RZ3ofKWXBwlGqg=",
"Source": "EndPointTrade",
"BasePath": "_content/EndPointTrade",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [],
"Assets": []
}

View File

@ -0,0 +1,3 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>

View File

@ -0,0 +1,3 @@
<Project>
<Import Project="..\build\EndPointTrade.props" />
</Project>

View File

@ -0,0 +1,3 @@
<Project>
<Import Project="..\buildMultiTargeting\EndPointTrade.props" />
</Project>

View File

@ -0,0 +1,76 @@
{
"format": 1,
"restore": {
"C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj": {}
},
"projects": {
"C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj",
"projectName": "EndPointTrade",
"projectPath": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj",
"packagesPath": "C:\\Users\\Student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Student\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.401/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Student\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Student\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

82
obj/project.assets.json Normal file
View File

@ -0,0 +1,82 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"C:\\Users\\Student\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj",
"projectName": "EndPointTrade",
"projectPath": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj",
"packagesPath": "C:\\Users\\Student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Student\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.401/PortableRuntimeIdentifierGraph.json"
}
}
}
}

8
obj/project.nuget.cache Normal file
View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "AM2D7Z0KHNk=",
"success": true,
"projectFilePath": "C:\\Users\\Student\\source\\repos\\EndPointTrade\\EndPointTrade\\EndPointTrade.csproj",
"expectedPackageFiles": [],
"logs": []
}