Geeks With Blogs
Chris Canal A Scottish .NET Developer development
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

New to Design Patterns?
Have all your Desgin Pattern woes solved and more: http://uncyclopedia.org/wik... As a general rule of thumb, keep in mind that your code instantly gets 270-890% better when using design patterns (unless, of course, you are programming in Perl or Assembly). Note also that design patterns let you score big time with the ladies at parties (unless you abuse Dependency Rejection pattern), increase the size of your member, make you a better driver, and level you directly to OT9. Made my ......

Posted On Wednesday, April 23, 2008 9:34 AM

Glasgow ALT.NET Meetup - 28th May
Looks like there is going to be a meetup on the 28th of May for the Scotland ALT.NET User Group. Unfortunately I might be on holiday so I won't be there! :( If your interesting in participating, check out the mailing list. Looks like it will be an informal meet up in Waxy O'Conner as a precursor to a more formal meetup. I'm keen on getting an Open Space conference going like what took place in Seattle at the weekend ......

Posted On Tuesday, April 22, 2008 11:15 AM

Glasgow ALT.NET User Group
My dev manager has decided he has had enough of the terrible level of development education in Glasgow, so he's wanting to start a Glasgow ALT.NET User Group. It's not a job requirement for me to join, so I'm there. If your in Scotland and you want to discuss ALT.NET with other Scotland based develoepers, be sure to sign up. He posted on Scottish Developers and you can sign up for the mailing list here: http://tech.groups.yahoo.co... ......

Posted On Monday, April 21, 2008 9:11 AM

WANTED: Glasgow based Trainee .NET Developer
Strictly no agencies. I mean it! If I get a single call or email I will NOT be polite. My employer is looking to hire a trainee .NET developer. No real previous .NET experience is required, but you must have a passion for development and the latest technology. You'll get the opportunity to learn and work with many practices and tools that fall under the ALT.NET banner: Agile Practices Test Driven Development Domain Driven Development Continuous Integration NHibernate Castle Binsor BOO Rhino .NET ......

Posted On Friday, April 18, 2008 11:51 AM

TeamCity and NUnit 2.4.7 *Updated*
If your on the ALT.NET mailing list, you probably seen the argument debate of the choice of CI Server. I've always used CC.NET, but decided to give TeamCity a whirl last night. Overall I'm impressed, but I'm having a problem running my tests. I'm using the latest build of NUnit (2.4.7) and Team City returns an error : Failure executing test(s). If you assembly is not built using NUnit version 2.4.6.0, then ensure you have redirected assembly bindings. Consult the documentation of the <nunit2> ......

Posted On Thursday, April 10, 2008 12:02 PM

Building Web Applications with Visual Studio 2008 Talk, Glasgow, 3rd Apr
I'm going, first one in a very loooong time. Anyone from Glasgow also going? There are prizes listed, but not how you win them... hmm... :) Get more information here: http://www.scottishdevelope... ......

Posted On Monday, March 31, 2008 3:39 PM

Problems building rhino-tools/Castle/NHibernate
I'm trying to build rhino-tools/Castle/NHibernate stack following the instructions here: http://davidgardiner.blogsp... but for the life of me I can't get it working! Whenever I try to build Castle, either using the modified build script from Dave or the ones supplied with Castle I get the following error: Warning as error: Invalid search path 'C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib' specified in 'LIB environment variable' -- 'The system ......

Posted On Saturday, March 29, 2008 8:16 PM

Resistance to TDD
I've been developing with Test Driven Development for awhile now (more in the form of Behavioural Driven Development) both in and outside of work. I've recently started a new job where TDD isn't used and I've been showing the other developers how I use it. If you have ever read a TDD book, you'll know every argument against TDD they have given to me: Adds too much time Not beneficial for the client Makes things complicated It's to be used by people, not machines Bad experience Adds too much time ......

Posted On Thursday, March 27, 2008 11:21 AM

Web Deployment Project for Visual Studio 2008

I've just downloaded the new release of WDP for 2008 and have noticed something, it seems to deploy the .csproj file and the csproj.user file. Is it supposed to do this? Seems a little strange to me.


Posted On Thursday, February 7, 2008 11:14 PM

Using Reflection in .ToString()...
I've being considering using reflection within a classes .ToString() method, something along the lines of this: public override string ToString() { StringBuilder toString = new StringBuilder(); PropertyInfo[] props = GetType().GetProperties(); foreach (PropertyInfo prop in props) { toString.AppendFormat("{0} : {1} || ", prop.Name, prop.GetValue(this, null)); } return toString.ToString(); } Is this smelly code ......

Posted On Monday, January 7, 2008 3:48 AM

Copyright © Chris Canal | Powered by: GeeksWithBlogs.net