Messaging: Add general WCF code
This commit is contained in:
20
Messaging/WCF/Constants.vb
Normal file
20
Messaging/WCF/Constants.vb
Normal file
@@ -0,0 +1,20 @@
|
||||
Namespace WCF
|
||||
Public Class Constants
|
||||
Public Const DEFAULT_SERVICE_PORT = 9000
|
||||
|
||||
''' <summary>
|
||||
''' Infos about MaxBufferSize and MaxBufferPoolSize
|
||||
''' https://social.msdn.microsoft.com/Forums/vstudio/en-US/d6e234d3-942f-4e9d-8470-32618d3f3212/maxbufferpoolsize-vs-maxbuffersize?forum=wcf
|
||||
''' </summary>
|
||||
Public Class ChannelSettings
|
||||
Public Const MAX_RECEIVED_MESSAGE_SIZE = 2147483647 ' 1GB
|
||||
Public Const MAX_BUFFER_SIZE = 104857600 ' 100MB
|
||||
Public Const MAX_BUFFER_POOL_SIZE = 1048576 ' 1MB
|
||||
|
||||
Public Const MAX_CONNECTIONS = 500
|
||||
Public Const MAX_ARRAY_LENGTH = 2147483647
|
||||
Public Const MAX_STRING_CONTENT_LENGTH = 2147483647
|
||||
End Class
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
Reference in New Issue
Block a user