Geeks With Blogs
Chris Canal A Scottish .NET Developer May 2008 Entries
ASP.NET MVC ActionResult Helper
Recently I’ve been working a lot with the new ASP.NET MVC framework, with Preview 1 (bleh) and the interim drop, Pre-Preview 3? The ActionResult is a fantastic addition, making the framework far easier to test. However, I noticed I was basically doing the same thing for each test: [Test] public void TestSomething() { var actionResult = controllerUT.Something() as RenderViewResult; If ( actionResult == null ) Assert.Fail(“ActionResult was null.”); Assert.That(actionResult.Vi... Is.EqualTo(“ViewName”)); ......

Posted On Thursday, May 15, 2008 6:59 PM

Test First? Or is that new legacy code you just checked in?
Quote: ...legacy code is simply code without tests. - Working Effectivly with Legacy Code - Micheal Feathers I was discussing testing with a friend the other day, mainly Test Driven Development and we got onto the topic of new code without tests and retrofitting them. The first thing that popped into my head was the above quote and the following: Quote: Code without tests us bad code. It doesn't matter how well written it is; it doesn't matter how pretty or object-oriented or well-encapsulated it ......

Posted On Friday, May 9, 2008 3:33 PM

Developer Day Scotland - ALT.NET Open Spaces
I'm attending this weekends Developer Day Scotland in Glasgow and I'm trying to organise an ALT.NET meet/Open Spaces. I've left it really really late, but hopefully I'll be able to get something together. When I say "I'll", I'm hoping this will soon be "we'll". So, any other ALT.NETters attending DD and interested in having a short session? Colin, one of the organisers, has been kind enough to offer a room over lunch for it. If your attending and your not sure what ALT.NET is, feel free to join in, ......

Posted On Tuesday, May 6, 2008 4:40 PM

Professional ASP.NET 3.5: In C# and VB - £14 on Amazon.co.uk
As you may or may not have seen, a few people have been blogging about Professional ASP.NET 3.5: In C# and VB on Amazon.com being $16. Being in the UK, I thought I would check it out. Turns out its just as cheap: http://www.amazon.co.uk/Pro... I've just ordered mine :) ......

Posted On Tuesday, May 6, 2008 10:55 AM

SSIS Error: The task cannot run on this edition of Integration Services.
I'm trying to deploy an SSIS task onto a server and I'm getting the following error: The task "script task" cannot run on this edition of Integration Services. It requires a higher level edition The task in question is a Script Task and the SSIS package is loaded from the file system and executed with C#. It connects to a spreadsheet and retrieves the first worksheets name. It works fine locally but not on the server. The version of SQL Server installed is Enterprise Edition. I didn't write the package, ......

Posted On Thursday, May 1, 2008 2:56 PM

Copyright © Chris Canal | Powered by: GeeksWithBlogs.net