xsharp.eu • Xsharp errors in multithreads applications.
Page 1 of 1

Xsharp errors in multithreads applications.

Posted: Fri Nov 24, 2023 9:39 am
by Ивайло Кантурски
Hello team,

we use XSharp assembly in our Web Applications and we get two attached errors when we use some functions like NTrim, Transform and so on. Digging in XSharp code we found that the problems comes from XSharp.ConversionHelpers.GetFormatString which use the static formatStrings variable defined as Dictionary. May be the ConcurentDictionary will help here.

Thank you.

Re: Xsharp errors in multithreads applications.

Posted: Fri Nov 24, 2023 11:05 am
by robert
Ivailo ?

Thanks for the report. Can you create a Github issue for this: https://github.com/X-Sharp/XSharpPublic
I think this should indeed be a concurrent dictionary.

Robert

Re: Xsharp errors in multithreads applications.

Posted: Fri Nov 24, 2023 3:04 pm
by Ивайло Кантурски
Thank soy for your reply. I'll create a Github issue.