IoT Platform PoC

Hi, today I am starting the new coding adventure that probably takes me few weekends. It will be IoT Platform PoC based on Multi Service Bus Core 2.0. I have got only one Raspberry Pi 3, and for PoC I plan use some small sensor, maybe for temperature in our home. I do not have sensor that is able to use MQTT, but I really want, so if you can borrow one to me please contact with Continue ReadingIoT Platform PoC

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, so you can download it from that post if you like. The only Continue ReadingMulti Service Bus Core Released

Review Roard

Hi, today I will use 3 thousands words on 3 draws, what can I say? can you told me what you folks think about those ideas by 2 authors? About 1 or maybe 2 subjects… Are you get the point? The answers are below this text… Piotr . Paulinka . p ;).

Action<T> and Func<T, TResult> in Java 8

Hi, as a .NET/C# coder I found the issue that there is not Action<T> and Func<T, TResult> equivalents in Java environment. I am self-study this to prepare myself to the OCA certification and I had idea that I can use lambda expression and implement simple equivalents of C# delegates in the Java 8. Below you can find implementation with test cases. I found that the code can be very easy, because lambda expressions works as a anonymous Continue ReadingAction<T> and Func<T, TResult> in Java 8

SimpleDatabaseBroker

Hi, today I would like to share with you implementation of new SimpleServiceBus that now uses Apache.Thrift and Protobuf.NET and is faster because of that. First reason of use those libraries was of course performance, but also I want to build something completely new which is SimpleDatabaseBroker. For use this code in SQL Server 2012 I needed something different than dependency for System.ServiceModel.dll because that cannot be used as SQL CLR. In other words you cannot use Continue ReadingSimpleDatabaseBroker

Common Communicator

Hi, today I would like to share with you idea of creating common communication components. I did it many times and I have even prepared my own presentation with many examples of such kind of problem solution. After some time of experiments I created few design diagrams that implement communication in minimal and advanced way the same time. So, let me show you what is the design on common communicator that you can create for your own Continue ReadingCommon Communicator

Coder Legacy

In-Proc Agents CommunicationsHello, this is my first article on Aspect Coder Network and I decide to start with some very modern subject of software architecture I am working on by a very long time before on implementation on this idea on .NET/C# technology stack. It takes me about four years to find best practices of this subject. Which is modeling inter process communications as a key of aspects designing for modeling multi agent environment. It is useful Continue ReadingCoder Legacy

Generic Free Pattern

Hello, below you can find C# 2.0 Generic Free Pattern example that I just invented ;). Only generic code is invoked but it is called like without generic type. I have better idea of implementation of this pattern but it needs introduction of 3rd usage of out keyword in C# and I cannot make it. However I could made this pattern and I hope you like it. Now you can write generic code that is used like Continue ReadingGeneric Free Pattern

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 way do do async? it is by using data model and publisher consumer Continue ReadingData Model Async

New Bonsai and Fastest Binder

Hi, I am very happy to say that I have new one bonsai tree :), I know I have them everywhere. This one will be grow up on my desk in my new work place. Reason for having bonsai trees and carry of them is because of my favorite team role that is the Plant and I like plants, especially bonsai trees as you all may already know. I want to say also that acting Plant/Creator role Continue ReadingNew Bonsai and Fastest Binder

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 aspects. First manages memory to help in a garbage collector work and second Continue ReadingPerformance Manager Aspects (New)

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 now in elegant way. Do did so by changing a little bit a Continue ReadingWebSockets on Windows Server 2012 with WCF 4.5 after TuneUp