Sign in
|
Join
Patrick Steele's .NET Blog
Implements ICodeWithDotNet
This Blog
Home
Contact
About
Syndication
RSS
Atom
Search
Go
Tags
.NET
ActiveRecord
ASP.NET MVC
Blogging
CodeMash
Day of .NET
GANG
GiveCamp
LINQ
Log4Net
MonoRail
Project Euler
Ruby
Silverlight
SRT
Tablet PC
UnitTesting
Navigation
Home
Blogs
Archives
November 2009 (2)
October 2009 (3)
September 2009 (4)
August 2009 (4)
July 2009 (4)
June 2009 (4)
May 2009 (5)
April 2009 (5)
February 2009 (9)
January 2009 (6)
December 2008 (5)
November 2008 (8)
October 2008 (8)
September 2008 (7)
August 2008 (4)
July 2008 (4)
June 2008 (1)
May 2008 (6)
April 2008 (10)
February 2008 (1)
January 2008 (13)
November 2007 (1)
October 2007 (2)
September 2007 (11)
August 2007 (2)
July 2007 (3)
May 2007 (2)
March 2007 (11)
February 2007 (9)
January 2007 (33)
November 2006 (6)
October 2006 (3)
September 2006 (13)
August 2006 (3)
July 2006 (4)
June 2006 (1)
May 2006 (1)
April 2006 (2)
March 2006 (6)
February 2006 (4)
November 2005 (1)
October 2005 (2)
September 2005 (4)
August 2005 (1)
July 2005 (1)
June 2005 (2)
May 2005 (5)
April 2005 (6)
March 2005 (6)
February 2005 (7)
January 2005 (4)
December 2004 (11)
November 2004 (4)
September 2004 (15)
August 2004 (1)
July 2004 (4)
June 2004 (7)
May 2004 (7)
April 2004 (7)
March 2004 (5)
February 2004 (12)
January 2004 (11)
December 2003 (4)
November 2003 (2)
October 2003 (14)
September 2003 (16)
August 2003 (2)
July 2003 (13)
June 2003 (19)
May 2003 (11)
Published Articles
COM Interop Exposed
COM Interop Exposed - Part 2
Browse by Tags
All Tags
»
.NET
(
RSS
)
ActiveRecord
ASP.NET MVC
Blogging
CodeMash
Day of .NET
GANG
GiveCamp
LINQ
Log4Net
MonoRail
Project Euler
Ruby
Silverlight
UnitTesting
Monday, November 16, 2009 7:34 PM
CodeMash 2.0.1.0 REST Interfaces
This year's CodeMash website has two URI's that expose CodeMash Information: http://www.codemash.org/rest/sessions – All Session Information http://www.codemash.org/rest/speakers – All Speaker Information The main news feed is already exposed via RSS...
Posted by
PSteele
| with
no comments
Filed under:
.NET
,
CodeMash
Wednesday, November 04, 2009 11:38 AM
Using Windsor to inject dependencies into ASP.NET MVC ActionFilters
I'm using Windsor as my IoC container for an ASP.NET MVC application . To get dependency injection in my controllers, I'm using a slightly modified WindsorControllerFactory from Andre Loker's post earlier this year . It works great and allows...
Posted by
PSteele
|
3 comment(s)
Filed under:
.NET
,
ASP.NET MVC
Wednesday, October 07, 2009 12:41 PM
Extension Properties
A couple of weeks ago, a post I made about Strongly Typed Session Variables in ASP.NET led to some interesting comments and discussion. One of the comments asked "Why can't we just have extension properties…?". Now, Eric Lippert...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
Wednesday, October 07, 2009 11:27 AM
This isn't an error?
I just saw something odd in a diff before a check-in. Basically, I had a trailing comma in an object initializer: namespace ConsoleApplication1 { class Program { static void Main( string [] args) { var foo = new Foo { A = "A" , B = "B"...
Posted by
PSteele
|
7 comment(s)
Filed under:
.NET
Friday, October 02, 2009 5:41 PM
Unit Tests and Debug.Assert()
I recently found some code that had a couple of issues: There was a try/catch block that did a "catch(Exception e)". And no, it didn't rethrow the exception. See item #2. Inside the exception handler, it had the following code: catch...
Posted by
PSteele
|
4 comment(s)
Filed under:
.NET
,
UnitTesting
Saturday, September 26, 2009 2:26 PM
LINQ and Homework
My daughter asked me to check her homework today. One of the math problems was: A book has 352 pages. How many 4's were used to print all of the page numbers. She got 35. She explained how she arrived at that number and while her logic...
Posted by
PSteele
|
14 comment(s)
Filed under:
.NET
,
LINQ
Tuesday, September 22, 2009 11:46 AM
Strongly Typed Session Variables in ASP.NET MVC
This post was originally going to be a comment on Jarret@Work's blog post about " Using Extension Methods for Session Values ", but I decided to make a full blog post out of it. Jarret employed extension methods such Bar()/SetBar() and...
Posted by
PSteele
|
18 comment(s)
Filed under:
.NET
,
ASP.NET MVC
Tuesday, September 22, 2009 7:54 AM
Handy Extension Methods for ASP.NET MVC's UrlHelper
Mickael Chambaud posted three extension methods he created for UrlHelper: Image(), Stylesheet() and Script(). They make it pretty easy to keep your images, stylesheets and scripts organized in a single location – without the need for you to remember...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
ASP.NET MVC
Friday, August 28, 2009 5:41 PM
Enabling Windsor Integration in MonoRail
I recently wanted to take on old MonoRail application and update it to use Windsor for dependency injection (DI). The application stated as a sort of prototype and slowing grew into a decent sized application. There's a couple of places that...
Posted by
PSteele
|
1 comment(s)
Filed under:
.NET
,
MonoRail
,
UnitTesting
Sunday, August 23, 2009 6:37 PM
ASP.NET MVC + MVC Contrib + Unit Testing
One of the key benefits of the MVC (Model View Controller) pattern is a separation of concerns that leads to better testability. Microsoft recognizes this and will automatically create a separate MS Test project when creating a new ASP.NET MVC solution...
Posted by
PSteele
|
5 comment(s)
Filed under:
.NET
,
UnitTesting
,
ASP.NET MVC
More Posts
Next page »