Steven Smith: TechEd Speaker, ASP.NET MVP, ASPInsiders member, INETA Speaker, DevConnections Speaker, co-author of three ASP.NET books and numerous .NET articles. Currently interested in agile methodologies and performance.
Visual Studio
24 Aug 2010
Bug Solution to System.Core in VS2010 Projects
Steven Smith writes
"...I just ran into an odd issue with a VS2010 project. In my case it was an MVC 2 application I was upgrading from VS2008. One of the built-in controllers (ProfileController) was failing to compile because it could not resolve the Linq extension method symbols Single() and Matches(). These are located in the System.Core assembly. I checked my project references in Solution Explorer, and..."
Read post »
TechTalk
20 Aug 2010
Code Analysis Techniques
Steven Smith writes
"...The perspective of an outside authority can often uncover design decisions that represent “low hanging fruit” and can quickly and easily be adjusted to produce a much better solution. Sometimes the hard part really is just knowing where the problem is – after that fixing it is easy. That reminds me of a story I heard somewhere a long time ago, that I’ll wrap up with:..."
Read post »
Visual Studio
18 Aug 2010
Example Using Code Contracts in VS2010
Steven Smith writes
"...With the Code Contracts installed, you can start to use them in your code in place of things like guard clauses to ensure that a parameter is not null. The benefit of this approach is that you get a richer experience at design/development time and you can also ensure, via compilation errors, that certain things simply cannot occur in your application. Code Contracts uses..."
Read post »