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

Batch Processing Aspect in Java

Hi, today I made port of my Batch Processing Aspect in Java. It is quite a bit different aspect than I made previously in C#. In C# I made something that is fully asynchronous and in Java I made aspect that does sync invocations from many threads. I have in my mind uses of this aspect to web application or web api or web service implementation that has static controller field for example named “batchProcessingAspect” and invokes Continue ReadingBatch Processing Aspect in Java

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#

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! 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

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

Multi Service Bus Project Launch

Hi, I started today Multi Service Bus (GIT repo) project. Already I have full C# implementation. And I will be working on other languages implementations. First on Java and than on C++. I have some ideas how to made this in Java, but overall I am not Java expert, only C# expert, so that may be a bit difficult at the beginning. But I will be working on this, even if I do not know how. Of Continue ReadingMulti Service Bus Project Launch