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 PuzzleGet Behind FirewallSolution

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 PuzzleGet Behind FirewallSolution

Code PuzzleGet 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 PuzzleGet Behind Firewall

PL Lotto le polelelopele a C # le 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 libuka Jeff Heaton bo mabapi netweke neural le C # le laebrari ea hae. That Continue ReadingPL Lotto le polelelopele a C # le Encog 3.3

Methaka Processing tšobotsi a Java

Hi, kajeno ke ile ka etsa koung ea methaka ea ka Processing tšobotsi a Java. Ke haholo a batla a fapaneng tšobotsi feta ke ile ka etsa tse neng a C #. C # ke ile ka etsa ntho eo ke ka botlalo nakoitaolo le a Java ke ile ka etsa tšobotsi etsang invocations kgokagantswe tsoang dikgwele ba bangata. Ke na le kelellong ea ka o sebelisa oa tšobotsi ena ho ho web kopo kapa ho web API kapa ho kengwa tshebetsong tšebeletso ea ho web hore na ee sa fetoleng boemo molaoli eo tšimo Ka mohlala ea bitsoang "batchProcessingAspect" 'me invokes Continue ReadingMethaka Processing tšobotsi a Java

Tutorial of MS SQL Extended Events in 7 T-SQL Steps

Hi, today I would like to show you how you can use Extended Events Sessions on SQL Server 2008 or above. Extended Event Sessions are future of monitoring of the SQL Server. From many years solutions that used SQL Profiler Traces or DMV were not always accurate and fast. DMV queries could be very fast. However it is impossible to get statistics only per one sessions from DMV. And that is why I want to show you Continue ReadingTutorial of MS SQL Extended Events in 7 T-SQL Steps

Protected: Upgrade for NextGen Dream PC

This content is password protected. To view it please enter your password below:

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! E leq ;).

Using of TextWriter by StringBuilder

Hi, today I want to share with you very simple idea of using correctly TextWriter class. You can imagine that TextWriter is created on the network stream solution in SOA (WCF), REST (WebAPI) or Web (ASP.NET) application. When you write to that stream very often you could have a lot of unnecessary round-trips between clients and server. But there is nice technique with StringBuilder I want to share with you in below tests. I think nothing more Continue ReadingUsing of TextWriter by StringBuilder

SQL Ninja gets Products from Group Tree CTE

Hi, today I want to show you comparison of 2 possible techniques fro get data about all Products mapped to the Product Groups tree. I wrote as usual one T-SQL script that you can run each time you want to modify something to recalculate your results and check how they perform in your SQL Server. There are 2 nice things you can get from provided example. First is 2 ways of calculation that you can choose from. Continue ReadingSQL Ninja gets Products from Group Tree CTE