fuckkkkkkkk
This commit is contained in:
parent
0a1287ce67
commit
bad80dd660
|
|
@ -7,9 +7,9 @@ public static class FruitBankConstClient
|
||||||
{
|
{
|
||||||
public static string DefaultLocale = "en-US";
|
public static string DefaultLocale = "en-US";
|
||||||
|
|
||||||
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
//public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
||||||
//public static string BaseUrl = "https://localhost:44372"; //FrutiBank nop
|
//public static string BaseUrl = "https://localhost:44372"; //FrutiBank nop
|
||||||
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
||||||
//public static string BaseUrl = "https://fruitbank.mangoweb.hu"; //FrutiBank nop test
|
//public static string BaseUrl = "https://fruitbank.mangoweb.hu"; //FrutiBank nop test
|
||||||
#if RELEASE
|
#if RELEASE
|
||||||
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
||||||
|
|
|
||||||
|
|
@ -186,8 +186,15 @@ namespace FruitBankHybrid.Shared.Services.SignalRs
|
||||||
|
|
||||||
#region Product
|
#region Product
|
||||||
|
|
||||||
public Task<List<ProductDtoTableItem>?> GetProductDtoTableItems()
|
public async Task<List<ProductDtoTableItem>?> GetProductDtoTableItems()
|
||||||
=> GetAllAsync<List<ProductDtoTableItem>>(SignalRTags.GetProductDtos);
|
//=> GetAllAsync<List<ProductDtoTableItem>>(SignalRTags.GetProductDtos);
|
||||||
|
{
|
||||||
|
var dtos = await GetProductDtos();
|
||||||
|
if (dtos == null) return null;
|
||||||
|
|
||||||
|
var bytes = SignalRSerializationHelper.SerializeToBinary(dtos);
|
||||||
|
return SignalRSerializationHelper.DeserializeFromBinary<List<ProductDtoTableItem>>(bytes);
|
||||||
|
}
|
||||||
|
|
||||||
public Task<List<ProductDto>?> GetProductDtos()
|
public Task<List<ProductDto>?> GetProductDtos()
|
||||||
=> GetAllAsync<List<ProductDto>>(SignalRTags.GetProductDtos);
|
=> GetAllAsync<List<ProductDto>>(SignalRTags.GetProductDtos);
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
},
|
},
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
||||||
"Urls": {
|
"Urls": {
|
||||||
"BaseUrl": "https://localhost:59579",
|
//"BaseUrl": "https://localhost:59579",
|
||||||
"ApiBaseUrl": "https://localhost:59579"
|
//"ApiBaseUrl": "https://localhost:59579"
|
||||||
},
|
"BaseUrl": "https://shop.fruitbank.hu",
|
||||||
|
"ApiBaseUrl": "https://shop.fruitbank.hu"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
@ -24,7 +26,7 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
"AcHubConnection": {
|
"AcHubConnection": {
|
||||||
"Url": "https://localhost:59579/fbHub",
|
"Url": "https://shop.fruitbank.hu/fbHub",
|
||||||
"TransportMaxBufferSize": 30000000,
|
"TransportMaxBufferSize": 30000000,
|
||||||
"ApplicationMaxBufferSize": 30000000,
|
"ApplicationMaxBufferSize": 30000000,
|
||||||
"CloseTimeout": "00:00:10",
|
"CloseTimeout": "00:00:10",
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,13 @@
|
||||||
<RunAOTCompilation>false</RunAOTCompilation>
|
<RunAOTCompilation>false</RunAOTCompilation>
|
||||||
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
|
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
|
||||||
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
|
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
|
||||||
|
|
||||||
|
<BlazorEnableCompression>false</BlazorEnableCompression>
|
||||||
|
<BlazorCacheBootResources>false</BlazorCacheBootResources>
|
||||||
|
|
||||||
|
<OptimizationPreference>Speed</OptimizationPreference>
|
||||||
|
|
||||||
|
<DevExpressBrotliCompression>false</DevExpressBrotliCompression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
},
|
},
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
||||||
"Urls": {
|
"Urls": {
|
||||||
"BaseUrl": "https://localhost:59579",
|
"BaseUrl": "https://localhost:59579",
|
||||||
"ApiBaseUrl": "https://localhost:59579"
|
"ApiBaseUrl": "https://localhost:59579"
|
||||||
},
|
//"BaseUrl": "https://shop.fruitbank.hu",
|
||||||
|
//"ApiBaseUrl": "https://shop.fruitbank.hu"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
@ -23,18 +25,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"AcHubConnection": {
|
"AcHubConnection": {
|
||||||
"Url": "https://localhost:59579/fbHub",
|
"Url": "https://localhost:59579/fbHub",
|
||||||
"TransportMaxBufferSize": 30000000,
|
//"Url": "https://shop.fruitbank.hu/fbHub",
|
||||||
"ApplicationMaxBufferSize": 30000000,
|
"TransportMaxBufferSize": 30000000,
|
||||||
"CloseTimeout": "00:00:10",
|
"ApplicationMaxBufferSize": 30000000,
|
||||||
"KeepAliveInterval": "00:01:00",
|
"CloseTimeout": "00:00:10",
|
||||||
"ServerTimeout": "00:03:00",
|
"KeepAliveInterval": "00:01:00",
|
||||||
"SkipNegotiation": true,
|
"ServerTimeout": "00:03:00",
|
||||||
"Transports": "WebSockets",
|
"SkipNegotiation": true,
|
||||||
"UseAutomaticReconnect": true,
|
"Transports": "WebSockets",
|
||||||
"UseStatefulReconnect": true
|
"UseAutomaticReconnect": true,
|
||||||
},
|
"UseStatefulReconnect": true
|
||||||
|
},
|
||||||
"AcBinaryHubProtocol": {
|
"AcBinaryHubProtocol": {
|
||||||
"ProtocolMode": "AsyncSegment",
|
"ProtocolMode": "AsyncSegment",
|
||||||
"BufferSize": 4096,
|
"BufferSize": 4096,
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
|
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
|
||||||
</script>
|
</script>
|
||||||
<script src="_content/FruitBankHybrid.Shared/js/pdfViewer.js"></script>
|
<script src="_content/FruitBankHybrid.Shared/js/pdfViewer.js"></script>
|
||||||
<script src="@Assets["_framework/blazor.web.js"]"></script>
|
<script src="@Assets["/_framework/blazor.web.js"]"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,11 @@
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<!--<PublishTrimmed>true</PublishTrimmed>-->
|
<!--<PublishTrimmed>true</PublishTrimmed>-->
|
||||||
|
|
||||||
<RunAOTCompilation>true</RunAOTCompilation>
|
<RunAOTCompilation>false</RunAOTCompilation>
|
||||||
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
|
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
|
||||||
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
|
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
|
||||||
|
<BlazorEnableCompression>false</BlazorEnableCompression>
|
||||||
|
<DevExpressBrotliCompression>false</DevExpressBrotliCompression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,12 @@
|
||||||
},
|
},
|
||||||
"AyCode": {
|
"AyCode": {
|
||||||
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
"ProjectId": "aad53443-2ee2-4650-8a99-97e907265e4e",
|
||||||
"Urls": {
|
"Urls": {
|
||||||
"BaseUrl": "https://localhost:59579",
|
"BaseUrl": "https://localhost:59579",
|
||||||
"ApiBaseUrl": "https://localhost:59579"
|
"ApiBaseUrl": "https://localhost:59579"
|
||||||
},
|
//"BaseUrl": "https://shop.fruitbank.hu",
|
||||||
|
//"ApiBaseUrl": "https://shop.fruitbank.hu"
|
||||||
|
},
|
||||||
"Logger": {
|
"Logger": {
|
||||||
"AppType": "Server",
|
"AppType": "Server",
|
||||||
"LogLevel": "Detail",
|
"LogLevel": "Detail",
|
||||||
|
|
@ -23,18 +25,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"AcHubConnection": {
|
"AcHubConnection": {
|
||||||
"Url": "https://localhost:59579/fbHub",
|
"Url": "https://localhost:59579/fbHub",
|
||||||
"TransportMaxBufferSize": 30000000,
|
//"Url": "https://shop.fruitbank.hu/fbHub",
|
||||||
"ApplicationMaxBufferSize": 30000000,
|
"TransportMaxBufferSize": 30000000,
|
||||||
"CloseTimeout": "00:00:10",
|
"ApplicationMaxBufferSize": 30000000,
|
||||||
"KeepAliveInterval": "00:01:00",
|
"CloseTimeout": "00:00:10",
|
||||||
"ServerTimeout": "00:03:00",
|
"KeepAliveInterval": "00:01:00",
|
||||||
"SkipNegotiation": true,
|
"ServerTimeout": "00:03:00",
|
||||||
"Transports": "WebSockets",
|
"SkipNegotiation": true,
|
||||||
"UseAutomaticReconnect": true,
|
"Transports": "WebSockets",
|
||||||
"UseStatefulReconnect": true
|
"UseAutomaticReconnect": true,
|
||||||
},
|
"UseStatefulReconnect": true
|
||||||
|
},
|
||||||
"AcBinaryHubProtocol": {
|
"AcBinaryHubProtocol": {
|
||||||
"ProtocolMode": "AsyncSegment",
|
"ProtocolMode": "AsyncSegment",
|
||||||
"BufferSize": 4096,
|
"BufferSize": 4096,
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,12 @@
|
||||||
<AndroidUseAapt2>True</AndroidUseAapt2>
|
<AndroidUseAapt2>True</AndroidUseAapt2>
|
||||||
<AndroidPackageFormat>apk</AndroidPackageFormat>
|
<AndroidPackageFormat>apk</AndroidPackageFormat>
|
||||||
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
|
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
|
||||||
<AndroidKeyStore>True</AndroidKeyStore>
|
<DebugSymbols>True</DebugSymbols>
|
||||||
|
<AndroidKeyStore>true</AndroidKeyStore>
|
||||||
|
<AndroidSigningKeyStore>fruitbank.keystore</AndroidSigningKeyStore>
|
||||||
|
<AndroidSigningKeyAlias>fruitbank</AndroidSigningKeyAlias>
|
||||||
|
<AndroidSigningKeyPass>Asdasd123456</AndroidSigningKeyPass>
|
||||||
|
<AndroidSigningStorePass>Asdasd123456</AndroidSigningStorePass>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue