alkampfer on March 30th, 2008

I have moved to a new computer this is a test post.
Alk.



kick it on DotNetKicks.com

Continue reading about Test post

alkampfer on March 27th, 2008

In previous post, I demonstrated how to change the content of a grid based on the content of a property of bound object, now I want to take that example further. In the old example I change the source of an image, but now I want to set a complete different template based on content, [...]



kick it on DotNetKicks.com

Continue reading about WPF Swap the entire content in a column based on content

alkampfer on March 26th, 2008

I’m moving the first serious steps on WPF trying to apply in real situation, the feeling is really good, and databinding and trigger are really exceptional. Suppose you have such a class

public class DataItem {
public String Name { get; set; }
public Boolean IsTrue { get; set; }
}

With [...]



kick it on DotNetKicks.com

Continue reading about First steps on WPF, listview with template based on data

alkampfer on March 21st, 2008

One of the most important characteristic of a test is readability, the test should be clear and its intent should be self evident. When working with domain object it is recurring to make test to assert that in some collection we have a fixed amount of objects with a given property equal to a given [...]



kick it on DotNetKicks.com

Continue reading about NUNIT and C# 3.5

I usually adopt a custom simple HttpModule to compress programmatically the page content in my asp.net applications.

Private Sub CompressRequest()

If ((String.IsNullOrEmpty(HttpContext.Current.Request.Headers("Accept-encoding")) = False) AndAlso _
(HttpContext.Current.Request.Headers("Accept-encoding").Contains("gzip") = True)) Then

[...]



kick it on DotNetKicks.com

Continue reading about A tale of Transfer-Encoding: chunked, microsoft ajax updatepanel and how to detect partial rendering in a httpmodule.