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#

Breakthrough DbTester Solution and Training

Hi, today I would like to share with you new training about some breakthrough database code test tool named DbTester. I have never find anything similar that can help me with T-SQL performance tune up, so I wrote it by myself and I would like to share with you training about it. Solution itself uses Extended Events Sessions for monitoring and it works pretty well I think. Here you have ( downloads) for download and you can Continue ReadingBreakthrough DbTester Solution and Training

Simple Service Bus Training

Hi, today I prepared my first screencast trining on YouTube about the Simple Service Bus I made. It took me a lot of effort and it is just a start. If you like such content please share that information in comments. I would love to make more such videos in future. Here you can find ( downloads). Enjoy! p ;).

Performance Counter Logger

Hi, today I would like to share with you idea of the Performance Counter Logger. This tool is for logging performance counters values and it solves issues with built-in PerfMon in Windows that collect data only for some time window and cannot auto pause when process not working. So I wrote Performance Counter Logger to solve that issue. it is very small almost trivial tool which has 60 lines of C# code. Tool was created by me Continue ReadingPerformance Counter Logger

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 work is done right, but because of some reason you get timeouts or Continue ReadingParallelExecutorAspect in C#

The Best of All for Software Architects

Hi, I saw this talk several years ago and that completely change my view point of software architecture. The presentation was given by Juval Lowy, the best Software Architect I know, and cool thing about His Method is that He shares it on the Internet. When I saw it I realized I want to implement it in practice. He used WCF, I wrote SimpleServiceBus to deliver the same, but it took me 4 years, so it is Continue ReadingThe Best of All for Software Architects