Multi Service Bus Core Released

Hi, today the .NET Core 2.0 was released, so I am very happy to announce that Multi Service Bus Core is now ready for production. I developed it on macOS Sierra 10.12.6 and below you can find the tests results of this ready for IoT and Multi-Core coding library… I did not change anything in code from last post about Multi Service Bus Core, Continue ReadingMulti Service Bus Core Released

PL Lotto Predictor in C# with Encog 3.3

Yes, I know that it is impossible to predict lottery results. But if the results would be predictable? Of course I know they are not, but just hypothetically for a play with Perceptron Neural Network and prediction algorithms I want to show you that in 250 lines of code you are able to play with prediction thanks to Encog 3.3 library. I bought recently Continue ReadingPL Lotto Predictor in C# with Encog 3.3

ParallelExecutorAspect in C#

Hi, today I would like to share with you idea of right parallel execution of actions/methods. Imagine at the beginning that you have queue of messages and even some number of threads that in parallel get messages from queue and then there are doing background work. Now if that messages executes actions on relational database you will quickly find out that some of your Continue ReadingParallelExecutorAspect in C#

Data Model Async

Hi, I saw million times solution with ThreadPool or sometimes event with new async keyword in C# 5.0. And so many times I want to tell people that their doing it in wrong way. about a half of year ago someone told me that I have tendency to keep too much only for me. I am trying to change this. So, what is best Continue ReadingData Model Async

Performance Manager Aspects (New)

Hi today I created powerful combination of performance aspects. First MemoryManagerAspect<T> and second ThreadsManagerAspect. Both of that ideas are for very fast services created on multicore systems. I will show you code that produce following output that can be a proof that it is possible to create very low latency and asynchronous code in C#. This code was produced by Idea of two performance Continue ReadingPerformance Manager Aspects (New)

ThreadPoolAbstractionAspect<T>

Hi, this is an implementation, with an output, and no comments. P ;).

WebSockets on Windows Server 2012 with WCF 4.5 after TuneUp

Hi, today I try to tune up my last example with very trivial way with buffer. Now my example is much faster. Buffer for sending data usual have array form. In my example I change “double value” into “params double[] values” parameter. With that modification older implementation can still works just fine, but when someone wants to use buffered array values it is possible Continue ReadingWebSockets on Windows Server 2012 with WCF 4.5 after TuneUp

WebSockets on Windows Server 2012 with WCF 4.5

Hi, today I was wandering about new features in .NET 4.5 and I try to examine in practice WebSockets feature. This feature is supported by Windows Server 2012 only. And I try to find an elegant example of running it. There was not any interesting and elegant solution on the Internet so I prepared my own for this blog entry. I used Visual Studio Continue ReadingWebSockets on Windows Server 2012 with WCF 4.5

BlockingCollectionConsumer<T>

try an output implementation no comments, enjoy, P ;).

Fluent Transform Extensions

Hi, today I would like to show you how trivial ETL in C# 4.0 can be. Many times we need transform model objects from one kind to another. I try to prepare for today easiest way to do that. I prepared small helper class with extensions for our objects with tree following methods: Serialize, Transform and Deserialize. You may be wonder how it works. Continue ReadingFluent Transform Extensions