porting .net application which uses monitor to linux - multithreading

Looking into porting out .NET application to Linux. The application uses the "monitor class" for thread synchronization. I do not think Linux has monitor. What can i use instead?

Related

WCF WsHttpBinding on linux

I need to consume WCF service on linux. The service uses wsHttpBinding with message security, secure conversation and ws trust (tlsnego). I tried to use gSoap, python (zeep) and .NET Core but no success. Finaly I will need a solution in C++ but for now I just need to communicate (authenticate) with service from linux. The problem is that I can't find any tools that supports configuration like this. Can you suggest any solution?

What is the equivalent of Windows' COM technology in Linux systems?

I'm using MATLAB on windows to programmatically control another application called CST. I do this via the actxserver command which uses COM technology. I'm trying to do the same thing on a Linux cluster but I failed (despite having both MATLAB and CST installed there). I just learned that COM is unique to Windows. Is there an alternative for that on Linux?

C# windows service profiling using Glimpse

We have windows service written in C# and wanted to monitor which method taking more time, memory leaks/allocation etc.
Is it possible to profile windows service using glimpse profiler?
Or any other best profiler to monitor windows service?
(We have tried PerfView and DebugDiag but wanted to look in some other way too.)
Unfortunately, no. Glimpse works based on primitives in ASP.NET (HttpModule, HttpHandler), so it wouldn't be compatible with a standard Windows service.
I'd recommend trying a CPU Profiler like the ones that Red Gate and JetBrains sell.

Delphi 6 and signals/slots from a shared library written in QT

Right now I have an application written in Qt, and a shared library(dll), also written in Qt. They are working in different threads and communicate via signals and slots.
The problem: I need to make the Qt dll work for a Delphi 6 application.
The question: Is it possible to somehow use Qt dll's signals in delphi? If not, how can I make the main program(delphi) and the dll(in a different thread) communicate in some other way, not with signals/slots?

is there Windows services on winCE?

is there something like Windows Services for WinCE 6.0 OS?, I mean, a background process thread(s) doing their things...
I need to develop a programm on .NETCF thay always listens to a specific port on device, stores it on SQL Server compact database and sends it back to another port. Don't want to do a desktop app for this as there will be no GUI at all...
Yes, Windows CE supports Services. However a true service must be written in C because the CF doesn't support EE Hosting. There is a Codeplex project to try to make managed services. I've never used it so I can't say I recommend it or not. YMMV.
As far as writing an app with no UI, that doesn't require a service. Just don't create a Form in your Main method.

Resources