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
Dec 13
I’m working with some technical support stuff at my job and we are trying to make that
easy for the user and for us. Nothing better than having the possibility to the user send you the report bugs of the software, right? I’ve been thinking about what’s the best solution for that and e-mail beat every other solution.
So I’ve started playing with that in .Net (C#) and I’ve decided to write this tutorial: How to send an email using c#!
Hope you enjoy guys, let’s code.
Continue reading »
Tagged with: .NET • C# • E-MAIL • GMAIL
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 20
Everyone knows that Visual Studio can be such a great IDE, but sometimes you feel that something is missing.
It’s okay if you have to search for each file in Visual Solution when you have four…maybe five files, but things can go really bad when you have sixty…seventy files in your solution. It’s a lot of waste of time having to search file by file every time you need something. Then we all think: doesn’t Visual Studio have a quick open file? Something that make possible for me to search files by the name, like quick open from TextMate? No, unfortunately Visual Studio doesn’t come with that option, but happly we have a solution. I’ve trying to find that for six months or more, until I got that plugin: Quick Open for Visual Studio 2008.
That’s a complement developed for Visual Studio which makes possible the quick open file function. You press the keys and the window is going to open. You type the file’s name (or part of it) you want, find it, and then press “enter” to open it.
The installation is pretty simple, just download the component here @stJhimy’s github.
Continue reading »
Tagged with: C# • GIT • GITHUB • IDE • MICROSOFT • QUICK OPEN • TEXTMATE • Visual Studio