Garry Pilkington


Application Developer
Liverpool, UK

Browse by Tags

All Tags » asp.net (RSS)
Multiple Strongly Typed Partial Views in MVC
Creating strongly typed views with the ASP.Net MVC framework is really easy, but what if you want to have multiple types on the same view? One way to achieve this is to create partial views for each type and creating a combined view model. Then the view...
Posted: Oct 20 2009, 09:29 AM by capgpilk | with 6 comment(s)
Filed under: , , ,
Unit Testing Videos
The Learn Visual Studio.net website has just published a new series on unit testing , covering an introduction to unit testing, using MSTest, and NUnit. These are always good sources of practical information to help you get up to speed on anything .net...
TempData and DropDownList in ASP.Net MVC
TempData Sometimes while developing web applications, you have a need to keep certain data between web requests. In asp.Net MVC you can use TempData which will keep hold of any values you pass to it for that request and the next request when it is then...
Posted: Sep 29 2009, 11:15 AM by capgpilk | with 6 comment(s)
Filed under: , ,
Code Snippet Plugin for Live Writer
For anybody who regularly displays code using Live Writer, then this plugin by Leo Vildosola is a must to check out. When ever I do a rebuild of any of my computers this has to go on and I always have trouble remembering where I found it. So here are...
Complex Types in the Entity Framework
In this post I will describe the process you need to go through to get a stored procedure to return a complex type in the Entity Framework. It is very easy in the Entity Framework to quickly create crud functions that will manipulate data in your tables...
Do you test your private methods?
There is ample discussion on the blogosphere as to why you should or shouldn't test your private methods.  In the 'NO camp' http://www.redhillconsulting.com.au/blogs/simon/archives/000119.html , http://www.lostechies.com/blogs/chad_myers/archive...
Why I prefer c# over VB
A couple of weeks back I was asked by a friend of a friend why I code in c# over VB. I didn’t give him a very good answer at the time as I just couldn’t pinpoint the reason. Since then I have had a real good think about it and have come to this conclusion...
Posted: Feb 11 2009, 01:52 PM by capgpilk | with 10 comment(s)
Filed under: , , ,
Quickly reading technical articles and books
There is so much information out there pertaining to our jobs, a lot comes in the form of articles and books. How do you get through all this information fast without loosing comprehension? Well this is my technique. I have used this since my university...
Singleton in action
I had one of those 'wow that's cool' moments last weekend. This sounds really sad and you may think that I need a life, but I was playing with the code for a basic singleton pattern found at:- http://www.dofactory.com/Patterns/PatternSingleton.aspx I...
Posted: Oct 28 2008, 02:11 PM by capgpilk | with no comments
Filed under: , , ,
Protect your job...perhaps by learning new tech goodies
It is in the news so much recently that there is no avoiding the fact we are either in or about to go in to a recession ( here in the UK that is ). There is already job losses in the tech industry, wether these losses were going to happen anyway, and...
More Posts Next page »