Verbesserungen bei Logging, WCF und Workflow-Prozeduren
Die Änderungen umfassen: - Erweiterung von `HandleCommunicationError` in Client.vb, um SQL-Befehle in Logs aufzunehmen. - Neue Funktionen und asynchrone Methoden in MailFetcher.vb zur Unterstützung delegierter Mailboxen. - Aktualisierung von AssemblyInfo.vb (Versionen und Metadaten). - Hinzufügen von WCF-Service-Throttling-Konfiguration in Config.vb und WindowsService.vb. - Einführung der gespeicherten Prozeduren `PRCUST_DYNAMIC_RIGHT_WORKFLOW_PROFILE_MB` und `PRCUST_GET_WF_DOCS_FOR_USER` zur Filterung von Workflow-Dokumenten basierend auf Benutzerrechten. - Hinzufügen der Datei `Session.csv` zum Projekt. Diese Änderungen verbessern die Fehlerbehandlung, Skalierbarkeit, Wartbarkeit und Nachvollziehbarkeit der Anwendung.
This commit is contained in:
@@ -26,6 +26,10 @@ Public Class Config
|
||||
Public Property Debug As Boolean = False
|
||||
|
||||
Public Property ClientConfig As New ClientConfiguration
|
||||
' WCF ServiceThrottling
|
||||
Public Property WCF_MaxConcurrentCalls As Integer = 500
|
||||
Public Property WCF_MaxConcurrentSessions As Integer = 500
|
||||
Public Property WCF_MaxConcurrentInstances As Integer = 500
|
||||
|
||||
Public Class ClientConfiguration
|
||||
Public Property ForceDirectDatabaseAccess As Boolean = False
|
||||
|
||||
@@ -277,6 +277,7 @@
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Session.csv" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||
|
||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("2.9.0.0")>
|
||||
<Assembly: AssemblyFileVersion("2.9.0.0")>
|
||||
<Assembly: AssemblyVersion("3.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("3.0.0.0")>
|
||||
|
||||
15777
Service.EDMIService/Session.csv
Normal file
15777
Service.EDMIService/Session.csv
Normal file
File diff suppressed because it is too large
Load Diff
@@ -126,7 +126,19 @@ Public Class WindowsService
|
||||
Logger.Debug("Contract: {0}", oEndpoint.Contract.Name)
|
||||
Next
|
||||
|
||||
Logger.Debug("Starting WFC ServiceHost..")
|
||||
Logger.Debug("Configuring WCF ServiceThrottling ...")
|
||||
Dim oThrottling = ServiceHost.Description.Behaviors.Find(Of ServiceThrottlingBehavior)()
|
||||
If oThrottling Is Nothing Then
|
||||
oThrottling = New ServiceThrottlingBehavior()
|
||||
ServiceHost.Description.Behaviors.Add(oThrottling)
|
||||
End If
|
||||
oThrottling.MaxConcurrentCalls = Config.WCF_MaxConcurrentCalls
|
||||
oThrottling.MaxConcurrentSessions = Config.WCF_MaxConcurrentSessions
|
||||
oThrottling.MaxConcurrentInstances = Config.WCF_MaxConcurrentInstances
|
||||
Logger.Info("✔ ServiceThrottling configured: MaxConcurrentCalls=[{0}] MaxConcurrentSessions=[{1}] MaxConcurrentInstances=[{2}]",
|
||||
oThrottling.MaxConcurrentCalls, oThrottling.MaxConcurrentSessions, oThrottling.MaxConcurrentInstances)
|
||||
|
||||
Logger.Debug("Starting WCF ServiceHost..")
|
||||
Try
|
||||
ServiceHost.Open()
|
||||
Logger.Debug("WCF ServiceHost started!")
|
||||
|
||||
Reference in New Issue
Block a user