Chris Canal

A Scottish .NET Developer

  Home  |   Contact  |   Syndication    |   Login
  23 Posts | 0 Stories | 34 Comments | 0 Trackbacks

News

Twitter












Archives

Post Categories

May 2008 Entries

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”));...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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 :)...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati