Browse by Tags
All Tags »
C# »
.NET (
RSS)
When I was first attracted to the Microsoft MVC Framework, one of my main ambitions was to develop using a more test driven approach. There are ways to include Unit testing with WebForms, but the friction was just too much to justify on the web projects...
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...
just recently I have been doing quite a bit of work with LINQ and L2S in particular. Although LINQ is nothing new now and I am sure the vast majority of readers out there have had some form of introduction to LINQ. However one of the great things that...
LINQ to XML is a simple toolset that allows developers to easily interact with XML, whether it be in file form of on the wire in string form. Write to an XML file There are a few methods within the System.Xml.Linq namespace which make this interaction...
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...
This morning I read a post by Davy Brion who was explaining a technique to test private methods. Although the post was interesting, it was a comment by Rafferty Uy that got me thinking. He suggests that you make your method protected instead of private...
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...
This is something I have come across during our SQL migration which I didn't even think about. You can zip up your bak files and save considerable hard drive space. We have a 14 gig database which happily compresses down to 2 gig. With hard drives coming...
Hello everyone in asp.net weblog land. Firstly can I say a big thanks to Joe for allowing us mere mortals in to this community. I am Garry Pilkington and I am an application developer in the UK. I work for a small oil recycling/transport company just...
More Posts