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 2.0

Hi, today I want to present to you Multi Service Bus Core 2.0. The new version has a lot of small bugs fixed. I recently bought to myself very good tool to draw diagrams. Below I will want first starting with showing the concept diagram. Multi Service Bus Core 2.0 offers Server to Client communication. It is important point so I described it first with this but let me start from the basics principles of the library Continue ReadingMulti Service Bus Core 2.0

Multi Service Bus Core on Raspberry Pi 3

Hi, today thanks to solution that I found on the Internet named Setting up Raspian and .NET Core 2.0 on Raspberry Pi I was able to configure .NET Core 2.0 and Multi Service Bus Core on the Raspberry Pi 3. This is a kind of PoC – Proof-of-Concept that makes possible to use on R Pi 3 for sensors for IoT my own service bus. The mentioned solution Multi Service Bus Core took me about 7 years Continue ReadingMulti Service Bus Core on Raspberry Pi 3

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

Multi Service Bus Core

Hi, this is a day I was looking forward for about two years. At least I am able to put here pre-release of the Multi Service Bus Core solution. It is pre-release because .NET Core 2.0 is still in preview2 stage. This is for me revolutionary code. It is something best I ever did. The C# piece of code that before even .NET Core start support WCF Service Host I am able to connect between Microsoft Windows, Continue ReadingMulti Service Bus Core

Generic Free Pattern Improved C#

Hi, some time ago I posted information about Generic Free Pattern, but I used there the reflection. Today I would like to share with you solution that is a way much faster. The source of creation a bridge between non-generic and generic classes is in the method named Creator. The usage of the pattern is at the end of the code. Where you can create class EntityManager that is non-generic but the logic that is called behind Continue ReadingGeneric Free Pattern Improved C#

Code Puzzle – Get Behind Firewall – Solution

I feel really disappointed, because I have not received any solution form anyone, for this puzzle. Solution of this is very trivial with correct tools. Tool I am using to solve this is Simple Service Bus. I want to remind you what was the architecture design pattern. And below you can find very trivial and working solution. Can you explain why nobody solve this? Just wonder. The only thing I do not tell you is how to Continue ReadingCode Puzzle – Get Behind Firewall – Solution

Code Puzzle – Get Behind Firewall

Hi, today I have very nice code puzzle for you. Code Puzzle is to implement two blue boxes in following diagram. That can be implemented in Java and/or C# with following requirements. The only system that can receive connections is behind green box that is a open server endpoint. The system behind red box is closed and you cannot connect to it. I have very special prize for the best, clean and easiest solution of this code Continue ReadingCode Puzzle – Get Behind Firewall

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 2 Jeff Heaton’s  books about neural network and C# and his library. That Continue ReadingPL Lotto Predictor in C# with Encog 3.3

Batch Processing Aspect in C#

Hi, today I want to share with you idea of batch processing aspect. It solves an issue with calling T-SQL Server procedures 1-by-1 request for example for inserts calls. And instead of calling 1-by-1 I prepared aspects that you call 1-by-1 but it do it in batches for example up to 100-by-100 like in my test example. Below you can find a code that includes aspect and a simple test of it. The most important quality factor Continue ReadingBatch Processing Aspect in C#