packages updates; Settings to appsettings.json in progress...
This commit is contained in:
parent
e099f82f8e
commit
2b11c329af
|
|
@ -29,7 +29,7 @@
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
|
||||||
<PackageReference Include="Moq" Version="4.20.70" />
|
<PackageReference Include="Moq" Version="4.20.70" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
|
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
||||||
|
"Urls": {
|
||||||
|
"BaseUrl": "https://localhost:7116",
|
||||||
|
"ApiBaseUrl": "https://localhost:7116"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="8.0.8" />
|
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="8.0.8" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@
|
||||||
|
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
||||||
|
"Urls": {
|
||||||
|
"BaseUrl": "https://localhost:7116",
|
||||||
|
"ApiBaseUrl": "https://localhost:7116"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,14 @@
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.8" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.8" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.8" />
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.8" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
|
||||||
<PackageReference Include="Microsoft.OpenApi" Version="1.6.17" />
|
<PackageReference Include="Microsoft.OpenApi" Version="1.6.18" />
|
||||||
<PackageReference Include="QRCoderNetCore" Version="1.0.0" />
|
<PackageReference Include="QRCoderNetCore" Version="1.0.0" />
|
||||||
<PackageReference Include="SendGrid" Version="9.29.3" />
|
<PackageReference Include="SendGrid" Version="9.29.3" />
|
||||||
<PackageReference Include="SkiaSharp" Version="2.88.8" />
|
<PackageReference Include="SkiaSharp" Version="2.88.8" />
|
||||||
<PackageReference Include="SkiaSharp.Views.Desktop.Common" Version="2.88.8" />
|
<PackageReference Include="SkiaSharp.Views.Desktop.Common" Version="2.88.8" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.7.0" />
|
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.7.3" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.7.0" />
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.7.3" />
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.7.0" />
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.7.3" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@
|
||||||
|
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
"ProjectId": "684f34d1-163a-4077-918f-a9d9df5ce789",
|
||||||
|
"Urls": {
|
||||||
|
"BaseUrl": "https://localhost:7116",
|
||||||
|
"ApiBaseUrl": "https://localhost:7116"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,30 @@
|
||||||
namespace TIAMWebApp.Shared.Application.Models.ClientSide
|
using Microsoft.Extensions.Configuration;
|
||||||
|
|
||||||
|
namespace TIAMWebApp.Shared.Application.Models.ClientSide
|
||||||
{
|
{
|
||||||
//appsettings.json
|
|
||||||
public class Setting
|
public class Setting
|
||||||
{
|
{
|
||||||
public static UserBasicDetails UserBasicDetails { get; set; }
|
public static UserBasicDetails UserBasicDetails { get; set; }
|
||||||
//public const string BaseUrl = "https://touriam.mangoweb.hu";
|
//public static string BaseUrl = "https://touriam.mangoweb.hu";
|
||||||
//public const string ApiBaseUrl = "https://touriam.mangoweb.hu";
|
//public static string ApiBaseUrl = "https://touriam.mangoweb.hu";
|
||||||
#if RELEASE
|
#if RELEASE
|
||||||
public const string BaseUrl = "https://test.touriam.com";
|
public static string BaseUrl = "https://test.touriam.com";
|
||||||
public const string ApiBaseUrl = "https://test.touriam.com";
|
public static string ApiBaseUrl = "https://test.touriam.com";
|
||||||
//public const string BaseUrl = "https://touriam.com";
|
//public static string BaseUrl = "https://touriam.com";
|
||||||
//public const string ApiBaseUrl = "https://touriam.com";
|
//public static string ApiBaseUrl = "https://touriam.com";
|
||||||
//public const string BaseUrl = "https://qa.touriam.com";
|
//public static string BaseUrl = "https://qa.touriam.com";
|
||||||
//public const string ApiBaseUrl = "https://qa.touriam.com";
|
//public static string ApiBaseUrl = "https://qa.touriam.com";
|
||||||
#else
|
#else
|
||||||
public const string BaseUrl = "https://localhost:7116";
|
public static string BaseUrl = "https://localhost:7116";
|
||||||
public const string ApiBaseUrl = "https://localhost:7116";
|
public static string ApiBaseUrl = "https://localhost:7116";
|
||||||
#endif
|
#endif
|
||||||
public const bool DarkMode = false;
|
public static bool DarkMode = false;
|
||||||
public static string Locale { get; set; }
|
public static string Locale { get; set; }
|
||||||
|
|
||||||
|
public Setting(IConfiguration configuration)
|
||||||
|
{
|
||||||
|
//BaseUrl = configuration["AyCode:Urls:BaseUrl"]!;
|
||||||
|
//ApiBaseUrl = configuration["AyCode:Urls:ApiBaseUrl"]!;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue