DebugConfig Server Url zugefügt und app.config auf http gestellt
This commit is contained in:
@@ -657,6 +657,11 @@ namespace BeWo
|
||||
String url = "";
|
||||
#if DEBUG
|
||||
//url = String.Format("http://localhost:3777/Host");
|
||||
if (DebugConfig.CurrentConfig is DebugConfig current && !string.IsNullOrWhiteSpace(DebugConfig.ServerUrl))
|
||||
{
|
||||
url = DebugConfig.ServerUrl;
|
||||
}
|
||||
|
||||
//return new Uri("https://app5.bewoplaner.de/service");
|
||||
//url = String.Format("app1.bewoplaner.de/service");
|
||||
#endif
|
||||
|
||||
@@ -34,9 +34,10 @@ namespace BeWo
|
||||
|
||||
public DebugConfigMode DebugConfigMode { get; set; }
|
||||
|
||||
public static string Username { get; set; } = "m1";
|
||||
public static string Password { get; set; } = "bewobewo";
|
||||
public static string Profilename { get; set; } = "5000000000";
|
||||
public static string ServerUrl { get; set; } = "http://localhost:3777/Host";
|
||||
public static string Username { get; set; } = "";
|
||||
public static string Password { get; set; } = "";
|
||||
public static string Profilename { get; set; } = "";
|
||||
|
||||
public bool AutoLogin { get; set; }
|
||||
public UIContext? SelectView { get; set; }
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
<binding name="BeWoBasicEndpoint" closeTimeout="00:05:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
|
||||
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
||||
<!--<security mode="None" />-->
|
||||
<security mode="Transport" />
|
||||
<security mode="None" />
|
||||
<!-- mode="Transport" für https und "None" sonst-->
|
||||
</binding>
|
||||
<binding name="BeWoStreamingEndpoint" receiveTimeout="10:10:00" sendTimeout="10:01:00" maxBufferSize="65536" maxReceivedMessageSize="67108864" transferMode="StreamedRequest" useDefaultWebProxy="true" messageEncoding="Text">
|
||||
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
||||
<!--<security mode="None" />-->
|
||||
<security mode="Transport" />
|
||||
<security mode="None" />
|
||||
<!-- mode="Transport" für https und "None" sonst-->
|
||||
</binding>
|
||||
<binding name="QueryServiceEndpoint" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
|
||||
|
||||
Reference in New Issue
Block a user