Feb 07
First of all, we need to understand the concept of pipelines and filters, Wikipedia says:
Pipeline (computing)
Instruction scheduling on the Intel Pentium 4.
In computing, a pipeline is a set of data processing elements connected in series, so that the output of one element is the input of the next one. The elements of a pipeline are often executed in parallel or in time-sliced fashion; in that case, some amount of buffer storage is often inserted between elements.
Filter (higher-order function)
In functional programming, filter is a higher-order function that processes a data structure (typically a list) in some order to produce a new data structure containing exactly those elements of the original data structure for which a given predicate returns the boolean value true.
Basically we can create a pipeline with filters resulting in some final product we want.
Let’s make it clear:
Continue reading »
Tagged with: .NET • C# • CODES • FILTERS • PIPELINES
Oct 25
For months I’ve been suffering with reports and .NET (C#), refusing to accept the idea: THERE’S NO BETTER WAY TO REPORT MY APPLICATIONS.
I tried almost everything, but the direct querys (pure SQL) still messing with me. Personally I don’t like that, pure SQL sounds ugly and, for me, it’s a bad practice.
Finally, I was just playing with some codes and I found the solution, a way to make my reports WITHOUT direct querys using just LINQ TO SQL and C#.
Continue reading »
Tagged with: .NET • C# • CODES • LINQ TO SQL • QUERIES • REPORTS • REPORTVIEWER • SQL
Oct 17

There will be a time in your life that independently of your age, IQ, experience with codes or your geek level, you will need to face a XML, and better yet, you will need to face a XSD which describes the entire XML.
So you think: What now? Should I just forget it? Turn on my Xbox 360 and play ’till death? The answer is: NO, just CALM down and let .NET and Microsoft SDKs make the hard job for you and see how .NET can show his power.
Let’s make the entire problem clear. First you have a valid XSD schema and you need to generate a valid XML following the same schema with some information’s that you have in your database or whatever you need.
Continue reading »
Tagged with: .NET • CODES • CONSOLE • ENTITIES • SDK • Visual Studio • XML • XSD