alkampfer on April 30th, 2008

I like in C# not to have the open bracket in newline, it is not the default setting of Visual Studio but I was used to this scheme since I worked with C++ in linux, so I’m used with it. This is a “convention” and seems not to be so important…until you work in a [...]



kick it on DotNetKicks.com

Continue reading about The importance of "conventions"

alkampfer on April 30th, 2008

This morning I had a great surprise, I saw in feedburner 103 readers of my blog, it is really great for me to reach three digit count , it means that my blog interests some people. 103 is not such a great number, but thinking that in the world 100 person are interested in [...]



kick it on DotNetKicks.com

Continue reading about FeedBurner stats

alkampfer on April 30th, 2008

ASp.net 2.0 introduces datasource controls, such as SqlDataSource and ObjectDataSource, these controls work quite well, expecially the objectDataSource that permits you to bind to methods of a custom object. In an application of mine there is a user control that has a datagrid with custom logic, that data should be enclosed in different pages, and [...]



kick it on DotNetKicks.com

Continue reading about ASP.Net and custom parameter for datasource controls

alkampfer on April 29th, 2008

Log4Net is certainly one of the most important instrumentation library  for logging. Let’s see how to extend, writing a custom formatter for exceptions. Exceptions are important things to log, and it is important to log more information as possible, here is how can you write a simple class to log exception

public class ExceptionLayoutExtended : log4net.Layout.LayoutSkeleton [...]



kick it on DotNetKicks.com

Continue reading about Writing a custom formatter for log4net

alkampfer on April 29th, 2008

I was always astonished when I think to the evolution of pc. I’m 34 years old and my first pc was a 8086 with a 13” monitor with a resolution of 640×480=307.200 pixel.
Then I moved to a 14” monitor and I used to work mainly at 800×600 = 480.000 pixel, so I have 56% more [...]



kick it on DotNetKicks.com

Continue reading about Desktop Space