lukus7

Stories submitted by lukus7

Creating a Windows Phone 7 style loading animation(instantiate.co.nz)

submitted by lukus7lukus7(135) 9 months, 1 day ago

I show you how to create a Windows Phone style loading animation in Silverlight/WPF. read more...

1 comment |category: |Views: 56

tags: another

Writing Entity Framework queries using LINQPad(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 2 months ago

I describe using the LINQPad tool to write LINQ entity framework queries. The ORM may abstract you from writing SQL but the way your queries are executed by the SQL engine is as important as ever! read more...

add a comment |category: |Views: 7

tags: another

Contract first vs Code first WCF(www.instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 3 months ago

Reflections on Contract First WCF and if it is worth the extra effort. read more...

add a comment |category: |Views: 8

tags: another

Using the Windows timezone for Enterprise Library logging formatters.(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 7 months ago

A quick reminder on how to use the server timezone within Enterprise Library templates (the default is GMT time). read more...

add a comment |category: |Views: 3

tags: another

Regular expressions with MSBuild. Reading version numbers...(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 7 months ago

I show how I recently used the MSBuild community tasks and a regular expression to read version numbers out of the AssemblyInfo.cs file into MSBuild properties. read more...

1 comment |category: |Views: 303

tags: another

The template method pattern: processing WCF requests(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 8 months ago

I show how we recently used the template method pattern to encapsulate an algorithm and make a WCF message processor class closed for modification but open for extension. read more...

add a comment |category: |Views: 3

tags: another

Software quality - is it worth it?(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 9 months ago

Software quality is something that means different things to different people. I focus on why high internal software quality and good design is important and why developers should be calling this out more often to business and project sponsors. read more...

add a comment |category: |Views: 7

tags: another

Custom exceptions for recoverable errors(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 10 months ago

Why you should never throw new Exception(); My opinion on why you should always use custom a exception type if you are going to throw an exception. read more...

add a comment |category: |Views: 3

tags: another

The adapter pattern: abstracting camera hardware(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 11 months ago

I describe how I used the adapter design pattern to abstract away hardware implementation detail when interacting with a camera in a .net application. read more...

add a comment |category: |Views: 8

tags: another

Sending emails with attachments from CSV using PowerShell(instantiate.co.nz)

submitted by lukus7lukus7(135) 1 year, 11 months ago

I talk you through and provide for download a powershell script I wrote recently that parses a csv file containing names, email addresses and a path to an attachment. It uses the system.net.mail namespace to create and send a customised email with attachment to each record parsed from the csv file. The script also logs the successfully sent emails. read more...

add a comment |category: |Views: 7

tags: another

Writing maintainable code - encapsulate what varies(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years ago

How to use the object oriented software design principle "encapsulate what varies" to write maintainable, adaptable software. read more...

add a comment |category: |Views: 30

tags: another

3 reasons you should unit test your code and 2 poor reasons not to(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years ago

I find it interesting that unit testing hasn't become an industry standard, demanded practice. As somebody that resisted writing unit tests until I was pushed (read forced) into it, I can somewhat understand... read more...

add a comment |category: |Views: 25

tags: another

Automated builds and deployments with TeamCity and MSBuild(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years ago

I talk you through a build script I wrote recently using MSBuild and provide an example script for download. Then show how easy it is to get TeamCity to run it. read more...

add a comment |category: |Views: 59

tags: another

Creating a BlogEngine.NET theme(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years, 1 month ago

A quick tutorial for creating a BlogEngine.NET theme using standards compliant xhtml and css. read more...

add a comment |category: |Views: 12

tags: another

Agile development practices within a traditional sdlc(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years, 1 month ago

Agile development practices greatly improve quality and productivity. There are "agile" development practices that can be applied to any project independently of the project methodology. In this post I talk about a recent project and some of the development practices that worked really well for our team. read more...

add a comment |category: |Views: 8

tags: another

Creating a Background Worker in a Windows Forms application(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years, 2 months ago

this post outlines how to use a backgroundWorker to do a file upload in the background in a Windows Forms application read more...

add a comment |category: |Views: 18

tags: another