Archives

Archives / 2008 / January
  • Looking for WPF and WCF training courses

    Tags: .NET

    I am looking for a training course in WPF and WCF in the Bristol, Bath or Exeter areas of the UK, but I'm not having much luck in finding any.  I only seem to find them in London...anyone know of any?

    Thx

    more...

  • Knowledge nugget: the 'this' constructor clause

    Tags: .NET

    Knowledge nugget...catchy heh?!?

    I come across this some time ago and have since used it pretty heavily - its nothing new, but certainly a useful feature.

    Its used when overloading constructors in your classes, so you have for example...

        public class Foo
        {
            public Foo(string arg1)
            {
                // Implementation for arg1
            }
    
            public Foo(string arg1, string arg2)
                : this(arg1)
            { 
                // Implementation for arg2
            }
        }

    So the top constructor with one argument is called when using the second constructor, so you only need the implementation code for arg1 once.

    You can also do this when inheriting from another class...

        public class Bar : Foo
        {
            public Bar(string arg1, string arg2, string arg3)
                : base(arg1, arg2)
            { 
                // Implementaion for arg3
            }
        }

    This will call the constructor in the base called which will have the implementation to handle arg1 and arg2.

    Enjoy!

    more...

  • Bristol (UK) User Group: DotNetDevNet.com

    Tags: .NET, .NET 3.5, User Group

    dndn Last night was the first user group meeting of 2008, and it was my first meeting - I have blogged about it before, just being the socially inept loner that I am!!, I just haven't got round to going.

    The presentation was on Test Driven development TDD (Another post coming on that!) from a guy called Craig Murphy - this is a really interesting subject to me as we adopt TDD as best we can, it does however sometimes gives way to deadlines!! It was reassuring to see that we go about TDD in the right way (mostly).

    The talk on TDD overran some what so the second part of the talk, which was on FinalBuilder, was cut very short, to be honest this was not a bad thing - although Craig had no association with Vsoft it was a bit like a sales pitch...I think it would have been better to show a free, or at least cheap option...as already discussed on my blog I use CruiseControl, which although is a different product with far less features, is free and does build automation with MSBuild, Unit Tests and deployment just fine - well better than fine :)

    You can get the slides and source code for the TDD talk (he uses an apparently well known "Convert numbers to Roman numerals" example that I have never heard of, but was well suited to the demo!), its well worth a look as he introduces the fundamentals of building tests along side code, with a strong emphasis on refactoring as you go, once the tests are complete - more coming soon!

    Plug for Guy (the main organiser): Check the video for the user group on the homepage - next month is Daniel Moth on VS 2008 and .net 3.5 - see you there perhaps???

    more...

  • Master Plan

    Tags: MSc Software Engineering, Personal

    Having just finished my masters exams for semester 1, I am planning to blog a little more! I am only doing the masters part time over two years so a fair way to go yet but none the less, it's one of my points for being a better developer in done.

    The semester 1 modules of OO Design and development (Java and UML) and Software engineering concepts threw up some interesting hurdles, like Netbeans and Java (I hope to get back to learn more about Java, but perhaps away from Netbeans!), SE concepts really sparked of some new ways of thinking about software engineering, the process, the impact, the future. It was cool, I didn't think I would but I really got into that module...I recommend any self-starter developers(and anyone else!) to get some books on the concepts behind SE, it really gets you thinking. Ian Sommerville is the daddy and has written some of the most popular books on the subject...a quick Amazon search will bring up some results... http://www.amazon.co.uk/s/ref=nb_ss_w_h_?url=search-alias%3Daps&field-keywords=software+engineering

    Semester 2 brings another two modules, Component based software engineering and Advanced Databases. CBSE is going to be fun and certainly looking forward to, as we adopt this methodology at work, or at least try to within the uni's fairly constrained boundaries of understanding. Databases are a fact of life for any developer, love then or hate them, they are going to be part of the bread and butter of development for some time I think! So any more info that can be fed into my brain has got to be a plus! (I'm just concerned what's gonna fall out to make space!!)

    All this has restricted my extra-curricula projects, which has been a bit shit, but heh...be worth it in the end..right?!?

    Technorati Tags:

    more...