first commit

This commit is contained in:
motahhari
2025-10-31 20:21:22 +03:30
commit 60d20a2734
186 changed files with 15497 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using FluentValidation;
namespace GreenHome.Application;
// Validation
public sealed class DeviceDtoValidator : AbstractValidator<DeviceDto>
{
public DeviceDtoValidator()
{
RuleFor(x => x.DeviceName).NotEmpty().MaximumLength(10);
RuleFor(x => x.Location).MaximumLength(250);
RuleFor(x => x.NeshanLocation).MaximumLength(80);
}
}

View File

@@ -0,0 +1,95 @@
using Domain = GreenHome.Domain;
namespace GreenHome.Application;
// DTOs
public sealed class DeviceDto
{
public int Id { get; set; }
public string DeviceName { get; set; } = string.Empty;
public string Owner { get; set; } = string.Empty;
public string Mobile { get; set; } = string.Empty;
public string Location { get; set; } = string.Empty;
public string NeshanLocation { get; set; } = string.Empty;
}
public sealed class TelemetryDto
{
public int Id { get; set; }
public int DeviceId { get; set; }
public string DeviceName { get; set; }
public DateTime TimestampUtc { get; set; }
public decimal TemperatureC { get; set; }
public decimal HumidityPercent { get; set; }
public decimal SoilPercent { get; set; }
public int GasPPM { get; set; }
public decimal Lux { get; set; }
public int PersianYear { get; set; }
public int PersianMonth { get; set; }
public string PersianDate { get; set; } = string.Empty;
}
public sealed class TelemetryFilter
{
public int? DeviceId { get; set; }
public DateTime? StartDateUtc { get; set; }
public DateTime? EndDateUtc { get; set; }
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
}
public sealed class PagedResult<T>
{
public required IReadOnlyList<T> Items { get; init; }
public required int TotalCount { get; init; }
public required int Page { get; init; }
public required int PageSize { get; init; }
}
public sealed class TelemetryMinMax
{
public decimal MinTemperatureC { get; set; }
public decimal MaxTemperatureC { get; set; }
public decimal MinHumidityPercent { get; set; }
public decimal MaxHumidityPercent { get; set; }
public decimal MinSoilPercent { get; set; }
public decimal MaxSoilPercent { get; set; }
public int MinGasPPM { get; set; }
public int MaxGasPPM { get; set; }
public decimal MinLux { get; set; }
public decimal MaxLux { get; set; }
}
public sealed class DayCount
{
public string PersianDate { get; set; } = string.Empty;
public int Count { get; set; }
}
public sealed class DeviceSettingsDto
{
public int Id { get; set; }
public int DeviceId { get; set; }
public string DeviceName { get; set; } = string.Empty;
// Temperature settings
public decimal DangerMaxTemperature { get; set; }
public decimal DangerMinTemperature { get; set; }
public decimal MaxTemperature { get; set; }
public decimal MinTemperature { get; set; }
// Gas settings
public int MaxGasPPM { get; set; }
public int MinGasPPM { get; set; }
// Light settings
public decimal MaxLux { get; set; }
public decimal MinLux { get; set; }
// Humidity settings
public decimal MaxHumidityPercent { get; set; }
public decimal MinHumidityPercent { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}

View File

@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="FluentValidation" Version="11.9.1" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.9.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GreenHome.Domain\GreenHome.Domain.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,9 @@
namespace GreenHome.Application;
// Services
public interface IDeviceService
{
Task<int> AddDeviceAsync(DeviceDto dto, CancellationToken cancellationToken);
Task<IReadOnlyList<DeviceDto>> ListAsync(CancellationToken cancellationToken);
Task<DeviceDto> GetDeviceId(string deviceName, CancellationToken cancellationToken);
}

View File

@@ -0,0 +1,8 @@
namespace GreenHome.Application;
public interface IDeviceSettingsService
{
Task<DeviceSettingsDto?> GetByDeviceIdAsync(int deviceId, CancellationToken cancellationToken);
Task<int> CreateAsync(DeviceSettingsDto dto, CancellationToken cancellationToken);
Task UpdateAsync(DeviceSettingsDto dto, CancellationToken cancellationToken);
}

View File

@@ -0,0 +1,10 @@
namespace GreenHome.Application;
public interface ITelemetryService
{
Task<int> AddAsync(TelemetryDto dto, CancellationToken cancellationToken);
Task<PagedResult<TelemetryDto>> ListAsync(TelemetryFilter filter, CancellationToken cancellationToken);
Task<TelemetryMinMax> GetMinMaxAsync(int deviceId, DateTime? startUtc, DateTime? endUtc, CancellationToken cancellationToken);
Task<IReadOnlyList<DayCount>> GetMonthDaysAsync(int deviceId, int persianYear, int persianMonth, CancellationToken cancellationToken);
Task<IReadOnlyList<int>> GetActiveMonthsAsync(int deviceId, int persianYear, CancellationToken cancellationToken);
}

View File

@@ -0,0 +1,17 @@
using AutoMapper;
namespace GreenHome.Application;
// Mapping profile
public sealed class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<Domain.Device, DeviceDto>().ReverseMap();
CreateMap<Domain.TelemetryRecord, TelemetryDto>().ReverseMap();
CreateMap<Domain.DeviceSettings, DeviceSettingsDto>()
.ForMember(dest => dest.DeviceName, opt => opt.MapFrom(src => src.Device.DeviceName))
.ReverseMap()
.ForMember(dest => dest.Device, opt => opt.Ignore());
}
}

View File

@@ -0,0 +1,182 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"GreenHome.Application/1.0.0": {
"dependencies": {
"AutoMapper": "12.0.1",
"AutoMapper.Extensions.Microsoft.DependencyInjection": "12.0.1",
"FluentValidation": "11.9.1",
"FluentValidation.DependencyInjectionExtensions": "11.9.1",
"GreenHome.Domain": "1.0.0"
},
"runtime": {
"GreenHome.Application.dll": {}
}
},
"AutoMapper/12.0.1": {
"dependencies": {
"Microsoft.CSharp": "4.7.0"
},
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"dependencies": {
"AutoMapper": "12.0.1",
"Microsoft.Extensions.Options": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"FluentValidation/11.9.1": {
"runtime": {
"lib/net8.0/FluentValidation.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.9.1.0"
}
}
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"dependencies": {
"FluentValidation": "11.9.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.9.1.0"
}
}
},
"Microsoft.CSharp/4.7.0": {},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"runtime": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"Microsoft.Extensions.Options/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"Microsoft.Extensions.Primitives/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
"GreenHome.Domain/1.0.0": {
"runtime": {
"GreenHome.Domain.dll": {
"assemblyVersion": "1.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"GreenHome.Application/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"AutoMapper/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hvV62vl6Hp/WfQ24yzo3Co9+OPl8wH8hApwVtgWpiAynVJkUcs7xvehnSftawL8Pe8FrPffBRM3hwzLQqWDNjA==",
"path": "automapper/12.0.1",
"hashPath": "automapper.12.0.1.nupkg.sha512"
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+g/K+Vpe3gGMKGzjslMOdqNlkikScDjWfVvmWTayrDHaG/n2pPmFBMa+jKX1r/h6BDGFdkyRjAuhFE3ykW+r1g==",
"path": "automapper.extensions.microsoft.dependencyinjection/12.0.1",
"hashPath": "automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512"
},
"FluentValidation/11.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C+PqISSMdlOZZJx0Hx25atW32tv4vbpsaiQB+PLjK+ZGLzOFuHl1fUJ3Lny77mIZ31ZtYtNG0JgUjxa3wwLsWg==",
"path": "fluentvalidation/11.9.1",
"hashPath": "fluentvalidation.11.9.1.nupkg.sha512"
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3jJbFcCWhiXhrCKFPjKihzccmosv+CleYewd2zEYS4aaUHx9zQSgOvkYbWUGTbDwJ5j2nDWE0Pr1EQ2xY4pryg==",
"path": "fluentvalidation.dependencyinjectionextensions/11.9.1",
"hashPath": "fluentvalidation.dependencyinjectionextensions.11.9.1.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==",
"path": "microsoft.extensions.options/6.0.0",
"hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==",
"path": "microsoft.extensions.primitives/6.0.0",
"hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
},
"GreenHome.Domain/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,182 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"GreenHome.Application/1.0.0": {
"dependencies": {
"AutoMapper": "12.0.1",
"AutoMapper.Extensions.Microsoft.DependencyInjection": "12.0.1",
"FluentValidation": "11.9.1",
"FluentValidation.DependencyInjectionExtensions": "11.9.1",
"GreenHome.Domain": "1.0.0"
},
"runtime": {
"GreenHome.Application.dll": {}
}
},
"AutoMapper/12.0.1": {
"dependencies": {
"Microsoft.CSharp": "4.7.0"
},
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"dependencies": {
"AutoMapper": "12.0.1",
"Microsoft.Extensions.Options": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"FluentValidation/11.9.1": {
"runtime": {
"lib/net8.0/FluentValidation.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.9.1.0"
}
}
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"dependencies": {
"FluentValidation": "11.9.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.9.1.0"
}
}
},
"Microsoft.CSharp/4.7.0": {},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"runtime": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"Microsoft.Extensions.Options/6.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"Microsoft.Extensions.Primitives/6.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
"GreenHome.Domain/1.0.0": {
"runtime": {
"GreenHome.Domain.dll": {
"assemblyVersion": "1.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"GreenHome.Application/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"AutoMapper/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hvV62vl6Hp/WfQ24yzo3Co9+OPl8wH8hApwVtgWpiAynVJkUcs7xvehnSftawL8Pe8FrPffBRM3hwzLQqWDNjA==",
"path": "automapper/12.0.1",
"hashPath": "automapper.12.0.1.nupkg.sha512"
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+g/K+Vpe3gGMKGzjslMOdqNlkikScDjWfVvmWTayrDHaG/n2pPmFBMa+jKX1r/h6BDGFdkyRjAuhFE3ykW+r1g==",
"path": "automapper.extensions.microsoft.dependencyinjection/12.0.1",
"hashPath": "automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512"
},
"FluentValidation/11.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C+PqISSMdlOZZJx0Hx25atW32tv4vbpsaiQB+PLjK+ZGLzOFuHl1fUJ3Lny77mIZ31ZtYtNG0JgUjxa3wwLsWg==",
"path": "fluentvalidation/11.9.1",
"hashPath": "fluentvalidation.11.9.1.nupkg.sha512"
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3jJbFcCWhiXhrCKFPjKihzccmosv+CleYewd2zEYS4aaUHx9zQSgOvkYbWUGTbDwJ5j2nDWE0Pr1EQ2xY4pryg==",
"path": "fluentvalidation.dependencyinjectionextensions/11.9.1",
"hashPath": "fluentvalidation.dependencyinjectionextensions.11.9.1.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==",
"path": "microsoft.extensions.options/6.0.0",
"hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==",
"path": "microsoft.extensions.primitives/6.0.0",
"hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
},
"GreenHome.Domain/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

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

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("GreenHome.Application")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("GreenHome.Application")]
[assembly: System.Reflection.AssemblyTitleAttribute("GreenHome.Application")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
87754e227edff18d2f8cbf8e8c2800efea9ccd001b65fda01d41cf5fccfdcdf2

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = GreenHome.Application
build_property.ProjectDir = D:\Data\Projects\php\greenhome\src\GreenHome.Application\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
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.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
1075aa3c2ab89cd2b2a483df9b8b5b5090e6adb783dab67ddd44a3d6b31d56cd

View File

@@ -0,0 +1,15 @@
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.csproj.AssemblyReference.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.GeneratedMSBuildEditorConfig.editorconfig
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.AssemblyInfoInputs.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.AssemblyInfo.cs
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.csproj.CoreCompileInputs.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Debug\net9.0\GreenHome.Application.deps.json
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Debug\net9.0\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Debug\net9.0\GreenHome.Application.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Debug\net9.0\GreenHome.Domain.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Debug\net9.0\GreenHome.Domain.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHom.4051C179.Up2Date
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\refint\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\GreenHome.Application.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Debug\net9.0\ref\GreenHome.Application.dll

View File

@@ -0,0 +1,170 @@
{
"format": 1,
"restore": {
"D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj": {}
},
"projects": {
"D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj",
"projectName": "GreenHome.Application",
"projectPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj",
"packagesPath": "C:\\Users\\Mohammad\\.nuget\\packages\\",
"outputPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Mohammad\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {
"D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj": {
"projectPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"AutoMapper": {
"target": "Package",
"version": "[12.0.1, )"
},
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[12.0.1, )"
},
"FluentValidation": {
"target": "Package",
"version": "[11.9.1, )"
},
"FluentValidation.DependencyInjectionExtensions": {
"target": "Package",
"version": "[11.9.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-x64": {
"#import": []
}
}
},
"D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj",
"projectName": "GreenHome.Domain",
"projectPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj",
"packagesPath": "C:\\Users\\Mohammad\\.nuget\\packages\\",
"outputPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Mohammad\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-x64": {
"#import": []
}
}
}
}
}

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\Mohammad\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Mohammad\.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" />

View File

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

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("GreenHome.Application")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("GreenHome.Application")]
[assembly: System.Reflection.AssemblyTitleAttribute("GreenHome.Application")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
b85d0e84edb5eba327d4c7fb1e6d3f8afb9f5bfbaa5d314c51d2d2aceeae1177

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = GreenHome.Application
build_property.ProjectDir = D:\Data\Projects\php\greenhome\src\GreenHome.Application\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
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.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
0184fc090582e05fbc45959551eaf5fc60f7b2e1bd21b659c72841a097db2c3b

View File

@@ -0,0 +1,15 @@
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Release\net9.0\GreenHome.Application.deps.json
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Release\net9.0\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Release\net9.0\GreenHome.Application.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Release\net9.0\GreenHome.Domain.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\bin\Release\net9.0\GreenHome.Domain.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.csproj.AssemblyReference.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.GeneratedMSBuildEditorConfig.editorconfig
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.AssemblyInfoInputs.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.AssemblyInfo.cs
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.csproj.CoreCompileInputs.cache
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHom.4051C179.Up2Date
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\refint\GreenHome.Application.dll
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\GreenHome.Application.pdb
D:\Data\Projects\php\greenhome\src\GreenHome.Application\obj\Release\net9.0\ref\GreenHome.Application.dll

View File

@@ -0,0 +1,649 @@
{
"version": 3,
"targets": {
"net9.0": {
"AutoMapper/12.0.1": {
"type": "package",
"dependencies": {
"Microsoft.CSharp": "4.7.0"
},
"compile": {
"lib/netstandard2.1/AutoMapper.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"related": ".xml"
}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"type": "package",
"dependencies": {
"AutoMapper": "[12.0.1]",
"Microsoft.Extensions.Options": "6.0.0"
},
"compile": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
},
"runtime": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
}
},
"FluentValidation/11.9.1": {
"type": "package",
"compile": {
"lib/net8.0/FluentValidation.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/FluentValidation.dll": {
"related": ".xml"
}
}
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"type": "package",
"dependencies": {
"FluentValidation": "11.9.1",
"Microsoft.Extensions.Dependencyinjection.Abstractions": "2.1.0"
},
"compile": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"related": ".xml"
}
}
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"type": "package",
"compile": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"Microsoft.Extensions.Options/6.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
},
"compile": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
}
},
"Microsoft.Extensions.Primitives/6.0.0": {
"type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"compile": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"compile": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"GreenHome.Domain/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v9.0",
"compile": {
"bin/placeholder/GreenHome.Domain.dll": {}
},
"runtime": {
"bin/placeholder/GreenHome.Domain.dll": {}
}
}
},
"net9.0/linux-x64": {
"AutoMapper/12.0.1": {
"type": "package",
"dependencies": {
"Microsoft.CSharp": "4.7.0"
},
"compile": {
"lib/netstandard2.1/AutoMapper.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"related": ".xml"
}
}
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"type": "package",
"dependencies": {
"AutoMapper": "[12.0.1]",
"Microsoft.Extensions.Options": "6.0.0"
},
"compile": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
},
"runtime": {
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll": {}
}
},
"FluentValidation/11.9.1": {
"type": "package",
"compile": {
"lib/net8.0/FluentValidation.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/FluentValidation.dll": {
"related": ".xml"
}
}
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"type": "package",
"dependencies": {
"FluentValidation": "11.9.1",
"Microsoft.Extensions.Dependencyinjection.Abstractions": "2.1.0"
},
"compile": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll": {
"related": ".xml"
}
}
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"type": "package",
"compile": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"Microsoft.Extensions.Options/6.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0",
"Microsoft.Extensions.Primitives": "6.0.0"
},
"compile": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
}
},
"Microsoft.Extensions.Primitives/6.0.0": {
"type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"compile": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"compile": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"GreenHome.Domain/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v9.0",
"compile": {
"bin/placeholder/GreenHome.Domain.dll": {}
},
"runtime": {
"bin/placeholder/GreenHome.Domain.dll": {}
}
}
}
},
"libraries": {
"AutoMapper/12.0.1": {
"sha512": "hvV62vl6Hp/WfQ24yzo3Co9+OPl8wH8hApwVtgWpiAynVJkUcs7xvehnSftawL8Pe8FrPffBRM3hwzLQqWDNjA==",
"type": "package",
"path": "automapper/12.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"automapper.12.0.1.nupkg.sha512",
"automapper.nuspec",
"icon.png",
"lib/netstandard2.1/AutoMapper.dll",
"lib/netstandard2.1/AutoMapper.xml"
]
},
"AutoMapper.Extensions.Microsoft.DependencyInjection/12.0.1": {
"sha512": "+g/K+Vpe3gGMKGzjslMOdqNlkikScDjWfVvmWTayrDHaG/n2pPmFBMa+jKX1r/h6BDGFdkyRjAuhFE3ykW+r1g==",
"type": "package",
"path": "automapper.extensions.microsoft.dependencyinjection/12.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512",
"automapper.extensions.microsoft.dependencyinjection.nuspec",
"icon.png",
"lib/netstandard2.1/AutoMapper.Extensions.Microsoft.DependencyInjection.dll"
]
},
"FluentValidation/11.9.1": {
"sha512": "C+PqISSMdlOZZJx0Hx25atW32tv4vbpsaiQB+PLjK+ZGLzOFuHl1fUJ3Lny77mIZ31ZtYtNG0JgUjxa3wwLsWg==",
"type": "package",
"path": "fluentvalidation/11.9.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"fluent-validation-icon.png",
"fluentvalidation.11.9.1.nupkg.sha512",
"fluentvalidation.nuspec",
"lib/net5.0/FluentValidation.dll",
"lib/net5.0/FluentValidation.xml",
"lib/net6.0/FluentValidation.dll",
"lib/net6.0/FluentValidation.xml",
"lib/net7.0/FluentValidation.dll",
"lib/net7.0/FluentValidation.xml",
"lib/net8.0/FluentValidation.dll",
"lib/net8.0/FluentValidation.xml",
"lib/netstandard2.0/FluentValidation.dll",
"lib/netstandard2.0/FluentValidation.xml",
"lib/netstandard2.1/FluentValidation.dll",
"lib/netstandard2.1/FluentValidation.xml"
]
},
"FluentValidation.DependencyInjectionExtensions/11.9.1": {
"sha512": "3jJbFcCWhiXhrCKFPjKihzccmosv+CleYewd2zEYS4aaUHx9zQSgOvkYbWUGTbDwJ5j2nDWE0Pr1EQ2xY4pryg==",
"type": "package",
"path": "fluentvalidation.dependencyinjectionextensions/11.9.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"fluent-validation-icon.png",
"fluentvalidation.dependencyinjectionextensions.11.9.1.nupkg.sha512",
"fluentvalidation.dependencyinjectionextensions.nuspec",
"lib/netstandard2.0/FluentValidation.DependencyInjectionExtensions.dll",
"lib/netstandard2.0/FluentValidation.DependencyInjectionExtensions.xml",
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.dll",
"lib/netstandard2.1/FluentValidation.DependencyInjectionExtensions.xml"
]
},
"Microsoft.CSharp/4.7.0": {
"sha512": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"type": "package",
"path": "microsoft.csharp/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net45/_._",
"lib/netcore50/Microsoft.CSharp.dll",
"lib/netcoreapp2.0/_._",
"lib/netstandard1.3/Microsoft.CSharp.dll",
"lib/netstandard2.0/Microsoft.CSharp.dll",
"lib/netstandard2.0/Microsoft.CSharp.xml",
"lib/portable-net45+win8+wp8+wpa81/_._",
"lib/uap10.0.16299/_._",
"lib/win8/_._",
"lib/wp80/_._",
"lib/wpa81/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"microsoft.csharp.4.7.0.nupkg.sha512",
"microsoft.csharp.nuspec",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net45/_._",
"ref/netcore50/Microsoft.CSharp.dll",
"ref/netcore50/Microsoft.CSharp.xml",
"ref/netcore50/de/Microsoft.CSharp.xml",
"ref/netcore50/es/Microsoft.CSharp.xml",
"ref/netcore50/fr/Microsoft.CSharp.xml",
"ref/netcore50/it/Microsoft.CSharp.xml",
"ref/netcore50/ja/Microsoft.CSharp.xml",
"ref/netcore50/ko/Microsoft.CSharp.xml",
"ref/netcore50/ru/Microsoft.CSharp.xml",
"ref/netcore50/zh-hans/Microsoft.CSharp.xml",
"ref/netcore50/zh-hant/Microsoft.CSharp.xml",
"ref/netcoreapp2.0/_._",
"ref/netstandard1.0/Microsoft.CSharp.dll",
"ref/netstandard1.0/Microsoft.CSharp.xml",
"ref/netstandard1.0/de/Microsoft.CSharp.xml",
"ref/netstandard1.0/es/Microsoft.CSharp.xml",
"ref/netstandard1.0/fr/Microsoft.CSharp.xml",
"ref/netstandard1.0/it/Microsoft.CSharp.xml",
"ref/netstandard1.0/ja/Microsoft.CSharp.xml",
"ref/netstandard1.0/ko/Microsoft.CSharp.xml",
"ref/netstandard1.0/ru/Microsoft.CSharp.xml",
"ref/netstandard1.0/zh-hans/Microsoft.CSharp.xml",
"ref/netstandard1.0/zh-hant/Microsoft.CSharp.xml",
"ref/netstandard2.0/Microsoft.CSharp.dll",
"ref/netstandard2.0/Microsoft.CSharp.xml",
"ref/portable-net45+win8+wp8+wpa81/_._",
"ref/uap10.0.16299/_._",
"ref/win8/_._",
"ref/wp80/_._",
"ref/wpa81/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
"sha512": "xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==",
"type": "package",
"path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/net461/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512",
"microsoft.extensions.dependencyinjection.abstractions.nuspec",
"useSharedDesignerContext.txt"
]
},
"Microsoft.Extensions.Options/6.0.0": {
"sha512": "dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==",
"type": "package",
"path": "microsoft.extensions.options/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/Microsoft.Extensions.Options.dll",
"lib/net461/Microsoft.Extensions.Options.xml",
"lib/netstandard2.0/Microsoft.Extensions.Options.dll",
"lib/netstandard2.0/Microsoft.Extensions.Options.xml",
"lib/netstandard2.1/Microsoft.Extensions.Options.dll",
"lib/netstandard2.1/Microsoft.Extensions.Options.xml",
"microsoft.extensions.options.6.0.0.nupkg.sha512",
"microsoft.extensions.options.nuspec",
"useSharedDesignerContext.txt"
]
},
"Microsoft.Extensions.Primitives/6.0.0": {
"sha512": "9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==",
"type": "package",
"path": "microsoft.extensions.primitives/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/Microsoft.Extensions.Primitives.dll",
"lib/net461/Microsoft.Extensions.Primitives.xml",
"lib/net6.0/Microsoft.Extensions.Primitives.dll",
"lib/net6.0/Microsoft.Extensions.Primitives.xml",
"lib/netcoreapp3.1/Microsoft.Extensions.Primitives.dll",
"lib/netcoreapp3.1/Microsoft.Extensions.Primitives.xml",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.xml",
"microsoft.extensions.primitives.6.0.0.nupkg.sha512",
"microsoft.extensions.primitives.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"type": "package",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"system.runtime.compilerservices.unsafe.nuspec",
"useSharedDesignerContext.txt"
]
},
"GreenHome.Domain/1.0.0": {
"type": "project",
"path": "../GreenHome.Domain/GreenHome.Domain.csproj",
"msbuildProject": "../GreenHome.Domain/GreenHome.Domain.csproj"
}
},
"projectFileDependencyGroups": {
"net9.0": [
"AutoMapper >= 12.0.1",
"AutoMapper.Extensions.Microsoft.DependencyInjection >= 12.0.1",
"FluentValidation >= 11.9.1",
"FluentValidation.DependencyInjectionExtensions >= 11.9.1",
"GreenHome.Domain >= 1.0.0"
]
},
"packageFolders": {
"C:\\Users\\Mohammad\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj",
"projectName": "GreenHome.Application",
"projectPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj",
"packagesPath": "C:\\Users\\Mohammad\\.nuget\\packages\\",
"outputPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Mohammad\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {
"D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj": {
"projectPath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Domain\\GreenHome.Domain.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"AutoMapper": {
"target": "Package",
"version": "[12.0.1, )"
},
"AutoMapper.Extensions.Microsoft.DependencyInjection": {
"target": "Package",
"version": "[12.0.1, )"
},
"FluentValidation": {
"target": "Package",
"version": "[11.9.1, )"
},
"FluentValidation.DependencyInjectionExtensions": {
"target": "Package",
"version": "[11.9.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-x64": {
"#import": []
}
}
}
}

View File

@@ -0,0 +1,18 @@
{
"version": 2,
"dgSpecHash": "HSzYss8lLTM=",
"success": true,
"projectFilePath": "D:\\Data\\Projects\\php\\greenhome\\src\\GreenHome.Application\\GreenHome.Application.csproj",
"expectedPackageFiles": [
"C:\\Users\\Mohammad\\.nuget\\packages\\automapper\\12.0.1\\automapper.12.0.1.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\automapper.extensions.microsoft.dependencyinjection\\12.0.1\\automapper.extensions.microsoft.dependencyinjection.12.0.1.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\fluentvalidation\\11.9.1\\fluentvalidation.11.9.1.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\fluentvalidation.dependencyinjectionextensions\\11.9.1\\fluentvalidation.dependencyinjectionextensions.11.9.1.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\6.0.0\\microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512",
"C:\\Users\\Mohammad\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
],
"logs": []
}