IoC versus Bloated Constructors
IoC versus Bloated Constructors

IoC is great, but having bloated class constructors was offending me a little.  Anyhow after some soul searching I decided to abide by the following points going forward: Pretty much everything needed for an object to work should be injected via the constructor Constructor will clearly show you class responsibilities and dependencies Too many dependencies, hence overloaded with responsibilities ?  Then its time to [...]

By with 0 comments
My PSU Profile
My PSU Profile

Thanks to a little some Photoshop magic from Jermaine (and only a bit I’d like to add!) and perhaps a touch of cheese…!

By with 0 comments
Adding Web Services to VS2008 Class Libraries
Adding Web Services to VS2008 Class Libraries

A handy reminder when looking to add web services to class libraries… 1. Open the dialog for “Add Service Reference” 2. Hit “Advanced” 3. Hit “Add Web Reference” 4. Add your web reference location 5. Done deal.    

By with 0 comments
Even More ViewModel Escapades
Even More ViewModel Escapades

Design is key and at the moment as I try and architect the application I have taken some shortcuts in terms of deriving data from the database.  So we can move forward correctly we need to undo this (bad) work and re-implement a correct design.  So I spent last Friday night (exciting I know) looking at View Models agains and was [...]

By with 0 comments
Could not load file or assembly ‘XXX’ or one of its dependencies. An attempt was made to load a program with an incorrect format
Could not load file or assembly ‘XXX’ or one of its dependencies. An attempt was made to load a program with an incorrect format

I’ve been working on my Firebrick project at home and then checked out some changes at work, while I was configuring the project to work with the Local IIS and I kept getting this error. Not sure if I had done this by accident and or it was like that before, but the Build Configuration for my core web project [...]

By with 0 comments
On the job training
On the job training

Or really just a chance to test my new Android WordPress application via the Quick Photo option… Very neat if you ask me!

By with 0 comments
Inheritance
Inheritance

Together with Encapsulation and Polymorphism, Inheritance is considered one of the three primary characteristics of OOP. Inheritance lets you create new classes that reuse, extend or even modify behaviors that been defined in other classes.  A class that inherits another class is known as a derived class, whereas the inherited class is referred to as the base class.  You can only inherit [...]

By with 0 comments
Polymorphism
Polymorphism

Through the use of inheritance/implementation a class can be used as more than one type.  In that it can be used as its own type, any base type or even any interface type if implemented.  This is what we call Polymorphism (many shapes).  In theory every type in C# is polymorphic as they can be used as their own type or as [...]

By with 0 comments
Branch and Merge with Tortoise SVN
Branch and Merge with Tortoise SVN

Preparing to create a BRANCH Perform “SVN Update” to ensure the root folder in your Trunk has been updated. You need to be comfortable the Trunk is stable. Perform “SVN Commit” to ensure all local changes have been committed to the Trunk (that is if you have done any work directly on the Trunk). Creating a new BRANCH On project [...]

By with 0 comments
Bug Tracking via YouTrack 3
Bug Tracking via YouTrack 3

I’ve been looking for a decent (and free) bug tracking solution to use here at work for the last few weeks now. This week I stumbled across You Track 3 from Jet Brains. I feel this product being from Jet Brains in the first instance with a big bonus. I am a big fan of Re-Sharper (in fact I’m not [...]

By with 0 comments