Skip to content


Home working is Snow joke

Well it’s nearly a week and there seems to be no let up in this fine wintery weather. To be honest I’m not a fan off snow but I’m sure I like it a bit more than most commuters. Not because my commute is easy but because I just haven’t made it. I set out once last week and after doing 10 miles of my 30 mile journey in 3 hours. I turned round and spent another hour getting home. A similar approach was taken on Monday where I set off and after sliding off the road twice and being nearly hit by sliding cars a number of times. I made the choice to return home again.

Now you might think I’m soft or that I should try harder to make it into the office, there are others who have and to be honest I sort off agreed with u. Till this afternoon when I was having a quick talk to our Financial about me working “out of office”. He was pretty confident with my commitment and understood my situation buy asked that I provide details of the work I’ve achieved whilst out of the office. Now had I been in the office 9-5 this would never have been a question. What changes here? Am I only trust worthy in an office environment? Others have made comments about how come he can do it if we can’t? When I took my job I made arrangements for home working. I work from home out of hours regular as I love what I do and enjoy making sites etc.. Generally I’m one of the first in last out of the office and one of the last home. I rarely have a dinner but all off this goes unnoticed by others till some one gets special treatment then questions are asked.

Anyway when I started looking at writing the work I’d done down and working out what I’ve achieved I realised I’ve managed to bring to projects I’m working in forward one by a week and another by approximately 2 weeks. This just proves to me that my theory working from home is right.if I’d made the hard journey in I would have spent hours traipsing in more time complaining, more time checking weather reports and looking for alternate routes. So instead I stopped in the house got on with some work helped out with the boys and generally had a decent few days where I’ve been massively productive. But I still feel guilty? ? I’m still concerned about others calling me for not being in the office but why? Anyway rant over

Posted in Rants.

Tagged with , , .


Top tips for coding Html 5 with Visual Studio

With the release of MVC 3 RC, See ScottGu’s blog post and also the follow up as well as Brad Wilsons Post showing that the unobtrusive javasript side is a big part of Microsoft’s march towards web standards as well as taking into consideration the prowess of IE 9′s Html 5 capabilities Microsoft seem to be pushing in the right direction.  I’d started to look into Html 5 a while ago as the design guys seem to be really pushing this but as some one who works behind the corporate curtain we had some reservations with regards to Html 5 (more my colleague than myself) but after the latest release of MVC I’ve decided to have a big push towards it, so here are a few useful resources for the .NET guys wanting to get to grips with HTML 5, Hopefully this will grow as I look more into it but for now it may be pretty limited.

HTML 5

Article on Integrating Html5 forms with Visual Studio

http://weblogs.asp.net/rashid/archive/2010/10/21/integrate-html5-form-in-asp-net-mvc.aspx

Article on getting Html 5 support for Visual Studio 2010

http://www.raihaniqbal.net/blog/2010/08/html5-support-in-visual-studio-2010/

Html 5 Helpers for MVC

http://mvchtml5.codeplex.com/

Great walkthrough for coding up a site from scratch

http://www.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/

Guide to getting started with Html 5

http://benfrain.com/notepad/2010/07/beginners-guide-to-html5-what-you-need-to-know-and-how-to-use-it.html

More To Follow….

Posted in Dev For Noobs, HTML 5.

Tagged with , , , , .


Zipping in .net

Right this has to be a really simple thing and I’m sure loads of you have figured this about but for my own reference here goes. I tried the build in gzip and package etc with no luck then I stumbled upon dotnetzip. My life was saved. Great and simple to use lib that has good documentation and seems pretty solid The one issue I did have with it was simply solved by looking through the discussion boards.. Basically I had the entire file structure replicated in the zip so I would get /user/dir/path/file.exe in my zip the simple solution was to add “\\” to the add file method call. making the whole method call loook like:

private void CreateZp(string filePath, string outputPath)
{
    using (ZipFile zip = new ZipFile())
    {
          zip.AddFile(filePath, "\\");
          zip.Save(outputPath);
    }
}

Very simple and really quick ;) Just add the reference to the Ionic.Zip.dll and your away.

The whole think can be found on codeplex : http://dotnetzip.codeplex.com

Posted in Dev For Noobs, Useful Snippets.