DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

mikeinmadison Subscribe to this feed
mikeinmadison
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends

Stories kicked by mikeinmadison
1
kicks
submitted by mikeinmadison 6 months, 5 days ago

mikeinmadison.wordpress.com — I began using a single-line postback check a while ago, and I think it’s better than using the usual block multi-line style. There are probably quite a few varying opinions about this, but my reasons for using the single-line (top) version include: 1. It’s easier to type and more readable 2. There is no reverse logic 3. It saves a line or two of code 4. It’s easier to comment out for debugging 5. The “Bunch of code” isn’t needlessly tabbed in read more...

Add a comment add a comment | category: | Views: 13
tags: | tag it

3
kicks
submitted by mikeinmadison 8 months, 20 days ago

mikeinmadison.wordpress.com — I recently needed to group by minutes (or seconds, or hours, or days) in a LINQ to SQL expression, and I found that there isn’t a round function built into the C# DateTime object. The following will round to the nearest second, minute, hour, or day. I stopped there because different months have different numbers of days (and I don’t need to group by months…) but it is easy enough to add months and years to the code. read more...

Add a comment add a comment | category: | Views: 30
tags: | tag it

2
kicks
submitted by mikeinmadison 10 months, 16 days ago

mikeinmadison.wordpress.com — There are many ways to create and consume code libraries for use in multiple web site projects within Visual Studio. One of the most popular options is to create a class library project and link to it from multiple web site solutions. A similar alternative is to place the binary dll files that are created when compiling a class library project into the bin directory of each web site solution you want to use it in, and reference it directly. While both of these methods work well (the first generally being the most practical) there are a few things that they cannot easily accomplish. read more...

Add a comment add a comment | category: | Views: 0
tags: | tag it

19
kicks
published 10 months, 17 days ago, submitted by mikeinmadison 10 months, 18 days ago

mikeinmadison.wordpress.com — VisualSVN is simply a front-end for the command line Subversion functions, just like TortoiseSVN. The difference between the two is that TortoiseSVN is a “add-in” for Windows and VisualSVN is an add-in for Visual Studio. read more...

Add a comment 4 comments | category: | Views: 35
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge