Archives for November 2007

Nice ReSharper feature

This morning due to a modification error I made in a ReSharper Live Template I discovered a cool feature, see the following picture in which ReSharper shows you that you made a recursive call:

Continue reading

Business entity and C# extension methods

Nov 1, 2007

In place of writing something like:

protected string GetUrl(Information info)
{
    if (info is News)
        return ResolveUrl(string.Format("~/news.aspx/{0}", info.NormalizedTitle));
    else if (info is Publication)
        return ResolveUrl(string.Format("~/publications.aspx/{0}", info.NormalizedTitle));
    else
        return string.Empty;
}

Continue reading

Page 5 of 5